Difference between revisions of "Template:GroupContact"

From ShadowHaven Reloaded
Jump to navigation Jump to search
(Created page with "{| class="wikitable sortable" style="border-style: solid; border-width: 10px" |- !Contact !Connection !Faction Rep !Health !Location |- |{{{Group}}} |{{#ifexist: {{{Group}}} |...")
Tag: visualeditor-wikitext
 
Tag: visualeditor-wikitext
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable sortable" style="border-style: solid; border-width: 10px"
<includeonly>|- style="vertical-align:middle;"
|-
|[[HasGroupContact::{{{Group}}}]]
!Contact
| [[Contact_Rules#Group_Contacts|{{{Position}}}]] [[Position{{PAGEID:{{{Group}}}}}::{{{Position}}}| ]]
!Connection
!Faction Rep
!Health
!Location
|-
|{{{Group}}}
|{{#ifexist: {{{Group}}} | [[Contact_Rules#Group_Contacts|{{#show: {{{Group}}} |?Connection |link=none }}]] | Group Contact Not Found. }}
|{{#ifexist: {{{Group}}} | [[Contact_Rules#Group_Contacts|{{#show: {{{Group}}} |?Connection |link=none }}]] | Group Contact Not Found. }}
| [[Contact_Rules#Group_Contacts|{{{FactionRep}}}]] [[Loyalty{{PAGEID:{{{Name}}}}}::{{{FactionRep}}}| ]]
| [[Contact_Rules#Group_Contacts|{{#expr:{{#ask: [[Category:Runs]][[hasRunner::{{PAGENAME}}]]{{#if: {{{DateJoined|}}}| [[HasDate::>{{{DateJoined}}}]]}}|format=count}}+1+{{{RepBonus|0}}}-{{{RepExpense|0}}}}}]]{{#set:FactionRep{{PAGEID:{{{Group}}}}}={{#expr:{{#ask: [[Category:Runs]][[hasRunner::{{PAGENAME}}]]{{#if: {{{DateJoined|}}}| [[HasDate::>{{{DateJoined}}}]]}}|format=count}}+1+{{{RepBonus|0}}}-{{{RepExpense|0}}}}}}}
|{{#ifexist: {{{Group}}} | [[Contact_Rules#Group_Contacts|{{#show: {{{Group}}} |?Health |link=none }}]] | Group Contact Not Found. }}
|{{#ifexist: {{{Group}}} | [[Contact_Rules#Group_Contacts|{{#show: {{{Group}}} |?Archetype |link=none }}]] | Please Create Group using [[Template:Faction]] }}
|{{#ifexist: {{{Group}}} | [[Contact_Rules#Group_Contacts|{{#show: {{{Group}}} |?Location |link=none }}]] | Group Contact Not Found. }}
|{{#ifexist: {{{Group}}} | [[Contact_Rules#Group_Contacts|{{#show: {{{Group}}} |?Health |link=none }}]] | If you do not have any group contacts }}
|}
|{{#ifexist: {{{Group}}} | [[Contact_Rules#Group_Contacts|{{#show: {{{Group}}} |?Location |link=none }}]] | Remove this template entirely. }}
|-</includeonly><noinclude>
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 100%;  -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444"
|-
|
==Usage==
This is intended to be used alongside [[Template:GroupContactTable]], please see that page for usage instructions.
 
[[Category:Templates]]
[[Category:Character Page Templates]]
|}</noinclude>

Latest revision as of 03:48, 18 June 2020

Usage

This is intended to be used alongside Template:GroupContactTable, please see that page for usage instructions.