Template:Character: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
 
(53 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>*{{#if:{{{image|}}}|{{#ifeq:{{lc:{{{image|}}}}}|unknown|[[File:UnknownCharacter.gif|60px|right]]|[[File:Character_{{{name|}}}.{{{image|}}}|60px|right]]}}}}<span style="float: right">{{#ifeq:{{SERVERNAME}}|gamemaster.shadowchronicles.nu||[[scGM:Character:{{{name|}}}|GM]]}}</span><!--TOPIC START-->{{#switch: {{lc:{{{type|}}}}}
<includeonly>{{raw:scWOD:Character |type = {{{type|}}}
| animal  =  
|name                = {{{name|}}}
| mortal  = [[Category:Mortal Characters (Pages containing characters)]]
|nickname           = {{{nickname|}}}
| ghoul  = [[Category:Ghoul Characters (Pages containing characters)]]
|image              = {{{image|}}}
| vampire =
|title              = {{{title|}}}
| #default = <strong class="warning">Warning! Missing parameter (type=<animal/mortal/ghoul>).</strong><br>
|sex                = {{{sex|}}}
}}{{#if:{{{deathYY|}}}|†&nbsp;}}'''{{#ifeq:{{{name|}}}|unknown|{{#if:{{{nickname|}}}|"{{{nickname|}}}"|Unknown}}|{{C|{{{name|}}}}}}}'''<!--ALL: Sex-->{{#if:{{{sex|}}}|&nbsp;{{isSex|{{{sex|}}}|||onlyicon}}}}<!--
ANIMAL: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|animal|{{#if:{{{bornYY}}}|&nbsp;{{isAge|{{{bornYY|}}}|{{{deathYY|}}}}} year ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}}<!--
MORTAL: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|{{#if:{{{bornYY}}}|&nbsp;{{isAge|{{{bornYY|}}}|{{{deathYY|}}}}} year ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}}<!--
VAMPIRE: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|vampire|{{#if:{{{embraceYY}}}|&nbsp;{{isAge|{{{embraceYY|}}}|{{{deathYY|}}}}} year ({{{embraceYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}{{#ifeq:{{{embraceYY}}}||{{#if:{{{deathYY}}}|&nbsp;(Unknown-{{{deathYY}}})}}}}}}<!--
GHOUL: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{bornYY}}}|&nbsp;{{isAge|{{{bornYY|}}}|{{{deathYY|}}}}} ({{isAge|{{{ghoulYY|}}}|{{{deathYY|}}}}}) year ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}}
:<!--STORY BLOCKS--><!--


--><!--ANIMAL story block-->{{#ifeq:{{lc:{{{type|}}}}}|animal|<!--
|species             = {{{species|}}}
Name-->{{#ifeq:{{{name|}}}|unknown|{{#if:{{{nickname|}}}|"{{{nickname|}}}"|Unknown}}|{{{name|}}}{{#if:{{{nickname|}}}|&nbsp;or "''{{{nickname|}}}''"}}}}{{#if:{{{species|}}}|&nbsp;is a {{{species|}}}.|&nbsp;is of a unknown species.}}<!--End of Block-->}}<!--


--><!--MORTAL story block-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|<!--
|dynasty            = {{{dynasty|}}}
Parents-->{{#if:{{{father|}}}|{{printInputSex|{{{sex|}}}|Son|Daughter|Child}} of {{C|{{{father|}}}}}{{#if:{{{mother|}}}|&nbsp;and {{C|{{{mother|}}}}}}}.&nbsp;|{{#if:{{{mother|}}}|{{printInputSex|{{{sex|}}}|Son|Daughter|Child}} of {{C|{{{mother|}}}}}.&nbsp;}}}}{{{name|}}}{{#if:{{{nickname|}}}|&nbsp;or {{{nickname|}}}}}{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was born|&nbsp;is born}}}}{{#if:{{{bornYY}}}|&nbsp;{{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}|dmy}}}}{{#if:{{{deathYY}}}||.}}{{#if:{{{deathYY}}}|{{#if:{{{deathReason|}}}|&nbsp;died {{{deathReason|}}} {{{deathYY|}}}.|&nbsp;and died {{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}|dmy}}{{#if:{{{deathReason|}}}|.|&nbsp;due to unknown causes.}}}}}}}}<!--
-->{{#if:{{{faction|}}}|&nbsp;{{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{profession|}}}|{{#if:{{{deathYY|}}}|&nbsp;was|&nbsp;is}}{{#ifeq:{{{faction|}}}|{{PAGENAME}}|&nbsp;the|&nbsp;a}} {{{profession|}}}|{{#ifeq:{{{faction|}}}|{{PAGENAME}}|{{#if:{{{deathYY|}}}|&nbsp;belonged|&nbsp;belong}}}} to the|[[{{{faction|}}}]]}}{{#if:{{{group|}}}|'s {{{group|}}}}}.|{{#if:{{{group|}}}|&nbsp;{{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{profession|}}}|{{#if:{{{deathYY|}}}|&nbsp;was|&nbsp;is}}&nbsp;a {{{profession|}}}|{{#if:{{{deathYY|}}}|&nbsp;belonged|&nbsp;belong}}}} to the [[{{{group|}}}]].|{{#if:{{{profession|}}}|&nbsp;{{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{deathYY|}}}|&nbsp;was|&nbsp;is}} a {{{profession|}}}.}}}}<!--
Children--><!--End of Block-->}}<!--


--><!--GHOUL story block-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{father|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|Child}}} of {{C|{{{father|}}}}}{{#if:{{{mother|}}}|&nbsp;and {{C|{{{mother|}}}}}}}.&nbsp;|{{#if:{{{mother|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|Child}}} of {{C|{{{mother|}}}}}.&nbsp;}}}}{{{name|}}}{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was|&nbsp;is}}}}&nbsp;the ghoul to{{#if:{{{regnant|}}}|&nbsp;{{C|{{{regnant|}}}}}|&nbsp;a unknown kindred}}.<!--
|bornYY={{{bornYY|}}} |bornMM={{{bornMM|}}} |bornDD={{{bornDD|}}}  
GhoulDate-->{{#if:{{{ghoulYY}}}|&nbsp;{{printInputSex|{{{sex|}}}|He was ghouled|She was ghouled|Ghouled}}&nbsp;{{printInputDate|{{{ghoulYY|}}}|{{{ghoulMM|}}}|{{{ghoulDD|}}}|dmy}}{{#if:{{{deathYY|}}}|&nbsp;made|&nbsp;making}}{{printInputSex|{{{sex|}}}|&nbsp;him|&nbsp;her|{{{name|}}}}} look {{#if:{{{bornYY|}}}|{{#expr: {{GAMEYEAR}}-{{{bornYY|}}}-{{#expr: {{GAMEYEAR}}-{{{ghoulYY|}}}}}}} years old.<!--
|deathYY={{{deathYY|}}} |deathMM={{{deathMM|}}} |deathDD={{{deathDD|}}}  
Birth-->{{#if:{{{bornYY}}}|&nbsp;{{{name|}}}}}}}}}{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was born|&nbsp;is born}}}}{{#if:{{{bornYY}}}|&nbsp;{{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}|dmy}}}}<!--
|deathReason        = {{{deathReason|}}}
Death-->{{#if:{{{deathYY}}}||.}}{{#if:{{{deathYY}}}|&nbsp;and{{#if:{{{deathReason|}}}|&nbsp;{{{deathReason|}}}|&nbsp;died}}&nbsp;{{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}}}{{#if:{{{deathReason|}}}|.|&nbsp;due to unknown causes.}}}}<!--End of Block-->}}<!--


--><!--VAMPIRE story block
|father              = {{{father|}}}
-->{{#ifeq:{{lc:{{{type|}}}}}|vampire|<!--
|mother              = {{{mother|}}}
Name-->{{#if:{{{nickname|}}}|{{{nickname|}}}|{{{name|}}}}}<!--
Clan-->{{#if:{{{clan|}}}|&nbsp;of{{#if:{{{bloodline|}}}|&nbsp;the [[{{{bloodline|}}}]] bloodline|&nbsp;clan [[{{{clan|}}}]]}}|&nbsp;of unknown clan}}<!--
Covenant-->{{#if:{{{coveanant|}}}|{{#if:{{{clan|}}}|&nbsp;is a member of {{{covenant|}}}.}}|{{#if:{{{clan|}}}|}}}}<!--
EmbraceDate-->{{#if:{{{deathYY|}}}|.}}{{#if:{{{deathYY|}}}|&nbsp;Was embraced|&nbsp;is embraced}}{{#if:{{{embraceYY|}}}|&nbsp;{{PrintInputDate|{{{embraceYY|}}}|{{{embraceMM|}}}|{{{embraceDD|}}}|dmy}}}}{{#if:{{{sire|}}}|&nbsp;by {{C|{{{sire|}}}}}|&nbsp;by a unknown sire{{#if:{{{deathYY|}}}|.|}}}}<!--
Death-->{{#if:{{{deathReason|}}}|{{#if:{{{deathYY}}}|{{#if:{{{sire|}}}|&nbsp;and&nbsp;|&nbsp;{{{name|}}}&nbsp;}}{{{deathReason|}}}. |&nbsp;died&nbsp;{{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}|dmy}}{{#if:{{{deathReason|}}}|.|&nbsp;due to unknown causes.}}}}}}{{#if:{{{child|}}}|&nbsp;Is the sire of {{{child|}}}.}}<!--End of Block-->}}<!--


--><!--Description-->{{#if:{{{description|}}}|<br>{{{description|}}}}}</includeonly><noinclude>
|mentor              = {{{mentor|}}}
 
|faction            = {{{faction|}}}
|group              = {{{group|}}}
 
|profession          = {{{profession|}}}
 
|sire                = {{{sire|}}}
|embraceYY={{{embraceYY|}}} |embraceMM={{{embraceMM|}}} |embraceDD={{{embraceDD|}}}
|clan                = {{{clan|}}}
|bloodline          = {{{bloodline|}}}
|covenant            = {{{covenant|}}}
|coterie            = <!-- List below --><!--Use {{G|}}-->{{{coterie|}}}
 
|ghoulYY={{{ghoulYY|}}} |ghoulMM={{{ghoulMM|}}} |ghoulDD={{{ghoulDD|}}}
|regnant            = {{{regnant|}}}
 
|tribe              = {{{tribe|}}}
|auspice            = {{{auspice|}}}
|pack                = {{{pack|}}}
 
|brood              = {{{brood|}}}
 
|child              = <!-- List below --><!--Use {{C|}}-->{{{child|}}}
 
|description        = <!-- List below -->{{{description|}}}
}}</includeonly><noinclude>
==Example use==
==Example use==
  <nowiki>{{Character |type = <animal/mortal/vampire/ghoul>
  <nowiki>{{Character |type = <animal/mortal/vampire/ghoul>
Line 93: Line 103:
|species            =  
|species            =  


|bornYY=2009 |bornMM= |bornDD=  
|bornYY= |bornMM= |bornDD=  
|deathYY= |deathMM= |deathDD=  
|deathYY= |deathMM= |deathDD=  
|deathReason        =  
|deathReason        =  
Line 120: Line 130:


|mentor              =  
|mentor              =  
|faction            =  
|faction            =  
|group              =  
|group              =  
|profession          =


|child              = <!-- List below --><!--Use {{C|}}-->
|child              = <!-- List below --><!--Use {{C|}}-->
Line 163: Line 175:
}}</nowiki>
}}</nowiki>
}}
}}


[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 09:22, 31 August 2022

Example use

{{Character |type = <animal/mortal/vampire/ghoul>
|name                = 
|nickname            = 
|image               = <jpg/png/"or other format">
|title               = 
|sex                 = <male/female/other>

|dynasty             = 

|bornYY= |bornMM= |bornDD= 
|deathYY= |deathMM= |deathDD= 
|deathReason         = 

|father              = 
|mother              = 

|mentor              = 

|faction             = 
|group               = 

|profession          = 

|sire                = 
|embraceYY= |embraceMM= |embraceDD= 
|clan                = 
|bloodline           = 
|covenant            = 
|coterie             = <!-- List below --><!--Use {{G|}}-->

|ghoulYY= |ghoulMM= |ghoulDD=
|regnant             = 

|tribe               = 
|auspice             = 
|pack                = 

|brood               = 

|child               = <!-- List below --><!--Use {{C|}}-->

|description         = <!-- List below -->

}}

Empty Templates

Animals

{{Character |type = animal
|name                = 
|nickname            = 
|image               = 
|title               = 
|sex                 = 

|species             = 

|bornYY= |bornMM= |bornDD= 
|deathYY= |deathMM= |deathDD= 
|deathReason         = 

|description         = <!-- List below -->

}}

Mortal

{{Character |type = mortal
|name                = 
|nickname            = 
|image               = 
|title               = 
|sex                 = 
|dynasty             = 

|bornYY= |bornMM= |bornDD= 
|deathYY= |deathMM= |deathDD= 
|deathReason         = 

|father              = 
|mother              = 

|mentor              = 

|faction             = 
|group               = 
|profession          = 

|child               = <!-- List below --><!--Use {{C|}}-->

|description         = <!-- List below -->

}}

Vampire

{{Character |type = vampire
|name                = 
|nickname            = 
|image               = 
|title               = 
|sex                 = 

|dynasty             = 

|bornYY= |bornMM= |bornDD= 
|deathYY= |deathMM= |deathDD= 
|deathReason         = 

|father              = 
|mother              = 

|mentor              = 

|regnant             = 
|sire                = 
|embraceYY= |embraceMM= |embraceDD= 
|clan                = 
|bloodline           = 
|covenant            = 
|coterie             = 

|child               = <!-- List below --><!--Use {{C|}}-->

|description         = <!-- List below -->

}}