Difference between revisions of "Template:Infobox features"
From OtanWiki
| Line 3: | Line 3: | ||
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}} | <div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}} | ||
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}} | {{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}} | ||
| − | <table>{{#if:{{{ | + | <table>{{#if:{{{religion|}}}|<tr> |
| − | <th> | + | <th>Religion in Otan</th> |
| − | <td>{{{ | + | <td>{{{religion}}}</td> |
| − | </tr>}} {{#if:{{{ | + | </tr>}} {{#if:{{{military|}}}|<tr> |
| − | <th> | + | <th>Military</th> |
| − | <td>{{{ | + | <td>{{{military}}}</td> |
| − | </tr>}} {{#if:{{{ | + | </tr>}} {{#if:{{{language|}}}|<tr> |
| − | <th> | + | <th>Language</th> |
| − | <td>{{{ | + | <td>{{{language}}}</td> |
| − | </tr>}} {{#if:{{{ | + | </tr>}} {{#if:{{{trade|}}}|<tr> |
| − | <th> | + | <th>Trade</th> |
| − | <td>{{{ | + | <td>{{{trade}}}</td> |
| − | </tr>}} {{#if:{{{ | + | </tr>}} {{#if:{{{culture|}}}|<tr> |
| − | <th> | + | <th>Culture</th> |
| − | <td>{{{ | + | <td>{{{culture}}}</td> |
| − | </tr>}} {{#if:{{{ | + | </tr>}} {{#if:{{{magic|}}}|<tr> |
| − | <th> | + | <th>Magic</th> |
| − | <td>{{{ | + | <td>{{{magic}}}</td> |
| − | </tr>}} {{#if:{{{ | + | </tr>}} {{#if:{{{legends|}}}|<tr> |
| − | <th> | + | <th>Legends</th> |
| − | <td>{{{ | + | <td>{{{legends}}}</td> |
| − | </tr>}} {{#if:{{{ | + | </tr>}} {{#if:{{{travel|}}}|<tr> |
| − | <th> | + | <th>Travel</th> |
| − | <td>{{{ | + | <td>{{{travel}}}</td> |
| + | </tr>}} {{#if:{{{wildlife|}}}|<tr> | ||
| + | <th>Wildlife</th> | ||
| + | <td>{{{wildlife}}}</td> | ||
| + | </tr>}} {{#if:{{{botany|}}}|<tr> | ||
| + | <th>Botany</th> | ||
| + | <td>{{{botany}}}</td> | ||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> | ||
| Line 32: | Line 38: | ||
Example usage: | Example usage: | ||
<pre> | <pre> | ||
| − | {{Infobox | + | {{Infobox features |
| title = | | title = | ||
| image = | | image = | ||
| caption = | | caption = | ||
| − | | | + | | religion = |
| − | | | + | | military = |
| − | | | + | | language = |
| − | | | + | | trade = |
| − | | | + | | culture = |
| − | | | + | | magic = |
| − | | | + | | legends = |
| − | | | + | | travel = |
| + | | wildlife = | ||
| + | | botany = | ||
}} | }} | ||
</pre> | </pre> | ||
Latest revision as of 17:12, 28 May 2021
Featured Infobox features Articles
Example usage:
{{Infobox features
| title =
| image =
| caption =
| religion =
| military =
| language =
| trade =
| culture =
| magic =
| legends =
| travel =
| wildlife =
| botany =
}}