Difference between revisions of "Template:HasContact"
Jump to navigation
Jump to search
Tag: visualeditor-wikitext |
m (Protected "Template:HasContact" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(13 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{Name|}}} | | {{#if: {{{Name|}}} | | ||
{{!}}- style="vertical-align:middle;" | {{!}}- style="vertical-align:middle;" | ||
{{!}}[[HasContact::{{{Name}}}]] | {{!}}[[HasContact::{{{Name}}}]] | ||
{{!}}{{#ifexist: {{{Name}}} | [[Contact_Rules#Connection_Rating|{{#show: {{{Name}}} |?Connection |link=none }}]] | Contact Not Found. Please create contact using [[Template:Contact]]. }} | {{!}}{{#ifexist: {{{Name}}} | [[Contact_Rules#Connection_Rating|{{#show: {{{Name}}} |?Connection |link=none }}]] | Contact Not Found. Please create contact using [[Template:Contact]]. }} | ||
{{!}} [[Contact_Rules#Loyalty_Rating|{{{Loyalty}}}]] | {{!}} [[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. }} | {{!}}{{#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}}} |?Profession |link=none }} | ||
{{!}}{{#show: {{{Name}}} |?HasAspect |link=none }} | {{!}}{{#show: {{{Name}}} |?HasAspect |link=none }} | ||
{{!}} [[ | {{!}} [[Contact_Rules#Favors_and_Chips|{{{Chips}}}]] {{#set:Chips{{PAGEID:{{{Name}}}}}={{{Chips}}}}} | ||
{{!}}- | |||
{{#if: {{{Fluff|}}} | {{!}}colspan="7"{{!}} {{{Fluff}}} }} | |||
{{!}}- | {{!}}- | ||
| }} | | }} | ||
<noinclude> | <noinclude> | ||
{| cellpadding=5 cellspacing=0 style="border: | {| 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" | ||
|- | |- | ||
| | | |
Latest revision as of 04:20, 12 February 2024
UsageThis template is intended to be used alongside Template:ContactTable. Please see that page for full documentation. |