Template:Infobox Location: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="infobox">
<table class="infobox location">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<tr>
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<th class="name" colspan="2">{{{title|{{PAGENAME}}}}}</th>
<table>{{#if:{{{area|}}}|<tr>
</tr>
    <th>Area</th>
{{#if:{{{tag|}}}|
    <td>{{{area}}}</td>
<tr class="mergedrow">
</tr>}}{{#if:{{{location|}}}|<tr>
<td class="tag" colspan="2">{{{tag}}}</td>
    <th>Location</th>
</tr>
    <td>[[{{{location}}}]]</td>
}}
</tr>}}</table>
{{#if:{{{image|}}}|
</div>
<tr class="mergedtoprow">
[[Category:All Forests]]
<td colspan="2">[[File:{{{image}}}|275px]]</td>
</tr>
}}
{{#if:{{{location|}}}|
<tr class="mergedtoprow">
<th>Location</th>
<td>{{{location}}}</td>
</tr>
}}
{{#if:{{{area|}}}|
<tr class="mergedrow">
<th>Area</th>
<td>{{{area}}}</td>
</tr>
}}
{{#if:{{{owner|}}}|
<tr class="mergedrow">
<th>Owner</th>
<td>{{{owner}}}</td>
</tr>
}}
</table>
[[Category:All Locations]]
{{#if:{{{tag|}}}|[[Category:All {{{tag}}}s]]}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 19:54, 14 March 2021