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

No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{Template|Contact}} is used on {{Category|Contact}} {{Category|Character}} pages to identify the type and ratings of a {{Category|Player Character}}'s [[Contacts]].
{{Template|Contact}} is used on {{Category|Contact}} {{Category|Character}} pages to identify the type and ratings of a {{Category|Player Character}}'s [[Contacts]].
==Usage==
==Usage==
When first invoked on a character page, it has two numbered {{Parameter|mandatory|string}}s and three named {{Parameter|mandatory|integer}}s.
When first invoked on a character page, it has three numbered {{Parameter|mandatory|string}}s and multiple named {{Parameter|mandatory|integer}}s.
* {{Code|1}} must be the name of a {{Category|Player Character}}.
* {{Code|1}} must be the name of a {{Category|Player Character}}.
* {{Code|2}} must be the [[Contacts#Contact Types|contact's type]]; it will be parsed by {{Template|SplitP}}, so parenthetical notations are ignored.
* {{Code|2}} must be the [[Contacts#Contact Types|contact's type]]; it will be parsed by {{Template|SplitP}}, so parenthetical notations are ignored.
* {{Code|3}} is the center of the contact's operations.
* {{Code|c}} is the contact's [[Contacts#Connection|Connection]].
* {{Code|c}} is the contact's [[Contacts#Connection|Connection]].
* {{Code|e}} is the contact's [[Contacts#Expertise|Expertise]].
* {{Code|e}} is the contact's [[Contacts#Expertise|Expertise]].
* {{Code|l}} is the contact's [[Contacts#Loyalty|Loyalty]].
* {{Code|l}} is the contact's [[Contacts#Loyalty|Loyalty]].


It also has one named {{Parameter|optional|integer}}
It also has three {{Parameter|optional}}s
* {{Code|s}} (default: {{Code|0}}) is the contact's [[Contacts#Size|Size]].
* {{Code|s}} (default: {{Code|0}}) is the contact's [[Contacts#Size|Size]].
* {{code|skills}} only applies to Service and Legwork Contacts.
* {{code|name}} (default: {{Code|<nowiki>{{PAGENAME}}</nowiki>}}) overides the text label on the infobox.


The second time it is invoked on a page, only {{Code|l}} is required &mdash; all other parameters flow from the first instance.
The second time it is invoked on a page, only {{Code|l}} is required &mdash; all other parameters flow from the first instance.
==Returns==
==Returns==
{{Code|<nowiki>{{Contact|Rook|Transportation (Aerospace)|c=3|e=3|l=4|s=0}}</nowiki>}} returns: {{Return|{{Contact|Rook|Transportation (Aerospace)|c=3|e=3|l=4|s=0}}}}
{{Code|<nowiki>{{Contact|Rook|Transportation (Aerospace)|Seattle Metroplex|skills=Things, Stuff|c=3|e=3|l=4|s=0}}</nowiki>}} returns: {{Return|{{Contact|Rook|Transportation (Aerospace)|Seattle Metroplex|skills=Things, Stuff|c=3|e=3|l=4|s=0}}}}
In addition, it adds the page to {{Category|Contact}} along with an appropriate subcategory for it's type.
In addition, it adds the page to {{Category|Contact}} along with an appropriate subcategory for it's type.

Latest revision as of 17:14, 1 May 2025

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/Documentation

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.