Difference between revisions of "Template:ContactTable"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Tag: visualeditor-wikitext
Tag: visualeditor-wikitext
Line 20: Line 20:
<pre>
<pre>
{{Template:ContactTable|
{{Template:ContactTable|
{{HasContact|
{{HasContact|
|Name=John Doe
|Name=John Doe
Line 25: Line 26:
|Chips=Even
|Chips=Even
|}}
|}}
{{HasContact|
{{HasContact|
|Name=Jane Doe
|Name=Jane Doe
Line 30: Line 32:
|Chips=Even
|Chips=Even
|}}
|}}
}}</pre>
}}</pre>


Line 35: Line 38:


{{Template:ContactTable|
{{Template:ContactTable|
{{HasContact|
{{HasContact|
|Name=John Doe
|Name=John Doe
Line 40: Line 44:
|Chips=Even
|Chips=Even
|}}
|}}
{{HasContact|
{{HasContact|
|Name=Jane Doe
|Name=Jane Doe
Line 45: Line 50:
|Chips=Even
|Chips=Even
|}}
|}}
}}
}}
</noinclude>
</noinclude>

Revision as of 18:26, 14 December 2019

{{{1}}}
Contact Connection Loyalty Archetype Profession Aspects Chips


Useage

This template is intended to be used alongside Template:HasContact to automatically generate properly tagged contact tables on character pages. So, if you use it as:

{{Template:ContactTable|

{{HasContact|
|Name=John Doe
|Loyalty=4
|Chips=Even
|}}

{{HasContact|
|Name=Jane Doe
|Loyalty=2
|Chips=Even
|}}

}}

Your result will be:

Contact Connection Loyalty Archetype Profession Aspects Chips
John Doe 1 4 Networking Friendly Street Urchin/Vendor Street Urchin, Barrens Local Even
Jane Doe 6 2 Fixer Middle management business woman Aware, Cross Applied Technologies, Executive, Corp Person, Downtown Frequenter, French Canada Frequent Visitor, Montreal Frequenter Even