No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
These are {{Parameter|mandatory}}s, but they have default values. | These are {{Parameter|mandatory}}s, but they have default values. | ||
* {{Code|name}} defaults to {{Code|<nowiki>{{PAGENAME}}</nowiki>}}. It's primary purpose is applying formatting characters, as in [[Fraulein Artzin]]. | * {{Code|name}} defaults to {{Code|<nowiki>{{PAGENAME}}</nowiki>}}. It's primary purpose is applying formatting characters, as in [[Fraulein Artzin]]. | ||
===Non-Defaulting Parameters=== | |||
These {{Parameter|mandatory}}s must be supplied; they have no defaults: | |||
===Metaparameters=== | |||
These {{Parameter|optional}}s control aspects that are out-of-character. | |||
* {{Code|sortkey}} (default: the last word in {{Code|<nowiki>{{PAGETITLE}}</nowiki>}}) — This usually suffices for characters using the standard English name order (Given Middle Family), characters with names presented in the Japanese pattern (Family Given) will need to specify the sort key explicitly. | |||
==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. | ||
Revision as of 13:39, 18 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:
Metaparameters
These optional parameters control aspects that are out-of-character.
sortkey(default: the last word in{{PAGETITLE}}) — This usually suffices for characters using the standard English name order (Given Middle Family), characters with names presented in the Japanese pattern (Family Given) will need to specify the sort key explicitly.
Returns
An example of the possible output is to the right; edit the documentation to see how it is constructed.
