Difference between revisions of "Template:Location"
Jump to navigation
Jump to search
(Remove extraneous new lines. This should fix an issue where random empty paragraphs were added with a single br tag.) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
| {{#if:{{{ruler|}}}|{{{ruler}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}} | | {{#if:{{{ruler|}}}|{{{ruler}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}} | ||
|- | |- | ||
− | |} | + | |}[[Category:Locations]]{{#if:{{{location|}}}|{{#invoke:Location|location|{{{location}}}}}}}{{#if:{{{ruler|}}}|{{#invoke:Ruler|ruler|{{{ruler}}}}}}}</includeonly><noinclude>{{/doc}} |
− | [[Category:Locations]] | + | |
− | </includeonly><noinclude>{{/doc}}</noinclude> | + | {{TemplateData|<templatedata> |
+ | { | ||
+ | "params": { | ||
+ | "image": { | ||
+ | "label": "Image", | ||
+ | "description": "File link to the location image", | ||
+ | "type": "wiki-file-name" | ||
+ | }, | ||
+ | "location": { | ||
+ | "label": "Location", | ||
+ | "description": "The location's location in Temerant", | ||
+ | "example": "Eastern part of the Four Corners of Civilization", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "currency": { | ||
+ | "label": "Currency", | ||
+ | "description": "Currencies used and generally accepted in this location", | ||
+ | "example": "Cealdish, Vintish", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "ruler": { | ||
+ | "label": "Ruler(s)", | ||
+ | "description": "List of the location's ruler(s)", | ||
+ | "example": "Roderic Calanthis" | ||
+ | } | ||
+ | }, | ||
+ | "description": "Creates an infobox for Location pages", | ||
+ | "format": "block" | ||
+ | } | ||
+ | </templatedata>}} | ||
+ | </noinclude> |
Latest revision as of 08:33, 18 December 2018
Data
Show/hide template's data | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date. Creates an infobox for Location pages
|