Difference between revisions of "Template:Done"
Jump to navigation
Jump to search
(Copyright notice: Modified from https://en.wikipedia.org/wiki/Template:Done) |
(comments for mediawiki if statements) |
||
Line 1: | Line 1: | ||
− | [[File:Yes check.svg|18px|link=|alt=]] | + | [[File:Yes check.svg|18px|link=|alt=]] |
+ | {{#if:{{{1|}}} <!-- no text in first para --> | ||
+ | | | ||
+ | |<!-- then -->'''Done''' | ||
+ | |<!-- else -->'''{{{1}}}''' | ||
+ | }} ''' | ||
+ | |||
+ | |||
+ | {{#if:{{{date|}}}|<small>''({{{date}}}) ''</small>}}<!-- | ||
+ | --><noinclude> | ||
+ | |||
==Documentation== | ==Documentation== | ||
− | Provide a tick and bold '''Done'''. Can to be use before text of the thing that has been done. Has optional date parameter. | + | Provide a tick and bold '''Done'''. Can to be use before text of the thing that has been done. Has optional date parameter. Examples: |
<pre> | <pre> | ||
Line 15: | Line 25: | ||
</pre> | </pre> | ||
− | [[Category:Templates | + | [[Category:Templates highlight]] |
</noinclude> | </noinclude> | ||
+ | |||
+ | {{#if:{{{1|}}}|You entered text in variable 1|There is no text in variable 1 }} |
Revision as of 14:00, 20 December 2018
Done
Documentation
Provide a tick and bold Done. Can to be use before text of the thing that has been done. Has optional date parameter. Examples:
{{done}}
{{done|date=December 2018}}
{{done|Message}}
There is no text in variable 1