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

(Created page with "{{Documentation}} <includeonly><onlyinclude><!--Replace all with nothing.--></onlyinclude></includeonly>")
 
No edit summary
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation}}
{{Documentation}}
<includeonly><onlyinclude><!--Replace all  with nothing.--></onlyinclude></includeonly>
<includeonly><onlyinclude>
<div class="infobox {{{color|cyan}}}" style="margin-right:10px; {{#ifeq:{{{color|cyan}}}|white|color: black;}}">
{{#ifeq:{{NAMESPACE}}|Template
| <!-- No Categories in Namespaces -->
| {{#vardefine:sortkey|{{{sortkey|{{PAGENAME}}}}}}}
  {{#ifeq:{{{unique|true}}}|true
    | [[Category:Location|{{#var:sortkey}}]]
    | [[Category:{{{type}}}|{{#var:sortkey}}]]
    }}
}}
<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}}}}}}}}}<br />{{SplitLink|{{{type|{{Required|type|Location}}}}}}}</div>
<div>
{{#css:
td:nth-child(1) { vertical-align: top; font-weight: bold; }
td:nth-child(2) { vertical-align: bottom; }
tr { border-bottom: solid thin {{#ifeq:{{{color|cyan}}}|white|black|white}};}
}}
{{TableSlim|width=350px}}
{{TableMid|Address|{{SplitLink|{{{address}}}}}|display={{#ifeq:{{{unique|false}}}|false||hide}}}}
{{TableEnd}}
 
<div style={{#if:{{{image}}}|"margin:10px 0px;"|"display:none"}}>{{#if:{{{image|}}}|{{#ifeq:{{#count:{{{image}}}|;}}|0|[[File:{{{image}}}|350px|frameless]]|<slideshow transition="blindDown" refresh="10000">
{{#loop: slide
| 0
| {{#expr:1+{{#count:{{{image}}}|;}}}}
| <div>[[File:{{#explode:{{{image}}}|;|{{#var:slide}}}}|350px|frameless|link=]]</div>
}}</slideshow>}}
}}</div>
<div {{#ifeq:{{NAMESPACE}}|Template|style="display:none"}}>{{TableSlim|width=350px}}<tr><th colspan="2">Metadata</th></tr>
{{TableMid|First Appearance|{{#dpl:
| category = Episode
| linksto = {{FULLPAGENAME}}
| count = 1
| order = ascending
| ordermethod = title
| mode = none
}}}}
{{TableMid|Latest Appearance|{{#dpl:
| category = Episode
| linksto = {{FULLPAGENAME}}
| count = 1
| order = descending
| ordermethod = title
| mode = none
}}}}
{{TableEnd}}</div>
</div>
</div>{{Categorize|{{ucfirst:{{{color|cyan}}}}} Boxes|with}}
</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.