Template:NationInfobox: Difference between revisions

Template page
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} <table>{{#if:{{{param1|}}}|<tr> <th>Parameter 1</th> <td>{{{param1}}}</td> </tr>}}{{#if:{{{param2|}}}|<tr> <th>Parameter 2</th> <td>{{{param2}}}</td> </tr>}}{{#if:{{{param3|}}}|<tr> <th>Parameter 3</th> <td>{{{param3}}}</td> </tr>}}{{#if:{{{param4|}}}|<tr> <th>Parameter 4</th> <td>...")
 
No edit summary
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<infobox>
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
  <title source="name">
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
    <default>{{PAGENAME}}</default>
<table>{{#if:{{{param1|}}}|<tr>
  </title>
     <th>Parameter 1</th>
  <image source="image">
    <td>{{{param1}}}</td>
    <caption source="image_desc" />
</tr>}}{{#if:{{{param2|}}}|<tr>
  </image>
    <th>Parameter 2</th>
  <data source="capital">
     <td>{{{param2}}}</td>
     <label>Capital</label>
</tr>}}{{#if:{{{param3|}}}|<tr>
  </data>
     <th>Parameter 3</th>
  <data source="ruler">
    <td>{{{param3}}}</td>
    <label>Ruler</label>
</tr>}}{{#if:{{{param4|}}}|<tr>
  </data>
    <th>Parameter 4</th>
  <data source="government">
     <td>{{{param4}}}</td>
     <label>Government</label>
</tr>}}{{#if:{{{param5|}}}|<tr>
  </data>
    <th>Parameter 5</th>
  <data source="demonym">
     <td>{{{param5}}}</td>
     <label>Demonym</label>
</tr>}}</table>
  </data>
</div>
  <data source="adjective">
    <label>Adjective</label>
  </data>
  <data source="languages">
     <label>Languages</label>
  </data>
  <data source="religions">
     <label>Religions</label>
  </data>
</infobox>

Latest revision as of 23:50, 26 November 2023