Difference between revisions of "Template:TODO"

(New page: <noinclude> {{Template}} Included content begins ---- </noinclude> {{Box|TODO|2=noframe|left|40px{{{1}}} <div class="clear"></div> }} <noinclude> ---- Included c...)
 
(adding where used)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly>{{Box1|2=TODO|3=[[Image:Action_todo.svg|noframe|left|40px]]|1={{{1}}} }}{{#ifeq:{{FULLPAGENAME}}|Template:TODO||[[Category:Needs Attention]]}}</includeonly><noinclude>
{{Template}}
+
This template will add a TODO box to a page, and add it to [[:Category:Needs Attention]]. It takes a single argument, which is the content of the TODO. It is used to reserve sections which contents is not yet available and will be filled later.
 +
 
 +
Example: {{Input|1=<nowiki>{{TODO|update this information}}</nowiki>}}
 +
{{TODO|update this information}}
 +
 
 +
Note that you may need to use <code>1=</code> in the argument, like <code><nowiki>{{TODO|1=some text}}</nowiki></code>, if the text you write contains an = character.
  
Included content begins
 
----
 
</noinclude>
 
{{Box|TODO|2=[[Image:Action_todo.svg|noframe|left|40px]]{{{1}}} <div class="clear"></div> }}
 
<noinclude>
 
----
 
Included content ends
 
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:01, 18 May 2019

This template will add a TODO box to a page, and add it to Category:Needs Attention. It takes a single argument, which is the content of the TODO. It is used to reserve sections which contents is not yet available and will be filled later.

Example:

{{TODO|update this information}}
noframe
 
TODO
update this information

Note that you may need to use 1= in the argument, like {{TODO|1=some text}}, if the text you write contains an = character.


This page was last edited on 18 May 2019, at 12:01. Content is available under Creative Commons License SA 4.0 unless otherwise noted.