Template:NationInfobox: Difference between revisions

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