Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Template:Location: Difference between revisions

No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 11: Line 11:
}}
}}
<div class="infoicon {{{color|cyan}}}">[[File:icon-location.svg|50px|link=:Category:Location]]</div>
<div class="infoicon {{{color|cyan}}}">[[File:icon-location.svg|50px|link=:Category:Location]]</div>
<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:{{{name|{{PAGENAME}}}}}}}}}</div>
<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:{{{name|{{PAGENAME}}}}}}}}}<br />{{SplitLink|{{{type|{{Required|type|Location}}}}}}}</div>
{{#if:{{{image|}}}|{{#ifeq:{{#count:{{{image}}}|;}}|0|[[File:{{{image}}}|350px|frameless|link=]]|<slideshow transition="blindDown" refresh="10000">
{{#loop: slide
| 0
| {{#expr:1+{{#count:{{{image}}}|;}}}}
| <div>[[File:{{#explode:{{{image}}}|;|{{#var:slide}}}}|350px|frameless|link=]]</div>
}}</slideshow>}}|[[Category:Characters without Images|{{#var:sortkey}}]]}}
<div>
<div>
{{#css:
{{#css:
Line 25: Line 19:
}}
}}
{{TableSlim|width=350px}}
{{TableSlim|width=350px}}
{{TableMid|Name|{{{name|{{PAGENAME}}}}}}}
{{TableMid|Address|{{SplitLink|{{{address}}}}}|display={{#ifeq:{{{unique|false}}}|false||hide}}}}
{{TableMid|Also Known As|{{#explode:{{{aka}}}|,|1|2}}|display={{#pos:{{{aka|}}}|,}}}}
{{TableEnd}}
<tr><th colspan="2">Biometrics</th></tr>
 
{{TableMid|Metatype|{{#if:{{{metatype}}}
<div style={{#if:{{{image}}}|"margin:10px 0px;"|"display:none"}}>{{#if:{{{image|}}}|{{#ifeq:{{#count:{{{image}}}|;}}|0|[[File:{{{image}}}|350px|frameless]]|<slideshow transition="blindDown" refresh="10000">
|{{Category|{{SplitP|{{{metatype}}}|out}}|key}}{{#ifeq:{{SplitP|{{{metatype}}}|in}}|{{SplitP|{{{metatype}}}|out}}|<!--No Subtype-->| &#32;({{Category|{{SplitP|{{{metatype}}}|in}}|key}})}}
{{#loop: slide
|{{Required|metatype|Character}}
| 0
}}}}
| {{#expr:1+{{#count:{{{image}}}|;}}}}
{{TableMid|Height|{{#if:{{{height}}}|{{convert|{{#vardefineecho:height|{{{height}}}}}|cm|ftin}}|{{Required|height|Character}}}}}}
| <div>[[File:{{#explode:{{{image}}}|;|{{#var:slide}}}}|350px|frameless|link=]]</div>
{{TableMid|Weight|{{#if:{{{weight}}}|{{convert|{{#vardefineecho:weight|{{{weight}}}}}|kg|lb}}|{{Required|weight|Character}}}}{{#if:{{{weight-app|}}}|&#32;actual<br>{{convert|{{{weight-app}}}|kg|lb}} apparent}}}}
}}</slideshow>}}
{{TableMid|Skin|{{#ifeq:{{#len:{{{skin|}}}}}|0|{{Required|skin|Character}}|{{{skin}}}}}}}
}}</div>
{{TableMid|Eyes|{{#ifeq:{{#len:{{{eyes|}}}}}|0|{{Required|eyes|Character}}|{{{eyes}}}}}}}
<div {{#ifeq:{{NAMESPACE}}|Template|style="display:none"}}>{{TableSlim|width=350px}}<tr><th colspan="2">Metadata</th></tr>
{{TableMid|Hair|{{#ifeq:{{#len:{{{hair|}}}}}|0|{{Required|skin|Character}}|{{{hair}}}}}}}
<tr><th colspan="2">Infometrics</th></tr>
{{TableMid|Date of Birth|{{#if:{{{dob|}}}|{{LongTime|{{{dob}}}}} (Age {{Age|{{{dob}}}}})|Not On File}}}}
{{TableMid|Place of Birth|{{#if:{{{pob|}}}|{{SplitLink|{{{pob}}}|in=,}}|Not On File}}}}
{{TableMid|Nationality of Record|{{#if:{{{nor|}}}|{{{nor}}}|Not On File}}}}
{{TableMid|Legal Residence|{{#if:{{{home|}}}|{{SplitLink|{{{home}}}|in=,}}|Not On File}}}}
<!-- Revisit this for the next game, for this one, it doesn't matter.{{TableMid|SIN|}}-->
{{TableMid|Bioware|{{#if:{{{bio|}}}|{{SplitLink|{{{bio}}}|in=,}}|None On File}}}}
{{TableMid|Cyberware|{{#if:{{{cyber|}}}|{{SplitLink|{{{cyber}}}|in=,}}|None On File}}}}
<tr><th colspan="2">Relationships</th></tr>
{{TableMid|Family|{{#if:{{{family|}}}|{{SplitLink|{{{family}}}|in=;}}|None On File}}}}
{{TableMid|Contacts|{{#dpl:
| category = Contact
| linksto = {{FULLPAGENAME}}
| ordermethod = title
| mode = none
}}|display={{{player|}}}}}
{{#ifeq:{{NAMESPACE}}|Template||<tr><th colspan="2">Metadata</th></tr>}}
{{TableMid|First Appearance|{{#dpl:
{{TableMid|First Appearance|{{#dpl:
| category = Episode
| category = Episode
Line 61: Line 37:
| ordermethod = title
| ordermethod = title
| mode = none
| mode = none
}}|display={{#ifeq:{{NAMESPACE}}|Template||true}}}}
}}}}
{{TableMid|Latest Appearance|{{#dpl:
{{TableMid|Latest Appearance|{{#dpl:
| category = Episode
| category = Episode
Line 69: Line 45:
| ordermethod = title
| ordermethod = title
| mode = none
| mode = none
}}|display={{#ifeq:{{NAMESPACE}}|Template||true}}}}
}}}}
{{TableEnd}}
{{TableEnd}}</div>
</div>
</div>
</div>
</div>{{Categorize|{{ucfirst:{{{color|cyan}}}}} Boxes|with}}
</onlyinclude></includeonly>
</onlyinclude></includeonly>

Latest revision as of 14:25, 17 April 2024

Icon-documentation.svg

Template:Location is used to create the summary sidebar on Location pages.

Icon-location.svg
Location
Arcology
Address1 Renraku Way, Seattle Metroplex, UCAS
Scire-footprint-overlay.webp
Metadata
First Appearance
Latest Appearance

Usage

Defaulting Parameters

These are mandatory parameters, but they have default values.

  • name defaults 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.