Difference between revisions of "Template:ContactInfobox"

From ShadowHaven Reloaded
Jump to navigation Jump to search
 
(26 intermediate revisions by 3 users not shown)
Line 7: Line 7:
|header4= {{{Shortblurb3|}}}
|header4= {{{Shortblurb3|}}}
|label5 = Contact Owner  
|label5 = Contact Owner  
|data5 = {{#if: {{{OwnersRedditName|}}}| [https://www.reddit.com/user/{{{OwnersRedditName}}} {{{OwnersRedditName}}}] }}  
|data5 = {{#if: {{{OwnersRedditName|}}}| [https://www.reddit.com/user/{{{OwnersRedditName}}} [[Created by::{{{OwnersRedditName}}}]]] }}  
|label6 = Owner's Discord Name
|label6 = Owner's Discord Name
|data6 = {{#if: {{{OwnersDiscordName|}}}| {{{OwnersDiscordName}}} }}  
|data6 = [[Created by::{{{OwnersDiscordName|}}}]]
|label7 = Connection
|label7= Owner's Wiki Name
|data7 = [[Connection::{{{Connection}}}]]  
|data7={{#if: {{{OwnersWikiName|}}} | [[User:{{{OwnersWikiName}}}|{{{OwnersWikiName}}}]] [[Created by::{{{OwnersWikiName}}}| ]] }}  
|label8 = Public Contact?  
|label8 = Connection
|data8= {{#ifeq: 1 | {{#ask: [[Category:Public Contacts]] [[{{PAGENAME}}]]|format=count}} | Yes | }}  
|data8 = [[Connection::{{{Connection}}}]]  
|label9 = [[Contact_Rules#Contact_Archetype|Archetype]]  
|label9 = Public Contact?  
|data9 =  [[Archetype::{{{Archetype}}}]]  
|data9= {{#ifeq: 1 | {{#ask: [[Category:Public Contacts]] [[{{PAGENAME}}]]|format=count}} | Yes | }}  
|label10 = Location  
|label10 = [[Contact_Rules#Contact_Archetype|Archetype]]  
|data10= {{#if: {{{Location|}}}|[[Location::{{{Location}}}]] }}
|data10 =  [[Archetype::{{{Archetype}}}]]  
|label11 = Metatype  
|label11 = Location  
|data11 = {{#if: {{{Metatype|}}}|[[Metatype::{{{Metatype}}}]] }}  
|data11= {{#if: {{{Location|}}}|[[Location::{{{Location}}}]] }}
|label12 = Metatype  
|data12 = {{#if: {{{Metatype|}}}|[[Metatype::{{{Metatype}}}]] }}  
|label13 = Gender  
|label13 = Gender  
|data13 = {{#if: {{{Gender|}}}|[[Gender::{{{Gender}}}]] }}  
|data13 = {{#if: {{{Gender|}}}|[[Gender::{{{Gender}}}]] }}  
|label12 = Awakened/Emerged
|label14 = Awakened/Emerged
|data12 = {{{AwakenedEmergedOrMundane|}}}
|data14 = {{{AwakenedEmergedOrMundane|}}}
|label14 = Age  
|label15 = Age  
|data14= {{{Age|}}}  
|data15= {{{Age|}}}  
|label15= Preferred Payment Method
|label16= Preferred Payment Method
|data15 = {{{PreferredPayment|}}}
|data16 = {{{PreferredPayment|}}}
|label16 =  Hobbies/Vice  
|label17 =  Hobbies/Vice  
|data16 = {{{HobbiesOrVice|}}}
|data17 = {{{HobbiesOrVice|}}}
|label17 = Personal Life  
|label18 = Personal Life  
|data17 = {{{PersonalLife|}}}
|data18 = {{{PersonalLife|}}}
|label18 = Faction
|label19 = Faction
|data18 = {{#if: {{{Faction|}}}|[[Faction::{{{Faction}}}]] }} {{#if: {{{Faction2|}}}|<BR> [[Faction::{{{Faction2}}}]] }}  
|data19 = {{#if: {{{Faction|}}}|[[Faction::{{{Faction}}}]] }} {{#if: {{{Faction2|}}}|<BR> [[Faction::{{{Faction2}}}]] }}  
|label19 = Aspects  
|label20 = Aspects  
|data19 = {{GenerateAspectList}}  
|data20 = {{GenerateAspectList}}  
}}
}}


Line 56: Line 58:
|OwnersRedditName=
|OwnersRedditName=
|OwnersDiscordName=
|OwnersDiscordName=
|OwnersWikiName=
|Connection=
|Connection=
|Archetype=
|Archetype=
Line 86: Line 89:
|Shortblurb3=
|Shortblurb3=
|OwnersRedditName=Teksura
|OwnersRedditName=Teksura
|OwnersDiscordName=Teksura
|OwnersWikiName=Teksura
|Connection=3
|Connection=3
|Archetype=Legwork
|Archetype=Legwork
Line 114: Line 119:
|OwnersRedditName=Teksura
|OwnersRedditName=Teksura
|OwnersDiscordName=Teksura
|OwnersDiscordName=Teksura
|OwnersWikiName=Teksura
|Connection=3
|Connection=3
|Archetype=Legwork
|Archetype=Legwork

Latest revision as of 19:16, 9 November 2024

ContactInfobox
Placeholder2.jpg
{{{Profession}}}
Owner's Discord Name
Connection{{{Connection}}}
Archetype{{{Archetype}}}


Usage

This template is designed to simplify the creation of new contact pages and automatically tag things with SemanticWiki markup where appropriate.

{{ContactInfobox|
|Image=
|Profession=
|Shortblurb1=
|Shortblurb2=
|Shortblurb3=
|OwnersRedditName=
|OwnersDiscordName=
|OwnersWikiName=
|Connection=
|Archetype=
|Location=
|Metatype=
|AwakenedEmergedOrMundane=
|Gender=
|Age=
|PreferredPayment=
|HobbiesOrVice=
|PersonalLife=
|Faction=
|Faction2=
}}


This allows us to turn previous globs of wiki code to generate a proper contact infobox into a simple short list that explains what the frag you're doing directly and plainly. Many boxes function quite happily when left blank; however, Profession and Archetype are required. It is highly recommended to make use of Template:Age for the age entry, but anything can be put in its place such as a vague "middle aged" or similar.

The template supports up to 2 factions, please fill |Faction= before |Faction2=.

For example, if you enter the following:

{{ContactInfobox|
|Image=[[File:News Van Dan.jpg|200px]]
|Profession=Guerilla Reporter (Infobroker)
|Shortblurb1=The Man with a Plan
|Shortblurb2=
|Shortblurb3=
|OwnersRedditName=Teksura
|OwnersDiscordName=Teksura
|OwnersWikiName=Teksura
|Connection=3
|Archetype=Legwork
|Location=Tacoma, Seattle
|Metatype=Human
|AwakenedEmergedOrMundane=Mundane
|Gender=Male
|Age={{Age|
|Month=12
|Day=11
|Year=2053
|}}
|PreferredPayment=Information
|HobbiesOrVice=THE TRUTH
|PersonalLife=Single?
|Faction=ShadeTruth Media
}}

Your result will be:

ContactInfobox
News Van Dan.jpg
Guerilla Reporter (Infobroker)
The Man with a Plan
Contact OwnerTeksura
Owner's Discord NameTeksura
Owner's Wiki NameTeksura
Connection3
ArchetypeLegwork
LocationTacoma, Seattle
MetatypeHuman
GenderMale
Awakened/EmergedMundane
Age31
Preferred Payment MethodInformation
Hobbies/ViceTHE TRUTH
Personal LifeSingle?
FactionShadeTruth Media