Difference between revisions of "Template:Series"

From PCGamingWiki, the wiki about fixing PC games
(show different message if series page does not exist, added series vardefine)
(fixed vardefine position)
Line 1: Line 1:
<includeonly>{{#ifexist: Series:{{{1|}}}|{{Series:{{{1|}}}}}|{{ii}} ''No page found for series "{{{1|}}}", please <span class="plainlinks">[{{fullurl:Series:{{{1|}}}|action=edit&preload=PCGamingWiki:Sample_article/Series}} click here to create it]</span>.}}{{#vardefine:Series|{{{1|}}}}}[[Part of series::Series:{{{1|}}}| ]]</includeonly><noinclude>{{Documentation}}</noinclude>
+
<includeonly>{{#ifexist: Series:{{{1|}}}|{{#vardefine:Series|{{{1|}}}}}{{Series:{{{1|}}}}}|{{ii}} ''No page found for series "{{{1|}}}", please <span class="plainlinks">[{{fullurl:Series:{{{1|}}}|action=edit&preload=PCGamingWiki:Sample_article/Series}} click here to create it]</span>.}}[[Part of series::Series:{{{1|}}}| ]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 05:55, 13 June 2019

Documentation for the above template (sometimes hidden from view).

Series template deprecated

Note: April 15, 2020

The manual use of the series sidebar tag ({{Series}}) has been deprecated and is being replaced by a new row inside the infobox:

|taxonomy     =
{{Infobox game/row/taxonomy/series            | Deus Ex }}

Please check the Taxonomy project page for more information.

Using the taxonomy series row will automatically add an appropriate {{Series}} call below the infobox for the very first listed series (that actually has a series page) in the taxonomy row.