Template:NationInfobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(18 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>
{{#if:{{{image2|}}}|
  </data>
<div class="infobox-image">[[File:{{{image2}}}|300px]]
  <data source="ruler">
{{#if:{{{image2_desc|}}}|
     <label>Ruler</label>
<i>{{{image2_desc}}}</i>
  </data>
}}
  <data source="government">
</div>}}
     <label>Government</label>
<table>
  </data>
{{#if:{{{title|}}}|<tr>
  <data source="demonym">
     <th>Title</th>
     <label>Demonym</label>
    <td>{{{title}}}</td>
  </data>
</tr>}}
  <data source="adjective">
 
     <label>Adjective</label>
{{#if:{{{capital|}}}|<tr>
  </data>
     <th>Capital</th>
  <data source="languages">
    <td>{{{capital}}}</td>
     <label>Languages</label>
</tr>}}
  </data>
 
  <data source="religions">
{{#if:{{{ruler|}}}|<tr>
     <label>Religions</label>
     <th>Ruler</th>
  </data>
    <td>{{{ruler}}}</td>
</infobox>
</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