Template:ID: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(add |done and |cold variations)
m (add to utility templates category)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{1|}}}|done|
<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>
<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>
<noinclude><!--
[[Category:Identified]]}}
 
{{#ifeq:{{{1|}}}|cold|
{{{2}}} can be "done", "cold", or empty.
<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/>
{{{1}}} is a year.
More information is needed before returning it to the active ID requests.</div>
Greek letters Γ,Δ,Σ are added to the category sort key to separate completed, current, and finished requests, instead of just going under "I".
[[Category:Identification needed cold case]][[Category:Unidentified since {{{1|unknown year}}}]]}}
The "recent changes" list uses an inverted revision timestamp as the sort key. It does not include done/cold cases.
{{#ifeq:{{{1|}}}||
 
<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>
-->{{Documentation}}
[[Category:Identification needed]][[Category:Unidentified since {{{1|unknown year}}}]]
[[Category:Boobpedia utility templates]]</noinclude>
}}</includeonly>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 21:20, 17 June 2023

[edit] Template documentation

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.