Template:Character: Difference between revisions
Jump to navigation
Jump to search
GameMaster (talk | contribs) No edit summary |
GameMaster (talk | contribs) 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> | ||
}} | }}{{#if:{{{deathYY|}}}|† }}'''{{C|{{{name|}}}}}'''<!--ALL: Sex-->{{#if:{{{sex|}}}| {{isSex|{{{sex|}}}|||onlyicon}}}}<!--MORTAL: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|{{#if:{{{bornYY}}}| {{isAge|{{{bornYY|}}}|{{{deathYY|}}}}} year. ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}}<!--VAMPIRE: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|vampire|{{#if:{{{embraceYY}}}| {{isAge|{{{embraceYY|}}}|{{{deathYY|}}}}} year. ({{{embraceYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}}<!--GHOUL: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{bornYY}}}| {{isAge|{{{bornYY|}}}|{{{deathYY|}}}}} ({{isAge|{{{ghoulYY|}}}|{{{deathYY|}}}}}) year. ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}}<!--ALL: Image-->{{#if:{{{image|}}}|[[File:Character_{{{name}}}.{{{image|}}}|80px|right]]}} | ||
<!--ALL: Sex-->{{#if:{{{sex|}}}| {{isSex|{{{sex|}}}|||onlyicon}}}} | |||
<!--MORTAL: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|{{#if:{{{bornYY}}}| {{isAge|{{{bornYY|}}}|{{{deathYY|}}}}} year. ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}} | |||
<!--VAMPIRE: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|vampire|{{#if:{{{embraceYY}}}| {{isAge|{{{embraceYY|}}}|{{{deathYY|}}}}} year. ({{{embraceYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}} | |||
<!--GHOUL: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{bornYY}}}| {{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}}}| was born| is born}}}}{{#if:{{{bornYY}}}| {{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}}}}}{{#if:{{{deathYY}}}| and died {{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}}}{{#if:{{{deathReason|}}}| {{{deathReason|}}}| due to unknown causes.}}}}}} | <!--MORTAL: Birth date story-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}| was born| is born}}}}{{#if:{{{bornYY}}}| {{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}}}}}{{#if:{{{deathYY}}}| and died {{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}}}{{#if:{{{deathReason|}}}| {{{deathReason|}}}| due to unknown causes.}}}}}} | ||
<!--GHOUL: Birth date story-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}| was| is}}}} the ghoul to{{#if:{{{regnant|}}}| {{C|{{{regnant|}}}}}| a unknown kindred}}.{{#if:{{{ghoulYY}}}| Gholed {{printInputDate|{{{ghoulYY|}}}|{{{ghoulMM|}}}|{{{ghoulDD|}}}}}{{#if:{{{deathYY|}}}| made| making}}{{printInputSex|{{{sex|}}}| him| her|{{{name|}}}}} look {{#if:{{{bornYY|}}}|{{#expr: {{GAMEYEAR}}-{{{bornYY|}}}-{{#expr: {{GAMEYEAR}}-{{{ghoulYY|}}}}}}} years old.{{#if:{{{bornYY}}}| {{{name|}}}}}}}}}{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}| was born| is born}}}}{{#if:{{{bornYY}}}| {{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}}}}}{{#if:{{{deathYY}}}| and died {{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}}}{{#if:{{{deathReason|}}}| {{{deathReason|}}}| due to unknown causes.}}|}} | <!--GHOUL: Birth date story-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}| was| is}}}} the ghoul to{{#if:{{{regnant|}}}| {{C|{{{regnant|}}}}}| a unknown kindred}}.{{#if:{{{ghoulYY}}}| Gholed {{printInputDate|{{{ghoulYY|}}}|{{{ghoulMM|}}}|{{{ghoulDD|}}}}}{{#if:{{{deathYY|}}}| made| making}}{{printInputSex|{{{sex|}}}| him| her|{{{name|}}}}} look {{#if:{{{bornYY|}}}|{{#expr: {{GAMEYEAR}}-{{{bornYY|}}}-{{#expr: {{GAMEYEAR}}-{{{ghoulYY|}}}}}}} years old.{{#if:{{{bornYY}}}| {{{name|}}}}}}}}}{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}| was born| is born}}}}{{#if:{{{bornYY}}}| {{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}}}}}{{#if:{{{deathYY}}}| and died {{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}}}{{#if:{{{deathReason|}}}| {{{deathReason|}}}| due to unknown causes.}}|}}}} | ||
<!--Faction and Group story-->{{#if:{{{faction|}}}| {{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{profession|}}}|{{#if:{{{deathYY|}}}| was| is}}{{#ifeq:{{{faction|}}}|{{PAGENAME}}| the| a}} {{{profession|}}}|{{#ifeq:{{{faction|}}}|{{PAGENAME}}|{{#if:{{{deathYY|}}}| belonged| belong}}}} to the|[[{{{faction|}}}]]}}{{#if:{{{group|}}}|'s {{{group|}}}}}.|{{#if:{{{group|}}}| {{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{profession|}}}|{{#if:{{{deathYY|}}}| was| is}} a {{{profession|}}}|{{#if:{{{deathYY|}}}| belonged| belong}}}} to the [[{{{group|}}}]].|{{#if:{{{profession|}}}| {{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{deathYY|}}}| was| is}} a {{{profession|}}}.}}}}}}<!--Family story-->{{#ifeq:{{{type|}}}|mortal|{{#if:{{{child|}}}| {{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{faction|}}}| also|{{#if:{{{group|}}}| also}}}}{{#if:{{{deathYY}}}| had the following child(ren) {{{child|}}}.| have the following child(ren) {{{child|}}}.}}}}}}{{#if:{{{description|}}}|<br>{{{description|}}}}}</includeonly><noinclude> | <!--Faction and Group story-->{{#if:{{{faction|}}}| {{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{profession|}}}|{{#if:{{{deathYY|}}}| was| is}}{{#ifeq:{{{faction|}}}|{{PAGENAME}}| the| a}} {{{profession|}}}|{{#ifeq:{{{faction|}}}|{{PAGENAME}}|{{#if:{{{deathYY|}}}| belonged| belong}}}} to the|[[{{{faction|}}}]]}}{{#if:{{{group|}}}|'s {{{group|}}}}}.|{{#if:{{{group|}}}| {{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{profession|}}}|{{#if:{{{deathYY|}}}| was| is}} a {{{profession|}}}|{{#if:{{{deathYY|}}}| belonged| belong}}}} to the [[{{{group|}}}]].|{{#if:{{{profession|}}}| {{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{deathYY|}}}| was| is}} a {{{profession|}}}.}}}}}}<!--Family story-->{{#ifeq:{{{type|}}}|mortal|{{#if:{{{child|}}}| {{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{faction|}}}| also|{{#if:{{{group|}}}| also}}}}{{#if:{{{deathYY}}}| had the following child(ren) {{{child|}}}.| 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
- † Andreas Broström ♂ 22 (10) year. (1988-2010)
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