Open main menu

Difference between revisions of "Template:Done"

(removing newlines)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:Checkmark.png|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 20:19, 15 September 2016

Done

Intent

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

Usage

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