Template:NationInfobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<infobox>
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>
  <title source="name">
 
    <default>{{PAGENAME}}</default>
{{#if:{{{image|}}}|
  </title>
<div class="infobox-image">[[File:{{{image}}}|300px]]
  <image source="image">
{{#if:{{{image_desc|}}}|
     <caption source="image_desc" />
<i>{{{image_desc}}}</i>
  </image>
}}
  <data source="capital">
</div>}}
     <label>Capital</label>
 
  </data>
{{#if:{{{image2|}}}|
  <data source="ruler">
<div class="infobox-image">[[File:{{{image2}}}|300px]]
     <label>Ruler</label>
{{#if:{{{image2_desc|}}}|
  </data>
<i>{{{image2_desc}}}</i>
  <data source="government">
}}
     <label>Government</label>
</div>}}
  </data>
 
  <data source="demonym">
<table>
     <label>Demonym</label>
{{#if:{{{title|}}}|<tr>
  </data>
     <th>Title</th>
  <data source="adjective">
    <td>{{{title}}}</td>
     <label>Adjective</label>
</tr>}}
  </data>
 
  <data source="languages">
{{#if:{{{capital|}}}|<tr>
     <label>Languages</label>
     <th>Capital</th>
  </data>
    <td>{{{capital}}}</td>
  <data source="religions">
</tr>}}
     <label>Religions</label>
 
  </data>
{{#if:{{{ruler|}}}|<tr>
</infobox>
     <th>Ruler</th>
    <td>{{{ruler}}}</td>
</tr>}}
 
{{#if:{{{government|}}}|<tr>
     <th>Government</th>
    <td>{{{government}}}</td>
</tr>}}
 
{{#if:{{{demonym|}}}|<tr>
     <th>Demonym</th>
    <td>{{{demonym}}}</td>
</tr>}}
 
{{#if:{{{adjective|}}}|<tr>
     <th>Adjective</th>
    <td>{{{adjective}}}</td>
</tr>}}
 
{{#if:{{{languages|}}}|<tr>
     <th>Languages</th>
    <td>{{{languages}}}</td>
</tr>}}
 
{{#if:{{{religions|}}}|<tr>
     <th>Religions</th>
    <td>{{{religions}}}</td>
</tr>}}
 
</table>
</div>

Latest revision as of 23:50, 26 November 2023