Template:ID: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(use Σ to sort cold cases to bottom of list)
(creating a recent changes sorted category with the template)
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}}}]]}}</includeonly>
<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:100000000000000-{{REVISIONTIMESTAMP}}}}]]}}</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 05:50, 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.