Template:TODO: Difference between revisions

    From KDE TechBase
    (Modifications to make template work well with neverland)
    (adding where used)
     
    (One intermediate revision by one other user 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>
    {{Box1|2=TODO|3=[[Image:Action_todo.svg|noframe|left|40px]]|1={{{1}}} }}
    <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
    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.