Template:Done: Difference between revisions

From Nottinghack Wiki
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=]]&nbsp;'''{{{1|Done}}}'''{{{{{|safesubst:}}}#if:{{{2|{{{note|{{{reason|}}}}}}}}}|&#58; {{{2|{{{note|{{{reason}}}}}}}}}}} {{#if:{{{date|}}}|<small>''({{{date}}})&nbsp; ''</small>}}<noinclude>
[[File:Yes check.svg|18px|link=|alt=]]&nbsp;
{{#if:{{{1|}}} <!-- no text in first para -->
|
|<!-- then -->'''Done'''
|<!-- else -->'''{{{1}}}'''
}} '''
 
 
{{#if:{{{date|}}}|<small>''({{{date}}})&nbsp; ''</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 highlights]]
[[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