Difference between revisions of "Template:InfoBoxMaps"

From Pokémon Shadows
Jump to navigationJump to search
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
     <div class="infobox-image">[[File:{{{image}}}|200px]]</div>}}
     <div class="infobox-image">[[File:{{{image}}}|200px]]</div>}}
     <table>
     <table>
         {{#if:{{{param1|}}}|
         {{#if:{{{locatedIn|}}}|
        <tr>
            <th>Located in</th>
            <td>[[{{{locatedIn}}}]]</td>
        </tr>}}
        {{#if:{{{north|}}}|
         <tr>
         <tr>
             <th>North</th>
             <th>North</th>
             <td>{{{param1}}}</td>
             <td>[[{{{north}}}]]</td>
         </tr>}}
         </tr>}}
         {{#if:{{{param2|}}}|
         {{#if:{{{south|}}}|
         <tr>
         <tr>
             <th>South</th>
             <th>South</th>
             <td>{{{param2}}}</td>
             <td>[[{{{south}}}]]</td>
         </tr>}}
         </tr>}}
         {{#if:{{{param3|}}}|
         {{#if:{{{east|}}}|
         <tr>
         <tr>
             <th>East</th>
             <th>East</th>
             <td>{{{param3}}}</td>
             <td>[[{{{east}}}]]</td>
         </tr>}}
         </tr>}}
         {{#if:{{{param4|}}}|
         {{#if:{{{west|}}}|
         <tr>
         <tr>
             <th>West</th>
             <th>West</th>
             <td>{{{param4}}}</td>
             <td>[[{{{west}}}]]</td>
         </tr>}}
         </tr>}}
     </table>
     </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.

Template parameters

ParameterDescriptionTypeStatus
titletitle

no description

Unknownrequired
imageimage

no description

Unknownrequired
locatedInlocatedIn

no description

Page nameoptional
northnorth

no description

Page nameoptional
southsouth

no description

Page nameoptional
easteast

no description

Page nameoptional
westwest

no description

Page nameoptional