Template:Done: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
rewrite done template ready for to do and not done
Line 1: Line 1:
[[File:Yes check.svg|18px|link=|alt=]]&nbsp;<!--
[[File:Yes check.svg|18px|link=|alt=]]&nbsp;'''Done''' {{#if:{{{date|}}}{{{reason|}}}|<!-- condition if A or B --><!--
-->{{#if:{{{1|}}} <!-- no text in first parameter -->|<!-- else --> '''{{{1}}}'''| <!--then--> '''Done'''}}&nbsp; <!--
--><small>''(<!--
-->{{#if:{{{date|}}}|<small>''({{{date}}})&nbsp; ''</small>}}<!--
-->{{#if:{{{date|}}}|'''{{{date}}}'''}}<!--
--><noinclude>
  -->{{#if:{{{date|}}}|{{#if:{{{reason|}}}|&nbsp;-&nbsp;}} }}<!-- A and B
  -->{{#if:{{{reason|}}}|({{{reason}}})''</small>}}<!--
-->}}<noinclude>


==Documentation==
==Documentation==
Line 8: Line 10:


<pre>
<pre>
{{done}}
{{done|date=December 2018|reason}}
</pre>
 
<pre>
{{done|date=December 2018}}
</pre>
</pre>



Revision as of 20:42, 14 February 2019

 Done

Documentation

Provides a tick and bold Done. Can to be use before text of the thing that has been done. Has optional date parameter. Examples:

{{done|date=December 2018|reason}}
{{done|Message}}