Template:Character: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
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>
}} <div id="{{{name|}}}"></div>{{#if:{{{deathYY|}}}|†&nbsp;}}'''{{C|{{{name|}}}}}'''{{#if:{{{sex|}}}|&nbsp;{{isSex|{{{sex|}}}|||onlyicon}}}}{{#if:{{{bornYY}}}|&nbsp;{{isAge|{{{bornYY|}}}|{{{deathYY|}}}}}{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{ghoulYY}}}|({{isAge|{{{ghoulYY|}}}|{{{deathYY|}}}}})}}}} year ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}{{#if:{{{image|}}}|[[File:Character_{{{name}}}.{{{image|}}}|80px|right]]}}
}} <!--TOPIC START-->
: <!--Parent story-->{{#if:{{{father|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|The eunuch child}}} of {{C|{{{father|}}}}}{{#if:{{{mother|}}}|&nbsp;and {{C|{{{mother|}}}}}}}.&nbsp;|{{#if:{{{mother|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|The eunuch child}}} of {{C|{{{mother|}}}}}.&nbsp;}}}}<!--Character story-->{{#if:{{{name|}}}|{{{name|}}}}}{{#if:{{{nickname|}}}|&nbsp;or {{{nickname|}}}}}<!--IfGhoul-->{{#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|}}}}}}}}}|}}<!--Birth-->{{#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>
 
<!--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-->
 
<!--MORTAL: Parents-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|{{#if:{{{father|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|The eunuch child}}} of {{C|{{{father|}}}}}{{#if:{{{mother|}}}|&nbsp;and {{C|{{{mother|}}}}}}}.&nbsp;|{{#if:{{{mother|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|The eunuch child}}} of {{C|{{{mother|}}}}}.&nbsp;}}}}}}
 
<!--VAMPIRE: Sire-->{{#ifeq:{{lc:{{{type|}}}}}|vampire|{{#if:{{{sire|}}}|Child of {{{sire|}}}}}}}
 
<!--GHOUL: Parents-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{father|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|The eunuch child}}} of {{C|{{{father|}}}}}{{#if:{{{mother|}}}|&nbsp;and {{C|{{{mother|}}}}}}}.&nbsp;|{{#if:{{{mother|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|The eunuch child}}} of {{C|{{{mother|}}}}}.&nbsp;}}}}}}
 
<!--MORTAL: Name-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|{{#if:{{{name|}}}|{{{name|}}}}}{{#if:{{{nickname|}}}|&nbsp;or {{{nickname|}}}}}}}
 
<!--VAMPIRE: Name-->{{#ifeq:{{lc:{{{type|}}}}}|vampire| }}
 
<!--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.}}|}}
 
 
<!--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>
==Example use==
==Example use==
  <nowiki>{{Character |type = <animal/mortal/ghoul/contact>
  <nowiki>{{Character |type = <animal/mortal/ghoul/contact>

Revision as of 20:06, 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

† Andreas Broström

 ♂



 22 (10) year. (1988-2010)








{{#ifeq:ghoul|ghoul| 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

 ♂

 23 year. (1988)







Erik Eriksson


 is born 1988

{{#ifeq:mortal|ghoul| is the ghoul to a unknown kindred. is born 1988