Template:Emperor Sidebar: Difference between revisions
Jump to navigation
Jump to search
m Updating sidebar template |
m Applying template fix |
||
| Line 15: | Line 15: | ||
</td> | </td> | ||
</tr> | </tr> | ||
{{#if:{{{group2|}}}| | {{#if:{{{group2|}}}{{{list2|}}}| | ||
{{#if:{{{group2|}}} | |||
|<tr><th style="text-align:center;" class="navbox-group">{{{group2}}}</th></tr> | |||
</tr> | |{{#if:{{{list2|}}}|{{#if:{{{group1|}}}|{{error|Mixed heading usage}}}}}} | ||
}}<tr><td class="navbox-list"> | }}<tr><td class="navbox-list"> | ||
{{{list2}}} | {{{list2}}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
}} | |||
}} | }} | ||
</table> | </table> | ||
</div>{{#switch:{{{state|}}}|collapsed|expanded|=|#default={{error|Invalid state parameter}}}}<noinclude>{{documentation}}</noinclude> | </div>{{#switch:{{{state|}}}|collapsed|expanded|=|#default={{error|Invalid state parameter}}}}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 08:10, 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
{{Emperor Sidebar|Lord of Darkness|game1=CN|game2=NS}}
The above documentation is transcluded from Template:Emperor Sidebar/doc.