Template:Infobox Location: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
No edit summary
(+counter field)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly><infobox>
<includeonly>{{#invoke:Infobox|Main}}<infobox>
<title source="name"><default>{{PAGENAME}}</default></title>
<title source="name"><default>{{#invoke:Infobox|Title}}</default></title>
<data><default>{{#ifeq:{{#sub:{{{image|}}}|0|5}}|File:|[[{{{image|}}}|320x320px]]|{{{image|}}}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}}</default></data>
<data><default>{{#invoke:Infobox|Image|{{{image|}}}|{{{caption|}}}}}</default></data>
<data source="pronunciation"><label>Pronunciation</label></data>
<data source="pronunciation"><label>Pronunciation</label></data>
<data source="game"><label>Main appearance(s)</label></data>
<data source="game"><label>Main appearance(s)</label><format>{{#invoke:Infobox|Games|{{{game|}}}}}</format></data>
<data source="other"><label>Other appearance(s)</label></data>
<data source="other"><label>Other appearance(s)</label><format>{{#invoke:Infobox|Games|{{{other|}}}}}</format></data>
<data source="inhab"><label>Inhabitants(s)</label></data>
<data source="inhab"><label>Inhabitants(s)</label></data>
<data source="items"><label>Item(s)</label></data>
<data source="items"><label>Item(s)</label></data>
Line 10: Line 10:
<data source="season"><label>Season</label></data>
<data source="season"><label>Season</label></data>
<data source="temperature"><label>Temperature</label></data>
<data source="temperature"><label>Temperature</label></data>
<data source="counter"><label>Counterpart(s)</label></data>
<data source="theme"><label>Theme(s)</label></data>
<data source="theme"><label>Theme(s)</label></data>
<data source="related"><label>Related Location(s)</label></data>
<data source="related"><label>Related Location(s)</label></data>
<data source="strategy"></data>
<data source="strategy"></data>
<data source="zu"></data>
<data source="zu"></data>
</infobox>
</infobox></includeonly><noinclude>
{{#if:{{{name|}}}|[[Category:Infoboxes Using the Name Parameter]]}}{{#if:{{{caption|}}}|[[Category:Infoboxes Using Captions]]}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Infobox Templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 13:58, 10 August 2023


Purpose

Displaying an infobox for locations.

Usage

{{Infobox Location
|image= Image(s) of the topic. (Use {{Media}} when possible.)
|caption= Caption of the image. (Not to be used with {{Media}}.)
|pronunciation= Pronunciation of the location's name.
|game= The game(s) in which the location appears.
|other= Other media in which the location  appears.
|inhab= Character(s) found in this location.
|items= Item(s) found in this location.
|services= Service(s) found in this location.
|season= The default season of the location.
|temperature= The temperature of the location.
|counter= Counterpart(s) of the location.
|theme= The theme(s) associated with this location.
|related= Other location(s) related or linked to this one.
|strategy= A link to a guide from StrategyWiki.
|zu= A link to the Zelda Universe walkthrough.
}}

Blank Code

{{Infobox Location
|image= 
|caption= 
|pronunciation= 
|game= 
|other= 
|inhab= 
|items= 
|services= 
|season= 
|temperature= 
|counter= 
|theme= 
|related= 
|strategy= 
|zu= 
}}
The above documentation is transcluded from Template:Infobox Location/Documentation. (edit | history)