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)))
 
(48 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#if: {{{Name|}}} |
{{!}}- style="vertical-align:middle;"
{{!}}[[HasContact::{{{Name}}}]]
{{!}}{{#ifexist: {{{Name}}} | [[Contact_Rules#Connection_Rating|{{#show: {{{Name}}} |?Connection |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}}} }}}}
{{!}}{{#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}}} |?Profession |link=none }}
{{!}}{{#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==


|-
 
|[[HasContact::{{{Name}}}]]
This template is intended to be used alongside [[Template:ContactTable]]. Please see that page for full documentation.
|{{#show: {{{Name}}} |?Connection |link=none }}
 
| [[Loyalty{{{Name}}}::{{{Loyalty}}}|Loyalty]]
[[Category:Templates]]
|{{#show: {{{Name}}} |?Archetype |link=none }}
[[Category:Character Page Templates]]
|{{#show: {{{Name}}} |?Profession |link=none }}
|}
|{{#show: {{{Name}}} |?HasAspect |link=none }}
 
| [[Chips{{{Name}}}::{{{Chips}}}]]
 
</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.