Template:Emperor Sidebar: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
m Applying template fix
huh, didn't know doubling new rows avoids space issues
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox {{#if:{{{game|}}}|{{{game}}}|othergame}}"
<includeonly>{| class="infobox" style="text-align:center;"
! class="infobox-header" | {{#if:{{{title|}}}|{{{title}}}|{{#if:{{{template|}}}|{{{template}}}|{{{title}}}}}}}
! class="infobox-header" | Emperor
|- style="text-align:center;"
|-
| [[File:Imperial Flag.jpg|250px]]
| [[File:Imperial Flag.jpg|250px]]
|- style="text-align:center;"
| '''{{{group1}}}'''
|- style="text-align:center;"
|{{{list1}}}
|-
|-
{{#if:{{{group2|}}}{{{list2|}}}|
{{#if:{{{game1|}}}|
{{!}} {{{group2}}}
{{!}}-
! {{gamepage|New Pacific Order|{{abbrgame|{{{game1}}}|full}}|p=x|game={{abbrgame|{{{game1}}}|full}}}}
{{!}}-
{{!}} {{list|{{gamepage|{{{1}}}|game={{abbrgame|{{{game1}}}|full}}}}|[[Imperial Announcements from {{{1}}} ({{abbrgame|{{{game1}}}|full}})|Announcements]]}}
{{!}}-
}}{{#if:{{{game2|}}}|
{{!}}-
! {{gamepage|New Pacific Order|{{abbrgame|{{{game2}}}|full}}|p=x|game={{abbrgame|{{{game2}}}|full}}}}
{{!}}-
{{!}} {{list|{{gamepage|{{{1}}}|game={{abbrgame|{{{game2}}}|full}}}}|[[Imperial Announcements from {{{1}}} ({{abbrgame|{{{game2}}}|full}})|Announcements]]}}
{{!}}-
}}{{#if:{{{game3|}}}|
{{!}}-
! {{gamepage|New Pacific Order|{{abbrgame|{{{game3}}}|full}}|p=x|game={{abbrgame|{{{game3}}}|full}}}}
{{!}}-
{{!}} {{list|{{gamepage|{{{1}}}|game={{abbrgame|{{{game3}}}|full}}}}|[[Imperial Announcements from {{{1}}} ({{abbrgame|{{{game3}}}|full}})|Announcements]]}}
{{!}}-
}}{{#if:{{{game4|}}}|
{{!}}-
{{!}}-
{{!}} {{{list2|}}}
! {{gamepage|New Pacific Order|{{abbrgame|{{{game4}}}|full}}|p=x|game={{abbrgame|{{{game4}}}|full}}}}
{{!}}-
{{!}}-
}}
{{!}} {{list|{{gamepage|{{{1}}}|game={{abbrgame|{{{game4}}}|full}}}}|[[Imperial Announcements from {{{1}}} ({{abbrgame|{{{game4}}}|full}})|Announcements]]}}
{{#if:{{{group3|}}}{{{list3|}}}|
{{!}}-
{{!}} {{{group3}}}
}}{{#if:{{{game5|}}}|
{{!}}-
{{!}}-
{{!}} {{{list3|}}}
! {{gamepage|New Pacific Order|{{abbrgame|{{{game5}}}|full}}|p=x|game={{abbrgame|{{{game5}}}|full}}}}
{{!}}-
{{!}}-
{{!}} {{list|{{gamepage|{{{1}}}|game={{abbrgame|{{{game5}}}|full}}}}|[[Imperial Announcements from {{{1}}} ({{abbrgame|{{{game5}}}|full}})|Announcements]]}}
}}
}}
|}{{if ns|main|
|}</includeonly><noinclude>{{documentation}}</noinclude>
[[Category:{{#if:{{{game|}}}|Wars in {{{game}}}|Wars}}]]
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 16:39, 3 September 2025

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
Cyber Nations
Lord of DarknessAnnouncements
NationStates
Lord of DarknessAnnouncements

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


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