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)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If you see something wrong or that should be changed on the wiki, but you don't have time or you don't feel comfortable editing the page yourself, we have a new tool, a '''{{tlx|to do}}''' template. Even if you do normally edit the wiki, this is a great way to remember what needs to be done if you can't do it right away.
{{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 />


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.


This template basically lets us have a to-do list for any given page on the wiki, and the only formatting you need to know is this:
== 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;">
Asterisks (*) are used to create bullet points for each to-do item. Just make sure that the asterisk is the first character on a new line. Then just type in what you think needs to be done. For example:
<pre>
* Update screenshots
* Update screenshots
* The section on playlists is confusing and should be clearer
* The section on playlists is confusing and should be clearer
* this feature has changed with http://github.whatever/link/to/PR
* 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]
</pre>
</div>
etc.
 
For example, see the to-do list on '''[[Remote controls]]''' ''(click [show] to expose the full list)''. You can be as specific or as general as you want in the to-do items.
 


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 and type in "{{tlx|to do}}" at the top of the page, then save. The template will then tell you to click on a link to add new items, which should bring you to a blank page where you put in the lines with the asterisks.
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 {{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.


These lists will allow editors to have a better understanding of what work needs to be focused where. Being more organized like this actually makes the task of updating the wiki feel less overwhelming. These kinds of assessments and to-do lists have been wildly successful on other wikis, including Wikipedia. Even if you feel like it's passing the task on to someone else, don't feel that way. Editing the wiki is a chore for some people, but there are lots of people who are happy to do this, but we just need to know and organize what needs to be done, and step one of that is the to-do template. To the wiki users, the chore is finding out what needs to be done, so we're basically helping each other out. The lists also encourage more people to edit the wiki, as they can more plainly see what needs to be done, rather than guessing.
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.


=== Usage ===
=== Parameters ===
<!-- Abstract usage of the template -->
* {{Tlx|To do}} – the normal, default to do list
* {{tlx|To do}} – the normal, default to do list
* {{Tlx|To do|2=inner=<var>Blah Blah Blah</var>}} – uses the contents of 'inner' as the to do list
* {{tlx|To do|inner{{=}}Blah Blah Blah}} – uses the contents of 'inner' as the to do list
* {{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|list{{=}}./TODO}} – uses the subpage <code>./TODO</code> as the to do list, instead of subpage <code>./to do</code>
* {{Tlx|To do|2=nocats=yes}} – doesn't add page to tracking categories for to-do tasks
* {{tlx|To do|nocats{{=}}yes}} – doesn't include categories
* {{Tlx|To do|2=small=yes}} – formats the to do list using the 'small' format
* {{tlx|To do|small{{=}}yes}} – formats the to do list as the 'small' version
* {{Tlx|To do|2=target=<var>Foo</var>}} – uses the to do list of page <code>Foo</code> instead
* {{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.
** Use the {{para||target}} parameter for accessing another article's to do list.


====Parameters====
=== Empty invocations ===
General parameters:
==== Basic parameters only ====
<pre>
<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
{{To do
| for     =  
|for=
| inner   =  
|inner=
| list     =  
|list=
| nocats   =  
|nocats=
| small   =  
|small=
| target   =  
|target=
}}</nowiki></div>
}}</pre>


Parameters for use as a meta-template:
==== Meta-template parameters ====
<pre>
<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
{{To do
… <!-- All the parameters shown above are still valid in a meta-template -->
...
| above   =  
|above=
| below   =  
|below=
| category =  
|category=
| image   =  
|image=
| inner   =  
|inner=
| smallfor = <!-- if the 'for' parameter should be displayed when small -->
|smallfor= (if the |for= parameter should be displayed when small)
}}</nowiki></div>
}}</pre>


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


* {{tlx|To do|small{{=}}yes}}
* {{Tlx|To do|2=small=yes}}
{{To do|nocats=yes|small=yes}}
{{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 page for update.</nowiki><br><nowiki>
* To Prepare this page for update.</nowiki><br /><nowiki>
* Update screen shots.</nowiki><br>}}
* Update screen shots.</nowiki><br />}}
{{To do|nocats=yes|inner=
{{To do|nocats=yes|inner=
* To Prepare this page for update.
* To Prepare this page for update.
Line 74: Line 68:
{{-}}
{{-}}


* {{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{{=}}Movie sets}}
* {{Tlx|To do|2=target=Movie sets}}
{{To do|nocats=yes|target=Movie sets}}
{{To do|target=Movie sets|list=Template talk:To do/to do|nocats=yes}}
{{-}}
{{-}}


== See also ==
== See also ==
* {{tlx|Editor note}} - for in-line notes for wiki editors.
* {{Tlx|Editor note}} - leave in-line notes for other wiki editors.<includeonly>
<!-- Categories go here. -->


<includeonly>
[[Category:Maintenance templates]]
[[Category:Maintenance templates]]
</includeonly>
[[Category:Wiki templates]]</includeonly><noinclude>
 
 
[[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.