No edit summary |
No edit summary |
||
| Line 21: | Line 21: | ||
{{TableMid|Type|{{SplitLink|{{{type}}}}}}} | {{TableMid|Type|{{SplitLink|{{{type}}}}}}} | ||
{{TableMid|Address|{{SplitLink|{{{address}}}}}|display={{#ifeq:{{{unique|false}}}|false||hide}}}} | {{TableMid|Address|{{SplitLink|{{{address}}}}}|display={{#ifeq:{{{unique|false}}}|false||hide}}}} | ||
{{TableEnd}} | |||
{{#if:{{{image|}}}|{{#ifeq:{{#count:{{{image}}}|;}}|0|[[File:{{{image}}}|350px|frameless|link=]]|<slideshow transition="blindDown" refresh="10000"> | |||
{{#loop: slide | {{#loop: slide | ||
| 0 | | 0 | ||
| Line 27: | Line 29: | ||
| <div>[[File:{{#explode:{{{image}}}|;|{{#var:slide}}}}|350px|frameless|link=]]</div> | | <div>[[File:{{#explode:{{{image}}}|;|{{#var:slide}}}}|350px|frameless|link=]]</div> | ||
}}</slideshow>}} | }}</slideshow>}} | ||
}} | }} | ||
{{#ifeq:{{NAMESPACE}}|Template||<tr><th colspan="2">Metadata</th></tr>}} | |||
{{#ifeq:{{NAMESPACE}}|Template||{{TableTop}}<tr><th colspan="2">Metadata</th></tr>}} | |||
{{TableMid|First Appearance|{{#dpl: | {{TableMid|First Appearance|{{#dpl: | ||
| category = Episode | | category = Episode | ||
| Line 44: | Line 47: | ||
| ordermethod = title | | ordermethod = title | ||
| mode = none | | mode = none | ||
}}|display={{#ifeq:{{NAMESPACE}}|Template||true}} | }}{{TableEnd}}|display={{#ifeq:{{NAMESPACE}}|Template||true}}}} | ||
</div> | </div> | ||
</div> | </div> | ||
</onlyinclude></includeonly> | </onlyinclude></includeonly> | ||
Revision as of 13:27, 25 January 2024
Template:Location is used to create the summary sidebar on Location pages.
Usage
Defaulting Parameters
These are mandatory parameters, but they have default values.
namedefaults to{{PAGENAME}}. It's primary purpose is applying formatting characters, as in Fräulein Ärtzin.
Non-Defaulting Parameters
These mandatory parameters must be supplied; they have no defaults:
Optional Parameters
color(default:cyan) controls the color of the background. The valid options are:
red
green
blue
yellow
purple
cyan
gray
white
image— a semi-colon separated list of Image files.
Metaparameters
These optional parameters control aspects that are out-of-character and control Mediawiki behavior.
sortkey(default:{{PAGETITLE}}) — This usually suffices for most article, but it can be overriden if needed.
Returns
An example of the possible output is to the right; edit the documentation to see how it is constructed.The documentation above was transcluded from Template:Location/Documentation. [edit]
