Template:To do/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
(Fix examples so redlinks aren't generated)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Notice|It contains usage information, categories and other content that is not part of the original template page.|''NOTICE:'' This is a documentation subpage for [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}<br />
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->


This template adds a '''to do list'''. If you place this template, for example, on [[Movie sets]], then type in the to do items on a [[Talk:Movie sets/to do]] page, then this template will automatically display them.
The <kbd style="font-size: 1.15em; font-weight: 800;"><nowiki>{{</nowiki>[[Template:To do|To do]]<nowiki>}}</nowiki></kbd> template is a convenient way to leave situational thoughts about a page if you see something wrong or that should be changed on the wiki but don't have time to address it then or you don't feel comfortable editing the page yourself. Even if you do normally edit the wiki, this is a great way to remember what needs to be done. An apt comparison for this template would be to a Post-It note dispenser atop a file cabinet, it lets us have a non-permanent and unobstrusive to-do list for any given page on the wiki.


{{A 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.
== Usage ==
Asterisks (<code>*</code>) are used to create the individual entries for each to-do list item; remember, though, that the asterisk has to be the first character on a new line. Create a list item for every step in the process you think needs to be done. For example:
<div class="nowrap" style="background-color: #f8f9fa; border: 2px solid #a2a9b1; color: #000; display: block; font: 500 0.92rem/1.3 monospace; margin: 1em 1em 1em 2.5em; max-width: 67vmax; overflow-x: hidden; padding: 0.4em 1em;">
* Update screenshots
* The section on playlists is confusing and should be clearer
* this feature has changed due to this/these changes: [https://github.com/xbmc/xbmc/pull/15229 PR #15229: &lsqb;Android&rsqb; Properly overwrite ProcessInfo and use Deinterlace Half]
</div>


=== Usage ===
To see this template in use, visit '''[[HOW-TO talk:Help with quality assurance testing]]''' ''(click [show] to expose the full list)''.
<!-- Abstract usage of the template -->
* {{tlx|To do}} – the normal, default to do list
* {{tlx|To do|collapsed{{=}}yes}} – collapses the list
* {{tlx|To do|for{{=}}<nowiki>[[Wikipedia:WikiProject Foo|WikiProject Foo]]</nowiki>}} – allows alternate project name
* {{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|''N''}} – where <code>''N''</code> is a number from 1 to 9, defining its priority. (1 is the highest)
* {{tlx|To do|nocats{{=}}yes}} – doesn't include categories
* {{tlx|To do|nopreload{{=}}yes}} – doesn't include preloaded text
* {{tlx|To do|small{{=}}yes}} – formats the to do list as the 'small' version
* {{tlx|To do|target{{=}}Foo}} – uses the to do list of page <code>Foo</code> instead
** Use the {{para||target}} parameter for accessing another article's to do list, e.g., from a [[Wikipedia:WikiProject|WikiProject]] page (can be seen in action at [[WP:TBT]])


====Parameters====
=== Rationale ===
General parameters:
Most pages don't have the to do template already on them, so to add them you just click on the "edit" tab of the wiki page, create a new line at the top of the page and add {{Tlx|To do}} there, then click the 'Save changes' button. When the page reloads you'll see the template message there with a link to add new items, which should open a blank page where you can create your to-do list items that begin with the asterisks.
<pre>
{{To do
|collapsed=
|for=
|inner=
|list=
|nocats=
|nopreload=
|small=
|target=
}}</pre>


Parameters for use as a meta-template:
These lists will allow editors to maintain a better understanding of what work needs to be focused where and collaborate with each other on it. Being more organized makes the task of updating the wiki less overwhelming. These kinds of assessments and to-do lists have been wildly successful on other wikis, including Wikipedia. Don't thjnk of it as passing the task on to someone else, either; you're genuinely leaving the page in a better condition than you found it just by making note of what there is to do. There are lots of people who are happy to help edit pages but first need to have an idea of what should be done, and this template is one of the best tools we have for that. The lists also encourage new people to edit the wiki, as they can feel confident that they're addressing a genuine need, rather than wondering if they're having a positive impact.
<pre>
{{To do
...
|above=
|below=
|category=
|image=
|inner=
|smallfor= (if the |for= parameter should be displayed when small)
}}</pre>


=== Examples ===
=== Parameters ===
<!-- for the documentation don't subst the result -->
* {{Tlx|To do}} – the normal, default to do list
* {{tlx|To do}}
* {{Tlx|To do|2=inner=<var>Blah Blah Blah</var>}} – uses the contents of 'inner' as the to do list
{{To do|nocats=yes}}
* {{Tlx|To do|2=list={{#titleparts:{{FULLPAGENAME}}|1}}/TODO}} – uses the subpage <code>{{#titleparts:{{FULLPAGENAME}}|1}}/TODO</code> as the to do list, instead of subpage <code>{{#titleparts:{{FULLPAGENAME}}|1}}/to do</code>
{{-}}
* {{Tlx|To do|2=nocats=yes}} – doesn't add page to tracking categories for to-do tasks
* {{Tlx|To do|2=small=yes}} – formats the to do list using the 'small' format
* {{Tlx|To do|2=target=<var>Foo</var>}} – uses the to do list of page <code>Foo</code> instead
** Use the {{Para||target}} parameter for accessing another article's to do list.


* {{tlx|To do|9}}
=== Empty invocations ===
{{To do|nocats=yes|9}}
==== Basic parameters only ====
{{-}}
<div class="nowrap" style="background-color: #f8f9fa; border: 2px solid #a2a9b1; color: #000; display: block; font: 500 0.92rem/1.3 monospace; margin: 1em 1em 1em 2.5em; max-width: 15vmax; overflow-x: auto; padding: 0.4em 1em; white-space: pre;"><nowiki>{{To do
| for      =
| inner    =
| list    =
| nocats   =
| small    =  
| target  =
}}</nowiki></div>


* {{tlx|To do|small{{=}}yes}}
==== Meta-template parameters ====
{{To do|nocats=yes|small=yes}}
<div class="nowrap" style="background-color: #f8f9fa; border: 2px solid #a2a9b1; color: #000; display: block; font: 500 0.92rem/1.3 monospace; margin: 1em 1em 1em 2.5em; max-width: 40vmax; overflow-x: auto; padding: 0.4em 1em; white-space: pre;"><nowiki>{{To do
{{-}}
… <!-- All the parameters shown above are still valid in a meta-template -->
| above    =
| below    =  
| category =  
| image    =
| inner    =  
| smallfor = <!-- if the 'for' parameter should be displayed when small -->
}}</nowiki></div>


* {{tlx|To do|small{{=}}yes|9}}
=== Examples ===
{{To do|nocats=yes|small=yes|9}}
<!-- For the documentation, don't subst: the result -->
* {{Tlx|To do}}
{{To do|list=Template talk:To do/to do|nocats=yes}}
{{-}}
{{-}}


* {{tlx|To do|collapsed{{=}}yes|9}}
* {{Tlx|To do|2=small=yes}}
{{To do|nocats=yes|collapsed=yes|9}}
{{To do|small=yes|list=Template talk:To do/to do|nocats=yes}}
{{-}}
{{-}}


* {{tlx|To do|inner{{=}}<br><nowiki>
* {{Tlx|To do|2=inner=<br /><nowiki>
* To Prepare this article for FA status.</nowiki><br><nowiki>
* To Prepare this page for update.</nowiki><br /><nowiki>
* Addition of pictures and/or photographs to illustrate the relevant topics/sections.</nowiki><br>}}
* Update screen shots.</nowiki><br />}}
{{To do|nocats=yes|inner=
{{To do|nocats=yes|inner=
* To Prepare this article for FA status.
* To Prepare this page for update.
* Addition of pictures and/or photographs to illustrate the relevant topics/sections.
* Update screen shots.
}}
}}
{{-}}
{{-}}


* {{tlx|To do|list{{=}}./to do2}}
* {{Tlx|To do|2=list=HOW-TO talk:Help with quality assurance testing/to do}}
{{To do|nocats=yes|list=./to do2}}
{{To do|target=HOW-TO talk:Help with quality assurance testing|list=HOW-TO talk:Help with quality assurance testing/to do|nocats=yes}}
{{-}}
{{-}}


* {{tlx|To do|target{{=}}Talk:Britney Spears|1}}
* {{Tlx|To do|2=target=Movie sets}}
{{To do|nocats=yes|target=Talk:Britney Spears|1}}
{{To do|target=Movie sets|list=Template talk:To do/to do|nocats=yes}}
{{-}}
{{-}}


===See also===
== See also ==
* {{tl|tasks}}
* {{Tlx|Editor note}} - leave in-line notes for other wiki editors.<includeonly>
* Post-it templates
<!-- Categories go here. -->
** {{tl|post-it small}}
 
** {{tl|post-it medium}}
[[Category:Maintenance templates]]
** {{tl|post-it large}}
[[Category:Wiki templates]]</includeonly><noinclude>


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:To-do list templates|{{PAGENAME}}]]
[[Category:Talk header templates|{{PAGENAME}}]]


}}</includeonly>
[[Category:Template documentation pages]]</noinclude>

Latest revision as of 14:01, 13 September 2022

Emblem-important-yellow.png NOTICE: This is a documentation subpage for Template:To do:
It contains usage information, categories and other content that is not part of the original template page.


The {{To do}} template is a convenient way to leave situational thoughts about a page if you see something wrong or that should be changed on the wiki but don't have time to address it then or you don't feel comfortable editing the page yourself. Even if you do normally edit the wiki, this is a great way to remember what needs to be done. An apt comparison for this template would be to a Post-It note dispenser atop a file cabinet, it lets us have a non-permanent and unobstrusive to-do list for any given page on the wiki.

Usage

Asterisks (*) are used to create the individual entries for each to-do list item; remember, though, that the asterisk has to be the first character on a new line. Create a list item for every step in the process you think needs to be done. For example:

To see this template in use, visit HOW-TO talk:Help with quality assurance testing (click [show] to expose the full list).

Rationale

Most pages don't have the to do template already on them, so to add them you just click on the "edit" tab of the wiki page, create a new line at the top of the page and add {{To do}} there, then click the 'Save changes' button. When the page reloads you'll see the template message there with a link to add new items, which should open a blank page where you can create your to-do list items that begin with the asterisks.

These lists will allow editors to maintain a better understanding of what work needs to be focused where and collaborate with each other on it. Being more organized makes the task of updating the wiki less overwhelming. These kinds of assessments and to-do lists have been wildly successful on other wikis, including Wikipedia. Don't thjnk of it as passing the task on to someone else, either; you're genuinely leaving the page in a better condition than you found it just by making note of what there is to do. There are lots of people who are happy to help edit pages but first need to have an idea of what should be done, and this template is one of the best tools we have for that. The lists also encourage new people to edit the wiki, as they can feel confident that they're addressing a genuine need, rather than wondering if they're having a positive impact.

Parameters

  • {{To do}} – the normal, default to do list
  • {{To do|inner=Blah Blah Blah}} – uses the contents of 'inner' as the to do list
  • {{To do|list=Template:To do/TODO}} – uses the subpage Template:To do/TODO as the to do list, instead of subpage Template:To do/to do
  • {{To do|nocats=yes}} – doesn't add page to tracking categories for to-do tasks
  • {{To do|small=yes}} – formats the to do list using the 'small' format
  • {{To do|target=Foo}} – uses the to do list of page Foo instead
    • Use the |target parameter for accessing another article's to do list.

Empty invocations

Basic parameters only

{{To do | for = | inner = | list = | nocats = | small = | target = }}

Meta-template parameters

{{To do … <!-- All the parameters shown above are still valid in a meta-template --> | above = | below = | category = | image = | inner = | smallfor = <!-- if the 'for' parameter should be displayed when small --> }}

Examples



  • {{To do|inner=
    * To Prepare this page for update.
    * Update screen shots.
    }}


  • {{To do|list=HOW-TO talk:Help with quality assurance testing/to do}}


  • {{To do|target=Movie sets}}


See also

  • {{Editor note}} - leave in-line notes for other wiki editors.