Difference between revisions of "Template:Done"
Jump to navigation
Jump to search
(test) |
(unnamed 1st para) |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[File:Yes check.svg|18px|link=|alt=]] <!-- | + | [[File:Yes check.svg|18px|link=|alt=]] '''Done''' <!-- |
− | -->{{#if:{{{1|}}} <!-- | + | -->{{#if:{{{1|{{{date|}}} }}}{{{text|}}}|<!-- condition if A or B --><!-- |
− | + | --><small>''(<!-- | |
− | |<!-- | + | -->{{#if:{{{1|{{{date|}}} }}}|{{{1|{{{date|}}} }}} }}<!-- |
− | }} <!-- | + | -->{{#if:{{{1|{{{date|}}} }}}|{{#if:{{{text|}}}| - }} }}<!-- A and B |
− | -->{{#if:{{{ | + | -->{{#if:{{{text|}}}|{{{text}}} }}<!-- |
− | --> | + | -->)''</small>}}<!-- |
+ | --><noinclude> | ||
==Documentation== | ==Documentation== | ||
− | Provides a tick and bold '''Done'''. | + | Provides a tick and bold '''Done'''. It has optional date and text parameters. Examples: |
− | + | ===Examples=== | |
− | + | Simple no parameters. | |
− | |||
− | < | + | :<code><nowiki>Example task {{done}}</nowiki></code> |
− | {{done | ||
− | </ | ||
− | < | + | :Example task {{done}} |
− | {{done| | + | |
− | + | Expanded with parameters. | |
+ | |||
+ | :<code><nowiki>{{done|date=December 2018|text=Two members lost out of the airlock during repair.}}</nowiki></code> | ||
+ | |||
+ | :{{done|date=December 2018|text=Two members lost out of the airlock during repair.}} | ||
+ | |||
+ | ===Parameters=== | ||
+ | ;date | ||
+ | :Use either Month YYYY or DD/MM/YYYY date format. Also works as first parameter unnamed. | ||
+ | ;text | ||
+ | :Text note to be included. | ||
[[Category:Templates highlighting]] | [[Category:Templates highlighting]] | ||
</noinclude> | </noinclude> |
Latest revision as of 08:24, 25 February 2019
Done
Documentation
Provides a tick and bold Done. It has optional date and text parameters. Examples:
Examples
Simple no parameters.
Example task {{done}}
- Example task
Done
Expanded with parameters.
{{done|date=December 2018|text=Two members lost out of the airlock during repair.}}
Done (December 2018 - Two members lost out of the airlock during repair.)
Parameters
- date
- Use either Month YYYY or DD/MM/YYYY date format. Also works as first parameter unnamed.
- text
- Text note to be included.