Template:Infobox: Difference between revisions

From nUSA Wiki Archive
Jump to navigation Jump to search
No edit summary
Tag: Reverted
m (1 revision imported)
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
 
<table>{{#if:{{{param1|}}}|<tr>
<div class="infobox-image">[[File:{{{image}}}|200px]]</div>}}
     <th>Parameter 1</th>
 
     <td>{{{param1}}}</td>
<table>
</tr>}}{{#if:{{{param2|}}}|<tr>
{{#if:{{{Capital|}}}|<tr>
     <th>Parameter 2</th>
    <th>Capital</th>
     <td>{{{param2}}}</td>
    <td>{{{Capital}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
 
     <th>Parameter 3</th>
</tr>}}{{#if:{{{Major Cities|}}}|<tr>
     <td>{{{param3}}}</td>
    <th>Major Cities</th>
</tr>}}{{#if:{{{param4|}}}|<tr>
    <td>{{{Major Cities}}}</td>
     <th>Parameter 4</th>
     <td>{{{param4}}}</td>
</tr>}}{{#if:{{{Denonymn(s)|}}}|<tr>
</tr>}}{{#if:{{{param5|}}}|<tr>
    <th>Denonymn(s)</th>
     <th>Parameter 5</th>
    <td>{{{Denonymn(s)}}}</td>
     <td>{{{param5}}}</td>
</tr>}}{{#if:{{{Government|}}}|<tr>
    <th>Government</th>
    <td>{{{Government}}}</td>
</tr>}}{{#if:{{{Leader(s)|}}}|<tr>
    <th>Leader(s)</th>
    <td>{{{Leader(s)}}}</td>
</tr>}}{{#if:{{{Legislature|}}}|<tr>
     <th>Legislature</th>
     <td>{{{Legislature}}}</td>
 
</tr>}}{{#if:{{{Founded|}}}|<tr>
     <th>Founded</th>
     <td>{{{Founded}}}</td>
</tr>}}{{#if:{{{Population|}}}|<tr>
     <th>Population</th>
     <td>{{{Population}}}</td>
</tr>}}{{#if:{{{Currency|}}}|<tr>
     <th>Currency</th>
     <td>{{{Currency}}}</td>
</tr>}}{{#if:{{{Language|}}}|<tr>
     <th>Language</th>
     <td>{{{Language}}}</td>
</tr>}}</table>
</tr>}}</table>
img {
  width: 400px,
  height: 300px
}
</div>
</div>

Latest revision as of 14:17, 26 January 2023

Infobox