Difference between revisions of "Template:HasContact"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Tag: visualeditor-wikitext
m (Protected "Template:HasContact" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(34 intermediate revisions by one other user not shown)
Line 1: Line 1:
|- style="vertical-align:middle;"
{{#if: {{{Name|}}} |
|[[HasContact::{{{Name}}}]]
{{!}}- style="vertical-align:middle;"
|{{#ifexist: {{{Name}}} | [[Contact_Rules#Connection_Rating|{{#show: {{{Name}}} |?Connection |link=none }}]] | }}
{{!}}[[HasContact::{{{Name}}}]]
| [[Contact_Rules#Loyalty_Rating|{{{Loyalty}}}]] [[Loyalty{{PAGEID:{{{Name}}}}}::{{{Loyalty}}}| ]]
{{!}}{{#ifexist: {{{Name}}} | [[Contact_Rules#Connection_Rating|{{#show: {{{Name}}} |?Connection |link=none }}]] | Contact Not Found. Please create contact using [[Template:Contact]]. }}
|{{#ifexist: {{{Name}}} | [[Contact_Rules#Contact_Archetype|{{#show: {{{Name}}} |?Archetype |link=none }}]] | Contact Not Found. Please create contact using [[Template:Contact]]. }}
{{!}} [[Contact_Rules#Loyalty_Rating|{{#ifexpr: {{#replace:{{{Chips}}}|Even|0}} < 0 | {{#expr: {{{Loyalty}}} + {{{Chips}}} }} | {{{Loyalty}}} }}]] {{#set:Loyalty{{PAGEID:{{{Name}}}}}={{#ifexpr: {{#replace:{{{Chips}}}|Even|0}} < 0 | {{#expr: {{{Loyalty}}} + {{{Chips}}} }} | {{{Loyalty}}} }}}}
|{{#show: {{{Name}}} |?Profession |link=none }}
{{!}}{{#ifexist: {{{Name}}} | [[Contact_Rules#Contact_Archetype|{{#show: {{{Name}}} |?Archetype |link=none }}]] | You may also see [[User:Free_Sprite#Create_Contact_Page|User:Free Sprite]] for bot instructions. }}
|{{#show: {{{Name}}} |?HasAspect |link=none }}
{{!}}{{#show: {{{Name}}} |?Profession |link=none }}
| [[Chips|{{{Chips}}}]] [[Chips{{PAGEID:{{{Name}}}}}::{{{Chips}}}| ]]
{{!}}{{#show: {{{Name}}} |?HasAspect |link=none }}
|-
{{!}} [[Contact_Rules#Favors_and_Chips|{{{Chips}}}]] {{#set:Chips{{PAGEID:{{{Name}}}}}={{{Chips}}}}}
{{!}}-
{{#if: {{{Fluff|}}} | {{!}}colspan="7"{{!}} {{{Fluff}}} }}
{{!}}-
| }}
<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 template is intended to be used alongside [[Template:ContactTable]]. Please see that page for full documentation.
 
[[Category:Templates]]
[[Category:Character Page Templates]]
|}
 
 
</noinclude>

Latest revision as of 04:20, 12 February 2024


Usage

This template is intended to be used alongside Template:ContactTable. Please see that page for full documentation.