Difference between revisions of "Template:Infobox game/row/taxonomy/series"

From PCGamingWiki, the wiki about fixing PC games
m (d)
m (publishing the new version that handles sidebarSeries publication)
Line 2: Line 2:
 
<td class="template-infobox-type">Series</td>
 
<td class="template-infobox-type">Series</td>
 
<td class="template-infobox-info">{{#vardefineecho:series| {{#arraymap: {{{1}}} | , | €€€€€ | {{#ifexist: Series:€€€€€
 
<td class="template-infobox-info">{{#vardefineecho:series| {{#arraymap: {{{1}}} | , | €€€€€ | {{#ifexist: Series:€€€€€
| [[Series:€€€€€|€€€€€]]
+
| [[Series:€€€€€|€€€€€]]{{#vardefine:sidebarSeries|{{#if:{{#var:sidebarSeries}}|{{#var:sidebarSeries}},€€€€€|€€€€€}}}}
 
| <span class="plainlinks">[{{fullurl:Series:€€€€€|action=edit&preload=PCGamingWiki:Sample_article/Series}} <span style="color: #ba0000">€€€€€</span>]</span> [[Category:Invalid template usage (Series)]]
 
| <span class="plainlinks">[{{fullurl:Series:€€€€€|action=edit&preload=PCGamingWiki:Sample_article/Series}} <span style="color: #ba0000">€€€€€</span>]</span> [[Category:Invalid template usage (Series)]]
 
}}[[Part of series::Series:€€€€€| ]]}}
 
}}[[Part of series::Series:€€€€€| ]]}}

Revision as of 20:51, 4 June 2020

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

Type in the name of the game series if one exists. This then populates a floating seriesbox below the infobox, see e.g. Halo: Combat Evolved or Tomb Raider (1996) for examples.

This template replaces the previous {{Series}} template that used to reside below the {{Infobox game}}.