Template:Infobox nation: Difference between revisions

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
   </tr>
   </tr>


  <!-- Flag -->
<!-- Flag -->
  {{#if: {{{flag|}}} |
{{#if: {{{flag|}}} |
  <tr>
<tr>
    <td class="infobox-image mw-no-invert" colspan="2">
  <td class="infobox-image mw-no-invert" colspan="2">
      [[File:{{{flag}}}|{{{flagsize|260px}}}|alt={{{flag_alt|}}}|center]]
    [[File:{{{flag}}}|{{{flagsize|260px}}}|alt={{{flag_alt|}}}|center]]
      {{#if: {{{flag_caption|}}} | <div class="infobox-caption">{{{flag_caption}}}</div> }}
    {{#if: {{{flag_caption|}}} | <div class="infobox-caption">{{{flag_caption}}}</div> }}
    </td>
  </td>
  </tr>
</tr>
  }}
}}


  <!-- Coat of Arms -->
<!-- Coat of Arms -->
  {{#if: {{{coa|}}} |
{{#if: {{{coa|}}} |
  <tr>
<tr>
    <td class="infobox-image mw-no-invert" colspan="2">
  <td class="infobox-image mw-no-invert" colspan="2">
      [[File:{{{coa}}}|{{{coasize|220px}}}|alt={{{coa_alt|}}}|center]]
    [[File:{{{coa}}}|{{{coasize|220px}}}|alt={{{coa_alt|}}}|center]]
      {{#if: {{{coa_caption|}}} | <div class="infobox-caption">{{{coa_caption}}}</div> }}
    {{#if: {{{flag|}}} | | {{#pageimage:{{{coa}}}}} }}  <!-- only if no flag -->
    </td>
    {{#if: {{{coa_caption|}}} | <div class="infobox-caption">{{{coa_caption}}}</div> }}
  </tr>
  </td>
  }}
</tr>
}}


  <!-- Prefer flag as lead image; fall back to coat -->
  {{#if: {{{flag|}}} | {{#pageimage:{{{flag}}}}} }}
  {{#if: {{{flag|}}} | | {{#if: {{{coa|}}} | {{#pageimage:{{{coa}}}}} }} }}


   <!-- Core facts -->
   <!-- Core facts -->
Line 40: Line 38:
   <tr>
   <tr>
     <th scope="row">Form of government</th>
     <th scope="row">Form of government</th>
     <td>[[{{{government}}}]]</td>
     <td>{{{government}}}</td>
   </tr>
   </tr>
   }}
   }}
Line 170: Line 168:


</table>
</table>
<includeonly>{{#ifeq:{{NAMESPACE}}| | {{#if:{{{nocat|}}}| | [[Category:Nations]]}} }}</includeonly>


<noinclude>
<noinclude>