Template:TODO: Difference between revisions

    From KDE TechBase
    (Modifications to make template work well with neverland)
    No edit summary
    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.
     
    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>
    {{Box1|2=TODO|3=[[Image:Action_todo.svg|noframe|left|40px]]|1={{{1}}} }}
    <noinclude>
    ----
    Included content ends
    [[Category:Template]]
    [[Category:Template]]
    </noinclude>
    </noinclude>

    Revision as of 16:35, 10 March 2016

    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.

    Example:

    {{TODO|update this information}}
    noframe
    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.