Difference between revisions of "Template:ContactInfobox"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Tag: visualeditor-wikitext
Tag: visualeditor-wikitext
Line 1: Line 1:
{{Infobox
{{Infobox
|title = {{PAGENAME}}  
|title = {{PAGENAME}}  
|image= {{{Image}}}  
|image= {{{Image|}}}  
|header1= [[Profession::{{{Profession}}}]]  
|header1= [[Profession::{{{Profession}}}]]  
|header2= {{{Shortblurb1|}}}
|header2= {{{Shortblurb1|}}}
Line 15: Line 15:
|data9 =  [[Archetype::{{{Archetype}}}]]  
|data9 =  [[Archetype::{{{Archetype}}}]]  
|label10 = Location  
|label10 = Location  
|data10= {{#if: {{{Location}}}|[[Location::{{{Location}}}]] }}
|data10= {{#if: {{{Location|}}}|[[Location::{{{Location}}}]] }}
|label11 = Metatype  
|label11 = Metatype  
|data11 = {{#if: {{{Metatype}}}|[[Metatype::{{{Metatype}}}]] }}  
|data11 = {{#if: {{{Metatype|}}}|[[Metatype::{{{Metatype}}}]] }}  
|label13 = Gender  
|label13 = Gender  
|data13 = {{#if: {{{Gender}}}|[[Gender::{{{Gender}}}]] }}  
|data13 = {{#if: {{{Gender|}}}|[[Gender::{{{Gender}}}]] }}  
|label12 = Awakened/Emerged
|label12 = Awakened/Emerged
|data12 = {{{AwakenedEmergedOrMundane|}}}
|data12 = {{{AwakenedEmergedOrMundane|}}}
Line 31: Line 31:
|data17 = {{{PersonalLife|}}}
|data17 = {{{PersonalLife|}}}
|label18 = Faction
|label18 = Faction
|data18 = {{#if: {{{Faction}}}|[[Faction::{{{Faction}}}]] }} {{#if: {{{Faction2}}}|<BR> [[Faction::{{{Faction2}}}]] }}  
|data18 = {{#if: {{{Faction|}}}|[[Faction::{{{Faction}}}]] }} {{#if: {{{Faction2|}}}|<BR> [[Faction::{{{Faction2}}}]] }}  
|label19 = Aspects  
|label19 = Aspects  
|data19 = {{GenerateAspectList}}  
|data19 = {{GenerateAspectList}}  

Revision as of 11:16, 12 April 2020

ContactInfobox
{{{Profession}}}
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=
|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
|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
Connection3
ArchetypeLegwork
LocationTacoma, Seattle
MetatypeHuman
Awakened/EmergedMundane
GenderMale
Age31
Preferred Payment MethodInformation
Hobbies/ViceTHE TRUTH
Personal LifeSingle?
FactionShadeTruth Media