Template:Multi-referent ID: Difference between revisions

From Protospace Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>{{generic box|</noinclude>This number, <includeonly>'''{{PAGENAME}}'''</includeonly><noinclude>'''[number will appear here automatically]'''</noinclude>, is depreca...")
 
(added links to the wiki-ID project page and the category this template puts pages in)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{generic box|</noinclude>This number, <includeonly>'''{{PAGENAME}}'''</includeonly><noinclude>'''[number will appear here automatically]'''</noinclude>, is deprecated, because it was improperly assigned to more than one item, meaning it cannot uniquely refer to any of them. Those items, and their new numbers (if any) are below:
<noinclude>{{generic box|</noinclude>This number, <includeonly>'''{{PAGENAME}}'''</includeonly><noinclude>'''[number will appear here automatically]'''</noinclude>, is deprecated, because it was improperly assigned to more than one item, meaning it cannot uniquely refer to any of them. Those items, and their new numbers (if any), are below:
<includeonly>{{{1}}}</includeonly><noinclude>
<includeonly>{{{1}}}</includeonly><noinclude>
* [first item you list]
* [first item you list]
* [second item you list]
* [second item you list]
* …</noinclude>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:]]}}<noinclude>
* …</noinclude>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Wiki-ID numbers with multiple referents]]}}<noinclude>
}}
}}


This template is for making disambiguation pages for numbers that formerly referred to more than one item. Each item must be assigned a new number, and everything about it converted to that new number (on the wiki, at least). Then, this template replaces the redirect on the number page, providing a list of possible targets that someone who arrives there might want.
This template is for making disambiguation pages for [[0|wiki-ID numbers]] that formerly referred to more than one item. Each item must be assigned a new number, and everything about it converted to that new number (on the wiki, at least). Then, this template replaces the redirect on the number page, providing a list of possible targets that someone who arrives there might want.


Use it like so:
Use it like so:
Line 17: Line 17:
</nowiki></pre>
</nowiki></pre>


This template will also auto-categorize its page in [[:Category:]].
This template will also auto-categorize its page in [[:Category:Wiki-ID numbers with multiple referents]].
</noinclude>
</noinclude>

Latest revision as of 08:10, 25 November 2021

This number, [number will appear here automatically], is deprecated, because it was improperly assigned to more than one item, meaning it cannot uniquely refer to any of them. Those items, and their new numbers (if any), are below:
  • [first item you list]
  • [second item you list]


This template is for making disambiguation pages for wiki-ID numbers that formerly referred to more than one item. Each item must be assigned a new number, and everything about it converted to that new number (on the wiki, at least). Then, this template replaces the redirect on the number page, providing a list of possible targets that someone who arrives there might want.

Use it like so:

{{multi-referent ID|
* [description of first item that once had this number], now [new number as a link]
* [description of second item that once had this number, linked if it has no new number yet]
}}

This template will also auto-categorize its page in Category:Wiki-ID numbers with multiple referents.