No edit summary |
|||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>[[Category:Box Template]]</includeonly> | <includeonly>[[Category:Box Template]]</includeonly> | ||
{{Template|Location}} is used to create the summary sidebar on {{Category|Location}} pages. | __NOTOC__{{Template|Location}} is used to create the summary sidebar on {{Category|Location}} pages. | ||
<div style="background-color:black; float:right; border:2px solid rgb(250, 250, 250); border-radius: 5px; padding: 5px | <div style="background-color:black; float:right; border:2px solid rgb(250, 250, 250); border-radius: 5px; padding: 5px; margin: 5px;">{{Location | ||
| type = Arcology | |||
| unique = true | |||
| address = 1 Renraku Way, Seattle Metroplex, UCAS | |||
| image = scire-footprint-overlay.webp}}</div> | |||
==Usage== | ==Usage== | ||
===Defaulting Parameters=== | ===Defaulting Parameters=== | ||
| Line 13: | Line 17: | ||
===Metaparameters=== | ===Metaparameters=== | ||
These {{Parameter|optional}}s control aspects that are out-of-character. | These {{Parameter|optional}}s control aspects that are out-of-character and control Mediawiki behavior. | ||
* {{Code|sortkey}} (default: | * {{Code|sortkey}} (default: {{Code|<nowiki>{{PAGETITLE}}</nowiki>}}) — This usually suffices for most article, but it can be overriden if needed. | ||
==Returns== | ==Returns== | ||
An example of the possible output is to the right; <span class="plainlinks">[{{fullurl:Template:{{PAGENAME}}/Documentation|action=edit}} edit the documentation]</span> to see how it is constructed. | An example of the possible output is to the right; <span class="plainlinks">[{{fullurl:Template:{{PAGENAME}}/Documentation|action=edit}} edit the documentation]</span> to see how it is constructed. | ||
Latest revision as of 13:46, 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.
