Template:Emperor Sidebar: Difference between revisions
Jump to navigation
Jump to search
m Applying template fix |
No edit summary |
||
| Line 1: | Line 1: | ||
< | <includeonly>{| class="infobox {{#if:{{{game|}}}|{{{game}}}|othergame}}" | ||
! class="infobox-header" | {{#if:{{{title|}}}|{{{title}}}|{{#if:{{{template|}}}|{{{template}}}|{{{title}}}}}}} | |||
|- | |||
[[File:Imperial Flag.jpg|250px]] | |||
|- | |||
|{{{group1}}} | |||
|- | |||
|{{{list1}}} | |||
|- | |||
{{{list1}}} | |||
{{#if:{{{group2|}}}{{{list2|}}}| | {{#if:{{{group2|}}}{{{list2|}}}| | ||
{{!}} {{{group2}}} | |||
{{!}}- | |||
{{!}} {{#if:{{{list2|}}}|{{#if:{{{group1|}}}|{{error|Mixed heading usage}}}}}} | |||
}} | }} | ||
|}{{if ns|main| | |||
[[Category:{{#if:{{{game|}}}|Wars in {{{game}}}|Wars}}]] | |||
}}</includeonly><noinclude>{{documentation}}</noinclude> | |||
Revision as of 11:12, 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.