Difference between revisions of "Template:Done"

From Freephile Wiki
Jump to navigation Jump to search
m (correct syntax)
 
Line 1: Line 1:
[[Image:Dialog-ok-apply.svg|16px|frameless]]<noinclude>
+
[[File:Dialog-ok-apply.svg|16px|frameless|Done]]<noinclude>
 
== Intent ==
 
== Intent ==
Using this template is a shortcut to inserting a checkmark next to an item in a list
+
Using this template is a shortcut to inserting a graphic green checkmark next to an item in a list
 
== Usage ==
 
== Usage ==
just insert the template tag like so
+
This markup
 
<pre>
 
<pre>
 
To Do:
 
To Do:
 
* {{Done}} wake up
 
* {{Done}} wake up
* brush teeth
+
* {{In Progress}} brush teeth
 
</pre>
 
</pre>
wherever you want the "Done marker" to appear.  Note that the template macro should be placed ''after'' the list item marker
+
yields
 +
* {{Done}} wake up
 +
* {{In Progress}}brush teeth
 +
 
 +
Note that the template macro should be placed ''after'' the list item marker
 
</noinclude>
 
</noinclude>
  
 
[[Category:Project templates]]
 
[[Category:Project templates]]

Latest revision as of 20:19, 15 September 2016

Done

Intent[edit source]

Using this template is a shortcut to inserting a graphic green checkmark next to an item in a list

Usage[edit source]

This markup

To Do:
* {{Done}} wake up
* {{In Progress}} brush teeth

yields

  • Done wake up
  • In Progressbrush teeth

Note that the template macro should be placed after the list item marker