Template:Emperor Sidebar: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
m Applying template fix
m Applying template fix
Line 11: Line 11:
{{!}} {{{group2}}}
{{!}} {{{group2}}}
{{!}}-
{{!}}-
{{!}} {{#if:{{{list2|}}}|{{#if:{{{group1|}}}|{{error|Mixed heading usage}}}}}}
{{!}} {{{list2|}}
}}
}}
|}{{if ns|main|
|}{{if ns|main|
[[Category:{{#if:{{{game|}}}|Wars in {{{game}}}|Wars}}]]
[[Category:{{#if:{{{game|}}}|Wars in {{{game}}}|Wars}}]]
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 11:17, 11 January 2021

Documentation [edit]

This template is used to display a small infobox linking to an Emperor's page and their official announcements. It should be placed after any other infoboxes on the page.

Parameters

  • first unnamed parameter - the name of the player.
  • game1 through game5 - the games in which the person was Emperor. These can be abbreviations. They will be displayed in the order they are given.

Example

{{{title}}}
{{{group1}}}
{{{list1}}}

{{Emperor Sidebar|Lord of Darkness|game1=CN|game2=NS}}


The above documentation is transcluded from Template:Emperor Sidebar/doc.