Jump to navigation
Jump to search
(All instances of {{{games}}} outside user-space have been migrated) |
(add classes and reorganize) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Template:Series Nav/styles.css" /><div class="series_box nav_box">< | <includeonly><templatestyles src="Template:Series Nav/styles.css" /><div class="series_box nav_box"> | ||
<div class="series_box_header"><div class="series_box_links plainlinks">[{{fullurl:Template:{{{name}}}|action=view}} view]''' · '''[{{fullurl:Template:{{{name}}}|action=edit}} edit]</div>{{#if:{{{parent|}}}|<div class="series_box_parent">↑ [[:Category:{{{parent}}}|{{{parent}}}]]{{#if:{{{parent2|}}}| ↑ [[:Category:{{{parent2}}}|{{{parent2}}}]]}}</div>}}<div class="series_box_title>[[:Category:{{{name}}}|{{{name}}}]] series</div>{{-}}</div><div class="series_box_content"> | |||
{{#if:{{{games1|}}}|<div>{{#if:{{{title1|}}}|'''{{{title1|}}}:'''}} | {{#if:{{{games1|}}}|<div>{{#if:{{{title1|}}}|'''{{{title1|}}}:'''}} | ||
{{{games1|}}} | {{{games1|}}} | ||
Line 53: | Line 54: | ||
-->{{#if:{{{subseries|}}}|<div>'''Sub-series:''' | -->{{#if:{{{subseries|}}}|<div>'''Sub-series:''' | ||
{{{subseries}}} | {{{subseries}}} | ||
</div>}}</div><noinclude> | </div>}}</div></div></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 20:35, 9 July 2023
This page has been transcluded from Template:Series Nav/Documentation.
This template uses TemplateStyles: |
A template for navigation around the games in a series, designed to be inherited by series-specific templates.
Usage
{{Series Nav |name={{subst:BASEPAGENAME}} |parent= |parent2= |title1= |games1= <!-- ... --> |title9= |games9= |spinoffs= |compilations= |subseries= }}
Parameters
name
- name of the template.parent
- name of the parent series. (optional)parent2
- name of additional parent series in case of crossover. (optional)titlen
- title of grouping. (optional)gamesn
- list of games in the group.spinoffs
- list of games that are a spinoff of the central series. (optional)compilations
- list of compilations in the series. (optional)subseries
- list of series that this is the parent series for. Use {{c}} to link to each. (optional)
Example
{{Series Nav |name=Mario RPG |parent=Mario |games1= * [[Super Mario RPG: Legend of the Seven Stars]] |subseries= * {{c|Paper Mario}} * {{c|Mario & Luigi}} }}