No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
{{Iconbox|'''{{PAGENAME}}'''<br />[[Contacts#{{SplitP|{{{2}}}|out}}|{{{2|{{Required|2}}}}} Contact]] for [[{{{1|{{Required|2}}}}}]]. | {{Iconbox|'''{{PAGENAME}}'''<br />[[Contacts#{{SplitP|{{{2}}}|out}}|{{{2|{{Required|2}}}}} Contact]] for [[{{{1|{{Required|2}}}}}]]. | ||
{{TableTop}} | {{TableTop}} | ||
|[[Contacts#Connection|Connection]] | |||
|[[Contacts#Expertise|Expertise]] | |||
|[[Contacts#Loyalty|Loyalty]] | |||
[[Contacts#Size|Size]] | |||
}} | |||
{{TableMid | {{TableMid | ||
|{{#vardefineecho:c|{{{c|{{#var:c}}}}}}} | |{{#vardefineecho:c|{{{c|{{#var:c}}}}}}} | ||
| Line 16: | Line 15: | ||
|{{#vardefineecho:s|{{{c|{{#var:s}}}}}}} | |{{#vardefineecho:s|{{{c|{{#var:s}}}}}}} | ||
}} | }} | ||
{{TableEnd}} | |||
|{{#switch:{{{2}}} | |{{#switch:{{{2}}} | ||
| #default = character}}|color=gray}}</onlyinclude></includeonly> | | #default = character}}|color=gray}}</onlyinclude></includeonly> | ||
Revision as of 14:53, 31 August 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 three 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.3is the center of the contact's operations.cis the contact's Connection.eis the contact's Expertise.lis the contact's Loyalty.
It also has three optional parameters
s(default:0) is the contact's Size.skillsonly 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: [[Category:Contact|]]
[[File:icon-Connection
.svg|50px|link=]]
Contact
Transportation (Aerospace) Contact for Rook.
| {{{1}}} | |||
|---|---|---|---|
| 3 | 3 | 3 | 3 |
The documentation above was transcluded from Template:Contact/Documentation. [edit]
