No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
The second time it is invoked on a page, only {{Code|l}} is required — all other parameters flow from the first instance. | The second time it is invoked on a page, only {{Code|l}} is required — 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)|c=3|e=3|l=4|s=0}}</nowiki>}} returns: {{Return|{{Contact|Rook|Transportation (Aerospace)|Seattle Metroplex|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. | ||
Revision as of 18:15, 9 October 2023
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 two numbered mandatory string parameters and multiple named mandatory integer parameters.
1must be the name of a Player Character.2must be the contact's type; it will be parsed byTemplate:SplitP, so parenthetical notations are ignored.cis the contact's Connection.eis the contact's Expertise.lis the contact's Loyalty.locationis the center of the contact's operations.
It also has optional parameter
s(default:0) is the contact's Size.skillsonly applies to Service and Legwork Contacts.
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)|c=3|e=3|l=4|s=0}} returns:
Contact/Documentation
Transportation (Aerospace) Contact for Rook
Location: Seattle Metroplex
| Connection | Expertise | Loyalty | Size |
|---|---|---|---|
| 3 | 3 | 4 | 0 |
In addition, it adds the page to Contact along with an appropriate subcategory for it's type.
