Template:Character: Difference between revisions
Jump to navigation
Jump to search
GameMaster (talk | contribs) No edit summary |
GameMaster (talk | contribs) 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> | ||
}} < | }} <!--TOPIC START--> | ||
: <!-- | |||
<!--ALL: Topic-->{{#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]]}} | |||
:<!--STORRY START--> | |||
<!--MORTAL: Parents-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|{{#if:{{{father|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|The eunuch child}}} of {{C|{{{father|}}}}}{{#if:{{{mother|}}}| and {{C|{{{mother|}}}}}}}. |{{#if:{{{mother|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|The eunuch child}}} of {{C|{{{mother|}}}}}. }}}}}} | |||
<!--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|}}}| and {{C|{{{mother|}}}}}}}. |{{#if:{{{mother|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|The eunuch child}}} of {{C|{{{mother|}}}}}. }}}}}} | |||
<!--MORTAL: Name-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|{{#if:{{{name|}}}|{{{name|}}}}}{{#if:{{{nickname|}}}| or {{{nickname|}}}}}}} | |||
<!--VAMPIRE: Name-->{{#ifeq:{{lc:{{{type|}}}}}|vampire| }} | |||
<!--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.}}|}} | |||
<!--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> | |||
==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
♂
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.
♂
23 year. (1988)
Erik Eriksson
is born 1988
{{#ifeq:mortal|ghoul| is the ghoul to a unknown kindred. is born 1988