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> | ||
}} <div id="{{{name|}}}"></div>{{#if:{{{deathYY|}}}|† }}'''{{C|{{{name|}}}}}'''{{#if:{{{sex|}}}| {{isSex|{{{sex|}}}|||onlyicon}}}}{{#if:{{{bornYY}}}| {{isAge|{{{bornYY|}}}|{{{deathYY|}}}}}{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{ghoulYY}}}|({{isAge|{{{ghoulYY|}}}|{{{deathYY|}}}}})}}}} year ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}{{#if:{{{image|}}}|[[File:Character_{{{name}}}.{{{image|}}}| | }} <div id="{{{name|}}}"></div>{{#if:{{{deathYY|}}}|† }}'''{{C|{{{name|}}}}}'''{{#if:{{{sex|}}}| {{isSex|{{{sex|}}}|||onlyicon}}}}{{#if:{{{bornYY}}}| {{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]]}} | ||
: <!--Parent story-->{{#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|}}}}}. }}}}<!--Character story-->{{#if:{{{name|}}}|{{{name|}}}}}{{#if:{{{nickname|}}}| or {{{nickname|}}}}}<!--IfGhoul-->{{#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|}}}}}}}}}|}}<!--Birth-->{{#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> | : <!--Parent story-->{{#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|}}}}}. }}}}<!--Character story-->{{#if:{{{name|}}}|{{{name|}}}}}{{#if:{{{nickname|}}}| or {{{nickname|}}}}}<!--IfGhoul-->{{#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|}}}}}}}}}|}}<!--Birth-->{{#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== |
Revision as of 14:57, 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)
- Andreas Broström or Evul 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