Difference between revisions of "Template:Done"

From Nottinghack Wiki
Jump to navigation Jump to search
(rewrite done template ready for to do and not done)
(take two)
Line 1: Line 1:
[[File:Yes check.svg|18px|link=|alt=]]&nbsp;'''Done''' {{#if:{{{date|}}}{{{reason|}}}|<!-- condition if A or B --><!--
+
[[File:Yes check.svg|18px|link=|alt=]]&nbsp;'''Done'''<!--
 +
-->{{#if:{{{date|}}}{{{reason|}}}|<!-- condition if A or B --><!--
 
--><small>''(<!--
 
--><small>''(<!--
-->{{#if:{{{date|}}}|'''{{{date}}}'''}}<!--
+
  -->{{#if:{{{date|}}}|{{{date}}} }}<!--
  -->{{#if:{{{date|}}}|{{#if:{{{reason|}}}|&nbsp;-&nbsp;}} }}<!-- A and B
+
    -->{{#if:{{{date|}}}|{{#if:{{{reason|}}}|&nbsp;-&nbsp;}} }}<!-- A and B
  -->{{#if:{{{reason|}}}|({{{reason}}})''</small>}}<!--
+
    -->{{#if:{{{reason|}}}|{{{reason}}} }}<!--
-->}}<noinclude>
+
-->)''</small>}}<!--
 +
--><noinclude>
  
 
==Documentation==
 
==Documentation==

Revision as of 20:48, 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}}