No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude> | <includeonly><onlyinclude> | ||
<div class="infobox {{{color| | <div class="infobox {{{color|cyan}}}" style="margin-right:10px; {{#ifeq:{{{color|cyan}}}|white|color: black;}}"> | ||
{{#ifeq:{{NAMESPACE}}|Template | {{#ifeq:{{NAMESPACE}}|Template | ||
| <!-- No Categories in Namespaces --> | | <!-- No Categories in Namespaces --> | ||
| Line 7: | Line 7: | ||
{{#ifeq:{{{unique|true}}}|true|[[Category:Location|{{#var:sortkey}}]]|[[Category:Player Character|{{#var:sortkey}}]]}} | {{#ifeq:{{{unique|true}}}|true|[[Category:Location|{{#var:sortkey}}]]|[[Category:Player Character|{{#var:sortkey}}]]}} | ||
}} | }} | ||
<div class="infoicon {{{color| | <div class="infoicon {{{color|cyan}}}">[[File:icon-location.svg|50px|link=:Category:Location]]</div> | ||
<div class="overbox {{{color| | <div class="overbox {{{color|cyan}}}" style="width: 250px; height: 50px; font-family: monospace; font-weight: bolder; font-size:larger; {{#ifeq:{{{color|cyan}}}|white|color: black;}}">{{#ifeq:{{NAMESPACE}}|Template|{{{name|{{PAGENAME}}}}}|{{{name|{{PAGENAME}}}}}{{DISPLAYTITLE:{{{streetname|{{{name|{{PAGENAME}}}}}}}}}}}} {{#if:{{{aka|}}}|<br />a.k.a. {{#explode:{{{aka}}}|,|0}}}}</div> | ||
{{#if:{{{image|}}}|{{#ifeq:{{#count:{{{image}}}|;}}|0|[[File:{{{image}}}|350px|frameless|link=]]|<slideshow transition="blindDown" refresh="10000"> | {{#if:{{{image|}}}|{{#ifeq:{{#count:{{{image}}}|;}}|0|[[File:{{{image}}}|350px|frameless|link=]]|<slideshow transition="blindDown" refresh="10000"> | ||
{{#loop: slide | {{#loop: slide | ||
| Line 19: | Line 19: | ||
td:nth-child(1) { vertical-align: top; font-weight: bold; } | td:nth-child(1) { vertical-align: top; font-weight: bold; } | ||
td:nth-child(2) { vertical-align: bottom; } | td:nth-child(2) { vertical-align: bottom; } | ||
tr { border-bottom: solid thin {{#ifeq:{{{color| | tr { border-bottom: solid thin {{#ifeq:{{{color|cyan}}}|white|black|white}};} | ||
}} | }} | ||
{{TableSlim|width=350px}} | {{TableSlim|width=350px}} | ||
Revision as of 13:43, 18 January 2024
Template:Location is used to create the summary sidebar on Location pages.
Location
| Name | Location |
| Biometrics | |
|---|---|
| Metatype | [[:Category:{{{metatype}}}|{{{metatype}}}]] |
| Height | [convert: invalid number] |
| Weight | [convert: invalid number] |
| Skin | Error! skin is required by Template:Character! |
| Eyes | Error! eyes is required by Template:Character! |
| Hair | Error! skin is required by Template:Character! |
| Infometrics | |
| Date of Birth | Not On File |
| Place of Birth | Not On File |
| Nationality of Record | Not On File |
| Legal Residence | Not On File |
| Bioware | None On File |
| Cyberware | None On File |
| Relationships | |
| Family | None On File |
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]
