Difference between revisions of "Template:InfoBoxMaps"
From Pokémon Shadows
Jump to navigationJump to search
(7 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}}}|200px]]</div>}} | <div class="infobox-image">[[File:{{{image}}}|200px]]</div>}} | ||
<table>{{#if:{{{ | <table> | ||
{{#if:{{{locatedIn|}}}| | |||
<tr> | |||
</tr>}}{{#if:{{{ | <th>Located in</th> | ||
<td>[[{{{locatedIn}}}]]</td> | |||
</tr>}} | |||
</tr>}}{{#if:{{{ | {{#if:{{{north|}}}| | ||
<tr> | |||
<th>North</th> | |||
</tr>}}{{#if:{{{ | <td>[[{{{north}}}]]</td> | ||
</tr>}} | |||
{{#if:{{{south|}}}| | |||
</tr>}}{{#if:{{{ | <tr> | ||
<th>South</th> | |||
<td>[[{{{south}}}]]</td> | |||
</tr>}}</table> | </tr>}} | ||
{{#if:{{{east|}}}| | |||
<tr> | |||
<th>East</th> | |||
<td>[[{{{east}}}]]</td> | |||
</tr>}} | |||
{{#if:{{{west|}}}| | |||
<tr> | |||
<th>West</th> | |||
<td>[[{{{west}}}]]</td> | |||
</tr>}} | |||
</table> | |||
</div> | </div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"required": true | |||
}, | |||
"image": { | |||
"required": true | |||
}, | |||
"locatedIn": { | |||
"type": "wiki-page-name" | |||
}, | |||
"north": { | |||
"type": "wiki-page-name" | |||
}, | |||
"south": { | |||
"type": "wiki-page-name" | |||
}, | |||
"east": { | |||
"type": "wiki-page-name" | |||
}, | |||
"west": { | |||
"type": "wiki-page-name" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"locatedIn", | |||
"north", | |||
"south", | |||
"east", | |||
"west" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 05:39, 5 June 2022
InfoBoxMaps
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | no description | Unknown | required |
image | image | no description | Unknown | required |
locatedIn | locatedIn | no description | Page name | optional |
north | north | no description | Page name | optional |
south | south | no description | Page name | optional |
east | east | no description | Page name | optional |
west | west | no description | Page name | optional |