Template:CountryInfo: Difference between revisions
From Heterodontosaurus Balls
|
|
Line 1: |
Line 1: |
| .infobox {
| | {| class=infobox |
| background: #eee;
| | |- |
| border: 1px solid #aaa;
| | | |
| float: right;
| | | |
| margin: 0 0 1em 1em;
| | * [[Poland]] |
| padding: 1em;
| | * [[Poland]] |
| width: 400px;
| | |} |
| }
| |
| .infobox-title {
| |
| font-size: 2em;
| |
| text-align: center;
| |
| }
| |
| .infobox-image {
| |
| text-align: center;
| |
| }
| |
| .infobox-table th {
| |
| text-align: right;
| |
| vertical-align: top;
| |
| width: 120px;
| |
| }
| |
| .infobox-table td {
| |
| vertical-align: top;
| |
| }
| |
| | |
| | |
| <div class="infobox">
| |
| <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
| |
| <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
| |
| <table class="infobox-table">{{#if:{{{param1|}}}|<tr>
| |
| <th>Parameter 1</th>
| |
| <td>{{{NameOffical}}}</td>
| |
| </tr>}}{{#if:{{{param2|}}}|<tr>
| |
| <th>Parameter 2</th>
| |
| <td>{{{two}}}</td>
| |
| </tr>}}{{#if:{{{param3|}}}|<tr>
| |
| <th>Parameter 3</th>
| |
| <td>{{{param3}}}</td>
| |
| </tr>}}{{#if:{{{param4|}}}|<tr>
| |
| <th>Parameter 4</th>
| |
| <td>{{{param4}}}</td>
| |
| </tr>}}{{#if:{{{param5|}}}|<tr>
| |
| <th>Parameter 5</th>
| |
| <td>{{{param5}}}</td>
| |
| </tr>}}</table>
| |
| </div>
| |
Revision as of 15:54, 20 April 2024