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:Contact: Difference between revisions

No edit summary
No edit summary
 
(61 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation}}
{{Documentation}}
<includeonly><onlyinclude>
<includeonly><onlyinclude>
<div style="padding-top: 10px;">
<div class="infobox {{#vardefineecho:theme|{{{theme|gray}}}}}" style="margin-right: 15px; margin-left: 10px; float:none; width:auto;">{{#ifeq:{{NAMESPACE}}|Template||[[Category:Contact|{{#var:sortkey}}]][[Category:{{SplitP|{{{2|{{#var:type}}}}}|out}} Contact|{{#var:sortkey}}]]}}
<div class="infobox {{#vardefineecho:theme|{{{theme|gray}}}}}" style="margin-right: 15px; margin-left: 10px; float:none; width:auto;">{{#ifeq:{{NAMESPACE}}|Template||[[Category:Contact|{{#var:sortkey}}]][[Category:{{SplitP|{{{2|{{#var:type}}}}}|out}} Contact|{{#var:sortkey}}]]}}
<div class="infoicon {{#var:theme}}">[[File:icon-character.svg|50px|link=:Category:Contact]]</div>
<div class="infoicon {{#var:theme}}">[[File:icon-character.svg|50px|link=:Category:Contact]]</div>
<div class="overbox {{#var:theme}}" style="width: 250px; height: 30px; font-family: monospace; font-weight: bolder; font-size:larger;">
<div class="overbox {{#var:theme}}" style="width:210px; height: 30px; font-family: monospace; font-weight: bolder; font-size:larger;">
'''{{PAGENAME}}'''</div>[[Contacts#{{#vardefineecho:type|{{SplitP|{{{2|{{#var:type}}}}}|out}}}}|{{{2|{{#var:type}}}}} Contact]] for [[{{{1|{{Required|2|Contact}}}}}]].
'''{{{name|{{PAGENAME}}}}}'''</div><div style="display:flex; flex-direction:row; flex-wrap:wrap;justify-content:space-between;">
'''Location''': {{{location|{{Required|location|Contact}}}}}{{#if:{{{skills|}}}|<br />'''Skills''': {{{skills}}}}}
<div style="margin: -5px;">
{{TableTop
[[Contacts#{{#vardefineecho:type|{{SplitP|{{{2|{{#var:type}}}}}|out}}}}|{{#var:type}} {{#vardefine:subtype|{{SplitP|{{{2|{{#var:subtype}}}}}|in}}}} {{#ifeq:{{#var:type}}|{{#var:subtype}}||({{#var:subtype}})}} Contact]] for [[{{{1|{{Required|3|Contact}}}}}]]<br />
|[[Contacts#Connection|Connection]]
'''Location''': {{#vardefineecho:loc|{{{3|{{#var:loc}}}}}}}
|[[Contacts#Expertise|Expertise]]
{{#if:{{{skills|}}}|<br />'''Skills''': {{{skills}}}}}
|[[Contacts#Loyalty|Loyalty]]
</div>
|[[Contacts#Size|Size]]
<div><table class="wikitable skinned" style="width: 350px">
}}
<tr>
{{TableMid
<th style="width: 25%">[[Contacts#Connection|Connection]]</th>
|{{#vardefineecho:c|{{{c|{{#var:c}}}}}}}
<th style="width: 25%">[[Contacts#Expertise|Expertise]]</th>
|{{#vardefineecho:e|{{{e|{{#var:e}}}}}}}
<th style="width: 25%">[[Contacts#Loyalty|Loyalty]]</th>
|{{{l|{{Required|l|Contact}}}}}
<th style="width: 25%">[[Contacts#Size|Size]]</th>
|{{#if:{{{s|}}}|{{#vardefineecho:s|{{{s|{{#var:s}}}}}}}|0}}
</tr>
}}
<tr style="text-align: center">
{{TableEnd}}</div></onlyinclude></includeonly>
<td>{{#vardefineecho:c|{{{c|{{#var:c}}}}}}}</td>
<td>{{#vardefineecho:e|{{{e|{{#var:e}}}}}}}{{#ifeq:{{{s|0}}}|0||&nbsp;({{#expr:{{{e}}}+{{{s}}}}})}}</td>
<td>{{{l|{{Required|l|Contact}}}}}{{#ifeq:{{{s|0}}}|0||&nbsp;({{#expr:{{{l}}}-{{{s}}}}})}}</td>
<td>{{#if:{{{s|}}}|{{#vardefineecho:s|{{{s|{{#var:s}}}}}}}|0}}</td>
</tr>
</table></div></div></div></div></onlyinclude></includeonly>

Latest revision as of 10:22, 30 May 2025

Icon-documentation.svg

Template:Contact is used on Contact Character pages to identify the type and ratings of a Player Character's Contacts.

Usage

When first invoked on a character page, it has three numbered mandatory string parameters and multiple named mandatory integer parameters.

It also has three optional parameters

  • s (default: 0) is the contact's Size.
  • skills only applies to Service and Legwork Contacts.
  • name (default: {{PAGENAME}}) overides the text label on the infobox.

The second time it is invoked on a page, only l is required — all other parameters flow from the first instance.

Returns

{{Contact|Rook|Transportation (Aerospace)|Seattle Metroplex|skills=Things, Stuff|c=3|e=3|l=4|s=0}} returns:
Icon-character.svg
Contact

Transportation (Aerospace) Contact for Rook
Location: Seattle Metroplex
Skills: Things, Stuff

In addition, it adds the page to Contact along with an appropriate subcategory for it's type.

The documentation above was transcluded from Template:Contact/Documentation.