Template:ID: Difference between revisions
Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(creating a recent changes sorted category with the template) |
m (add to utility templates category) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{2|}}}|done|<div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ececf4; padding: 5px;">'''Completed ID request''' from: {{{1|unknown year}}}.</div>[[Category:Identified]]}}{{#ifeq:{{{2|}}}|cold|<div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #f4ecec; padding: 5px;">'''Cold ID request''' from: {{{1|unknown year}}}<br/>More information is needed before returning it to the active ID requests.</div>[[Category:Identification needed cold case]][[Category:Unidentified since {{{1|unknown year}}}|Σ{{PAGENAME}}]]}}{{#ifeq:{{{2|}}}||<div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 5px;">'''ID request''' from: {{{1|unknown year}}}</div>[[Category:Identification needed]][[Category:Unidentified since {{{1|unknown year}}}]][[Category:Identification needed recent changes|{{#expr: | <includeonly>{{#ifeq:{{{2|}}}|done|<div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ececf4; padding: 5px;">'''Completed ID request''' from: {{{1|unknown year}}}.</div>[[Category:Identified|Γ{{PAGENAME}}]]}}{{#ifeq:{{{2|}}}|cold|<div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #f4ecec; padding: 5px;">'''Cold ID request''' from: {{{1|unknown year}}}<br/>More information is needed before returning it to the active ID requests.</div>[[Category:Identification needed cold case|Σ{{PAGENAME}}]][[Category:Unidentified since {{{1|unknown year}}}|Σ{{PAGENAME}}]]}}{{#ifeq:{{{2|}}}||<div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 5px;">'''ID request''' from: {{{1|unknown year}}}</div>[[Category:Identification needed|Δ{{PAGENAME}}]][[Category:Unidentified since {{{1|unknown year}}}|Δ{{PAGENAME}}]][[Category:Identification needed recent changes|Δ{{#expr:1000000000000000-{{REVISIONTIMESTAMP}}}}]]}}</includeonly> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude><!-- | ||
{{{2}}} can be "done", "cold", or empty. | |||
{{{1}}} is a year. | |||
Greek letters Γ,Δ,Σ are added to the category sort key to separate completed, current, and finished requests, instead of just going under "I". | |||
The "recent changes" list uses an inverted revision timestamp as the sort key. It does not include done/cold cases. | |||
-->{{Documentation}} | |||
[[Category:Boobpedia utility templates]]</noinclude> | |||
Latest revision as of 21:20, 17 June 2023
[edit]
Template documentation
- This documentation is transcluded from Template:ID/doc. (edit | history)
A template for adding pages to the Category:Identification needed list with associated year.
This also generates a sorted list: Category:Identification needed recent changes
Usage
Place at the top of an ID request article with the year as a parameter like this, with the current year:
{{ID|2008}}
When completed, add a third parameter of done. If information is missing and it can't proceed, add instead cold.
{{ID|2008|done}}{{ID|2008|cold}}
The first version automatically adds to the Identification needed category, and an associated by-year subcategory.
The "done" version moves it to Category:Identified and removes it from the by-year subcategory.
The "cold" version moves it to the Category:Identification needed cold case category, and sorts it to the bottom of the by-year list.