Template:Emperor Sidebar: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
m (Applying template fix)
No edit summary
Line 1: Line 1:
<div class="infobox" {{#if:{{{style|}}}|style="{{{style}}}"}}>
<includeonly>{| class="infobox {{#if:{{{game|}}}|{{{game}}}|othergame}}"
  <table>
! class="infobox-header" | {{#if:{{{title|}}}|{{{title}}}|{{#if:{{{template|}}}|{{{template}}}|{{{title}}}}}}}
    <tr>
|-
      <th class="navbox-title" style="text-align:center;"><span style="font-size:larger;">{{#if:{{{title|}}}|{{{title}}}|{{#if:{{{template|}}}|{{{template}}}|{{{title}}}}}}}</span></th>
[[File:Imperial Flag.jpg|250px]]
    </tr>
|-
<tr>
|{{{group1}}}
<th class="navbox-title" style="text-align:center;"><span style="font-size:larger;">[[File:Imperial Flag.jpg|250px]]</span></th>
|-
</tr>
|{{{list1}}}
      {{#if:{{{group1|}}}|
|-
    <tr>
        <th style="text-align:center;" class="navbox-group">{{{group1}}}</th>
</tr>
      }}<tr><td class="navbox-list">
{{{list1}}}
      </td>
    </tr>
{{#if:{{{group2|}}}{{{list2|}}}|
{{#if:{{{group2|}}}{{{list2|}}}|
      {{#if:{{{group2|}}}
{{!}} {{{group2}}}
        |<tr><th style="text-align:center;"  class="navbox-group">{{{group2}}}</th></tr>
{{!}}-
        |{{#if:{{{list2|}}}|{{#if:{{{group1|}}}|{{error|Mixed heading usage}}}}}}
{{!}} {{#if:{{{list2|}}}|{{#if:{{{group1|}}}|{{error|Mixed heading usage}}}}}}
      }}<tr><td class="navbox-list">
{{{list2}}}
      </td>
    </tr>
}}
}}
  </table>
|}{{if ns|main|
</div>{{#switch:{{{state|}}}|collapsed|expanded|=|#default={{error|Invalid state parameter}}}}<noinclude>{{documentation}}</noinclude>
[[Category:{{#if:{{{game|}}}|Wars in {{{game}}}|Wars}}]]
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 11:12, 11 January 2021

Documentation [edit]

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