Template:ID: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(add |done and |cold variations)
(fix second parameter)
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>
<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]]}}
[[Category:Identified]]}}
{{#ifeq:{{{1|}}}|cold|
{{#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/>
<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>
More information is needed before returning it to the active ID requests.</div>
[[Category:Identification needed cold case]][[Category:Unidentified since {{{1|unknown year}}}]]}}
[[Category:Identification needed cold case]][[Category:Unidentified since {{{1|unknown year}}}]]}}
{{#ifeq:{{{1|}}}||
{{#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>
<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]][[Category:Unidentified since {{{1|unknown year}}}]]
}}</includeonly>
}}</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

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