Difference between revisions of "Template:To do"
Jessietail (talk | contribs) m |
Jessietail (talk | contribs) m (nah it looks worse) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 35: | Line 35: | ||
}} | }} | ||
<includeonly>{{ | <includeonly>{{ | ||
#ifeq: {{{nocats}}} | yes | | {{{category|[[Category: | #ifeq: {{{nocats}}} | yes | | {{{category|[[Category:RRUKB to-do lists|{{PAGENAME}}]]}}}{{ | ||
#if: {{{inner|}}} | | {{ | #if: {{{inner|}}} | | {{ | ||
#ifexist: {{#rel2abs:{{{list|./to do}}}|{{{target|}}}}} | | {{#switch:{{NAMESPACE}} | #ifexist: {{#rel2abs:{{{list|./to do}}}|{{{target|}}}}} | | {{#switch:{{NAMESPACE}} | ||
|{{ns:2}} | |{{ns:2}} | ||
|{{ns:3}}= | |{{ns:3}}= | ||
|#default=[[Category: | |#default=[[Category:RRUKB to-do lists, unused]] | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
}}</includeonly>}}<noinclude> | }}</includeonly>}}<noinclude> | ||
== Usage == | ==Usage instructions== | ||
This template adds a [[RRU Knowledge Base:To-do list|'''to-do list''']] to a ''talk page''. Once it has been added, click the edit button to add a to-do list to a <code>./to do</code> sub-page of the talk page. The talk page will then be listed in [[:Category:RRUKB to-do lists]]. | |||
Note: Please do not spam this template speculatively to talk pages, as it should only be added when editors are actually going to use it. Unused templates may be removed by any editor without warning. Empty lists will appear in [[:Category:RRUKB to-do lists, unused]]; once everything in the list has been completed, please delete the template and the <code>./to do</code> page. | |||
Examples of this include: | |||
*On an article when a specific section of it needs additional work or information | *On an article when a specific section of it needs additional work or information | ||
*On a category when many or all pages under it need a specific, similar sort of work done on them | *On a category when many or all pages under it need a specific, similar sort of work done on them | ||
*On an image if it needs better editing or a better version uploaded | *On an image if it needs better editing or a better version uploaded | ||
Once the template has been added, the page will be listed in [[:Category: | Once the template has been added, the page will be listed in [[:Category:RRUKB to-do lists]]. | ||
===Parameters=== | |||
* {{Tlx|To do|inner{{=}}Blah Blah Blah}} – uses the contents of 'inner' as the to do list | |||
* {{Tlx|To do|list{{=}}./TODO}} – uses the subpage <code>./TODO</code> as the to do list, instead of subpage <code>./to do</code> | |||
* {{Tlx|To do|nocats{{=}}yes}} – doesn't include the page in any categories | |||
* {{Tlx|To do|small{{=}}yes}} – formats the to do list as the 'small' version (don't do this) | |||
* {{Tlx|To do|target{{=}}Baz}} – uses the to do list of page <code>Baz</code> instead | |||
[[Category: | [[Category:RRUKB maintenance templates]]</noinclude> |
Latest revision as of 00:06, 19 April 2018
To-do list for Template:To do:
- This is just a test to-do list to help editors make sure that the text
- shows
- up
- correctly
- Normally, the "/to do" subpage should only be created under the article's Talk page, unless it is a notice board or project page.
- To use this template for an article, insert {{to do}} at the top of that article's Talk discussion page. To use it for a project or as your own personal list, add it to the project page or your user page, respectively.
Please remove tasks from the above list as they are completed.
Usage instructions
This template adds a to-do list to a talk page. Once it has been added, click the edit button to add a to-do list to a ./to do
sub-page of the talk page. The talk page will then be listed in Category:RRUKB to-do lists.
Note: Please do not spam this template speculatively to talk pages, as it should only be added when editors are actually going to use it. Unused templates may be removed by any editor without warning. Empty lists will appear in Category:RRUKB to-do lists, unused; once everything in the list has been completed, please delete the template and the ./to do
page.
Examples of this include:
- On an article when a specific section of it needs additional work or information
- On a category when many or all pages under it need a specific, similar sort of work done on them
- On an image if it needs better editing or a better version uploaded
Once the template has been added, the page will be listed in Category:RRUKB to-do lists.
Parameters
{{To do|inner=Blah Blah Blah}}
– uses the contents of 'inner' as the to do list{{To do|list=./TODO}}
– uses the subpage./TODO
as the to do list, instead of subpage./to do
{{To do|nocats=yes}}
– doesn't include the page in any categories{{To do|small=yes}}
– formats the to do list as the 'small' version (don't do this){{To do|target=Baz}}
– uses the to do list of pageBaz
instead