Difference between revisions of "Template:Done"

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

Latest revision as of 19: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