Template:Character: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>*{{#switch: {{lc:{{{type|}}}}}
<includeonly>*<!--TOPIC START-->{{#switch: {{lc:{{{type|}}}}}
  | animal  =  
  | animal  =  
  | mortal  = [[Category:Mortal Characters (Pages containing characters)]]
  | mortal  = [[Category:Mortal Characters (Pages containing characters)]]
Line 5: Line 5:
  | contact =  
  | contact =  
  | #default = <strong class="warning">Warning! Missing parameter (type=<animal/mortal/ghoul>).</strong>
  | #default = <strong class="warning">Warning! Missing parameter (type=<animal/mortal/ghoul>).</strong>
}} <!--TOPIC START-->
}}{{#if:{{{deathYY|}}}|†&nbsp;}}'''{{C|{{{name|}}}}}'''<!--ALL: Sex-->{{#if:{{{sex|}}}|&nbsp;{{isSex|{{{sex|}}}|||onlyicon}}}}<!--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}}}}})}}}}<!--GHOUL: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{bornYY}}}|&nbsp;{{isAge|{{{bornYY|}}}|{{{deathYY|}}}}} ({{isAge|{{{ghoulYY|}}}|{{{deathYY|}}}}}) year. ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}}<!--ALL: Image-->{{#if:{{{image|}}}|[[File:Character_{{{name}}}.{{{image|}}}|80px|right]]}}
 
<!--ALL: Topic-->{{#if:{{{deathYY|}}}|†&nbsp;}}'''{{C|{{{name|}}}}}'''
 
<!--ALL: Sex-->{{#if:{{{sex|}}}|&nbsp;{{isSex|{{{sex|}}}|||onlyicon}}}}
 
<!--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}}}}})}}}}
 
<!--GHOUL: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{bornYY}}}|&nbsp;{{isAge|{{{bornYY|}}}|{{{deathYY|}}}}} ({{isAge|{{{ghoulYY|}}}|{{{deathYY|}}}}}) year. ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}}
 
<!--ALL: Image-->{{#if:{{{image|}}}|[[File:Character_{{{name}}}.{{{image|}}}|80px|right]]}}
 
:<!--STORRY START-->
:<!--STORRY START-->


Line 33: Line 20:
<!--MORTAL: Birth date story-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was born|&nbsp;is born}}}}{{#if:{{{bornYY}}}|&nbsp;{{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}}}}}{{#if:{{{deathYY}}}|&nbsp;and died {{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}}}{{#if:{{{deathReason|}}}|&nbsp;{{{deathReason|}}}|&nbsp;due to unknown causes.}}}}}}
<!--MORTAL: Birth date story-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was born|&nbsp;is born}}}}{{#if:{{{bornYY}}}|&nbsp;{{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}}}}}{{#if:{{{deathYY}}}|&nbsp;and died {{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}}}{{#if:{{{deathReason|}}}|&nbsp;{{{deathReason|}}}|&nbsp;due to unknown causes.}}}}}}


<!--GHOUL: Birth date story-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was|&nbsp;is}}}}&nbsp;the ghoul to{{#if:{{{regnant|}}}|&nbsp;{{C|{{{regnant|}}}}}|&nbsp;a unknown kindred}}.{{#if:{{{ghoulYY}}}|&nbsp;Gholed {{printInputDate|{{{ghoulYY|}}}|{{{ghoulMM|}}}|{{{ghoulDD|}}}}}{{#if:{{{deathYY|}}}|&nbsp;made|&nbsp;making}}{{printInputSex|{{{sex|}}}|&nbsp;him|&nbsp;her|{{{name|}}}}} look {{#if:{{{bornYY|}}}|{{#expr: {{GAMEYEAR}}-{{{bornYY|}}}-{{#expr: {{GAMEYEAR}}-{{{ghoulYY|}}}}}}} years old.{{#if:{{{bornYY}}}|&nbsp;{{{name|}}}}}}}}}{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was born|&nbsp;is born}}}}{{#if:{{{bornYY}}}|&nbsp;{{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}}}}}{{#if:{{{deathYY}}}|&nbsp;and died {{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}}}{{#if:{{{deathReason|}}}|&nbsp;{{{deathReason|}}}|&nbsp;due to unknown causes.}}|}}
<!--GHOUL: Birth date story-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was|&nbsp;is}}}}&nbsp;the ghoul to{{#if:{{{regnant|}}}|&nbsp;{{C|{{{regnant|}}}}}|&nbsp;a unknown kindred}}.{{#if:{{{ghoulYY}}}|&nbsp;Gholed {{printInputDate|{{{ghoulYY|}}}|{{{ghoulMM|}}}|{{{ghoulDD|}}}}}{{#if:{{{deathYY|}}}|&nbsp;made|&nbsp;making}}{{printInputSex|{{{sex|}}}|&nbsp;him|&nbsp;her|{{{name|}}}}} look {{#if:{{{bornYY|}}}|{{#expr: {{GAMEYEAR}}-{{{bornYY|}}}-{{#expr: {{GAMEYEAR}}-{{{ghoulYY|}}}}}}} years old.{{#if:{{{bornYY}}}|&nbsp;{{{name|}}}}}}}}}{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was born|&nbsp;is born}}}}{{#if:{{{bornYY}}}|&nbsp;{{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}}}}}{{#if:{{{deathYY}}}|&nbsp;and died {{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}}}{{#if:{{{deathReason|}}}|&nbsp;{{{deathReason|}}}|&nbsp;due to unknown causes.}}|}}}}
 


<!--Faction and Group story-->{{#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|}}}.}}}}}}<!--Family story-->{{#ifeq:{{{type|}}}|mortal|{{#if:{{{child|}}}|&nbsp;{{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{faction|}}}|&nbsp;also|{{#if:{{{group|}}}|&nbsp;also}}}}{{#if:{{{deathYY}}}|&nbsp;had the following child(ren) {{{child|}}}.|&nbsp;have the following child(ren) {{{child|}}}.}}}}}}{{#if:{{{description|}}}|<br>{{{description|}}}}}</includeonly><noinclude>
<!--Faction and Group story-->{{#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|}}}.}}}}}}<!--Family story-->{{#ifeq:{{{type|}}}|mortal|{{#if:{{{child|}}}|&nbsp;{{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{faction|}}}|&nbsp;also|{{#if:{{{group|}}}|&nbsp;also}}}}{{#if:{{{deathYY}}}|&nbsp;had the following child(ren) {{{child|}}}.|&nbsp;have the following child(ren) {{{child|}}}.}}}}}}{{#if:{{{description|}}}|<br>{{{description|}}}}}</includeonly><noinclude>

Revision as of 20:07, 29 April 2017

Example use

{{Character |type = <animal/mortal/ghoul/contact>
|name                = 
|nickname            = 
|image               = 
|title               = 
|sex                 = 

|dynasty             = 

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

|father              = 
|mother              = 

|mentor              = 

|faction             = 
|group               = 
|profession          = 

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

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

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

}}

Test







 was the ghoul to Hannes Fingerlos. Gholed 2000-03-11 made him look 12 years old. Andreas Broström was born 1988-03-11 and died 2010-09-12 ran over by a milk buss.

 He was a Fisher.




Erik Eriksson


 is born 1988