Template:Character: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>*{{#if:{{{image|}}}|{{#ifeq:{{lc:{{{image|}}}}}|unknown|[[File:UnknownCharacter.gif|60px|right]]|[[File:Character_{{{name|}}}.{{{image|}}}|60px|right]]}}}}<span style="float: right">{{#ifeq:{{SERVERNAME}}|gamemaster.shadowchronicles.nu||[[scGM:Character:{{{name|}}}|GM]]}}</span><!--TOPIC START-->{{#switch: {{lc:{{{type|}}}}}
<includeonly>{{raw:scWOD:Character |type = {{{type|}}}
| animal  =  
|name                = {{{name|}}}
| mortal  = [[Category:Mortal Characters (Pages containing characters)]]
|nickname           = {{{nickname|}}}
| ghoul  = [[Category:Ghoul Characters (Pages containing characters)]]
|image              = {{{image|}}}
| vampire =
|title              = {{{title|}}}
| a_spirit =
|sex                = {{{sex|}}}
| spirit =
| #default = <strong class="warning">Warning! Missing parameter (type=<animal/mortal/ghoul>).</strong><br>
}}{{#if:{{{deathYY|}}}|†&nbsp;}}'''{{#ifeq:{{{name|}}}|unknown|{{#if:{{{nickname|}}}|"{{{nickname|}}}"|Unknown}}|{{C|{{{name|}}}}}}}'''<!--ALL: Sex-->{{#if:{{{sex|}}}|&nbsp;{{isSex|{{{sex|}}}|||onlyicon}}}}<!--
ANIMAL: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|animal|{{#if:{{{bornYY}}}|&nbsp;{{isAge|{{{bornYY|}}}|{{{deathYY|}}}}} year ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}}<!--
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}}}}})}}{{#ifeq:{{{embraceYY}}}||{{#if:{{{deathYY}}}|&nbsp;(Unknown-{{{deathYY}}})}}}}}}<!--
GHOUL: Date of birth-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{bornYY}}}|&nbsp;{{isAge|{{{bornYY|}}}|{{{deathYY|}}}}} ({{isAge|{{{ghoulYY|}}}|{{{deathYY|}}}}}) year ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}}}
:<!--STORY BLOCKS--><!--


--><!--ANIMAL story block-->{{#ifeq:{{lc:{{{type|}}}}}|animal|<!--
|species             = {{{species|}}}
Name-->{{#ifeq:{{{name|}}}|unknown|{{#if:{{{nickname|}}}|"{{{nickname|}}}"|Unknown}}|{{{name|}}}{{#if:{{{nickname|}}}|&nbsp;or "''{{{nickname|}}}''"}}}}{{#if:{{{species|}}}|&nbsp;is a {{{species|}}}.|&nbsp;is of a unknown species.}}<!--End of Block-->}}<!--


A_Spirit story block-->{{#ifeq:{{lc:{{{type|}}}}}|a_spirit|<!--
|dynasty            = {{{dynasty|}}}
Name-->{{#ifeq:{{{name|}}}|unknown|{{#if:{{{nickname|}}}|"{{{nickname|}}}"|Unknown}}|{{{name|}}}{{#if:{{{nickname|}}}|&nbsp;or "''{{{nickname|}}}''"}}}}{{#if:{{{umia|}}}|&nbsp;is{{#if:{{{ilthum|}}}|&nbsp;a {{{ilthum|}}}|&nbsp;of a unknown ilthum}} of the {{{umia|}}} umia.|&nbsp;is{{#if:{{{ilthum|}}}|&nbsp;a {{{ilthum|}}}|&nbsp;of a unknown ilthum}}&nbsp;of a unknown umia.}}<!--End of Block-->}} <!--


<!--MORTAL story block-->{{#ifeq:{{lc:{{{type|}}}}}|mortal|<!--
|bornYY={{{bornYY|}}} |bornMM={{{bornMM|}}} |bornDD={{{bornDD|}}}  
Parents-->{{#if:{{{father|}}}|{{printInputSex|{{{sex|}}}|Son|Daughter|Child}} of {{C|{{{father|}}}}}{{#if:{{{mother|}}}|&nbsp;and {{C|{{{mother|}}}}}}}.&nbsp;|{{#if:{{{mother|}}}|{{printInputSex|{{{sex|}}}|Son|Daughter|Child}} of {{C|{{{mother|}}}}}.&nbsp;}}}}{{{name|}}}{{#if:{{{nickname|}}}|&nbsp;or {{{nickname|}}}}}{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was born|&nbsp;is born}}}}{{#if:{{{bornYY}}}|&nbsp;{{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}|dmy}}}}{{#if:{{{deathYY}}}||.}}{{#if:{{{deathYY}}}|{{#if:{{{deathReason|}}}|&nbsp;died {{{deathReason|}}} {{{deathYY|}}}.|&nbsp;and died {{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}|dmy}}{{#if:{{{deathReason|}}}|.|&nbsp;due to unknown causes.}}}}}}<!--
|deathYY={{{deathYY|}}} |deathMM={{{deathMM|}}} |deathDD={{{deathDD|}}}  
-->{{#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-->&nbsp;{{{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|}}}.}}}}}}<!--
|deathReason        = {{{deathReason|}}}
Children-->{{#if:{{{child|}}}|&nbsp;Is the {{printInputSex|{{{sex|}}}|father|mother|parent}} of {{{child|}}}.}}<!--End of Block-->}}<!--


--><!--GHOUL story block-->{{#ifeq:{{lc:{{{type|}}}}}|ghoul|{{#if:{{{father|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|Child}}} of {{C|{{{father|}}}}}{{#if:{{{mother|}}}|&nbsp;and {{C|{{{mother|}}}}}}}.&nbsp;|{{#if:{{{mother|}}}|{{{printInputSex|{{{sex|}}}|Son|Daughter|Child}}} of {{C|{{{mother|}}}}}.&nbsp;}}}}{{{name|}}}{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was|&nbsp;is}}}}&nbsp;the ghoul to{{#if:{{{regnant|}}}|{{#ifeq:{{{regnant|}}}|this|&nbsp;{{PAGENAME}}|&nbsp;{{C|{{{regnant|}}}}}|&nbsp;a unknown kindred}}}}.<!--
|father             = {{{father|}}}
GhoulDate-->{{#if:{{{ghoulYY}}}|&nbsp;{{printInputSex|{{{sex|}}}|He was ghouled|She was ghouled|Ghouled}}&nbsp;{{printInputDate|{{{ghoulYY|}}}|{{{ghoulMM|}}}|{{{ghoulDD|}}}|dmy}}{{#if:{{{deathYY|}}}|&nbsp;made|&nbsp;making}}{{printInputSex|{{{sex|}}}|&nbsp;him|&nbsp;her|{{{name|}}}}} look {{#if:{{{bornYY|}}}|{{#expr: {{GAMEYEAR}}-{{{bornYY|}}}-{{#expr: {{GAMEYEAR}}-{{{ghoulYY|}}}}}}} years old.<!--
|mother             = {{{mother|}}}
Birth-->{{#if:{{{bornYY}}}|&nbsp;{{{name|}}}}}}}}}{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was born|&nbsp;is born}}}}{{#if:{{{bornYY}}}|&nbsp;{{printInputDate|{{{bornYY|}}}|{{{bornMM|}}}|{{{bornDD|}}}|dmy}}}}<!--
Death-->{{#if:{{{deathYY}}}||.}}{{#if:{{{deathYY}}}|&nbsp;and{{#if:{{{deathReason|}}}|&nbsp;{{{deathReason|}}}|&nbsp;died}}&nbsp;{{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}}}{{#if:{{{deathReason|}}}|.|&nbsp;due to unknown causes.}}}}<!--
-->{{#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|}}}.}}}}}}<!--End of Block-->}}<!--


--><!--VAMPIRE story block
|mentor              = {{{mentor|}}}
-->{{#ifeq:{{lc:{{{type|}}}}}|vampire|<!--
Name-->{{#if:{{{nickname|}}}|{{{nickname|}}}|{{{name|}}}}}<!--
Clan-->{{#if:{{{clan|}}}|&nbsp;of{{#if:{{{bloodline|}}}|&nbsp;the [[{{{bloodline|}}}]] bloodline|&nbsp;clan [[{{{clan|}}}]]}}|&nbsp;of unknown clan}}<!--
Covenant-->{{#if:{{{coveanant|}}}|{{#if:{{{clan|}}}|&nbsp;is a member of {{{covenant|}}}.}}|{{#if:{{{clan|}}}|}}}}<!--
EmbraceDate-->{{#if:{{{deathYY|}}}|.}}{{#if:{{{deathYY|}}}|&nbsp;Was embraced|&nbsp;is embraced}}{{#if:{{{embraceYY|}}}|&nbsp;{{PrintInputDate|{{{embraceYY|}}}|{{{embraceMM|}}}|{{{embraceDD|}}}|dmy}}}}{{#if:{{{sire|}}}|&nbsp;by {{C|{{{sire|}}} }}|&nbsp;by a unknown sire.}}<!--
Death-->{{#if:{{{deathReason|}}}|{{#if:{{{deathYY}}}|{{#if:{{{sire|}}}|&nbsp;and&nbsp;|&nbsp;{{#explode:{{{name|}}}| |0}}&nbsp;}}{{{deathReason|}}}. |&nbsp;died&nbsp;{{printInputDate|{{{deathYY|}}}|{{{deathMM|}}}|{{{deathDD|}}}|dmy}}{{#if:{{{deathReason|}}}|.|&nbsp;due to unknown causes.}}}}}}<!--
Child-->{{#if:{{{child|}}}|&nbsp;{{#explode:{{{name|}}}| |0}} is the sire of {{{child|}}}.}}<!--
Covenant-->{{#if:{{{covenant|}}}|&nbsp;{{printInputSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{deathYY|}}}|&nbsp;was&nbsp;|&nbsp;is&nbsp;}}a member of {{{covenant|}}}.}}<!--End of Block-->}}<!--


--><!--Description-->{{#if:{{{description|}}}|<br>{{{description|}}}}}</includeonly><noinclude>
|faction            = {{{faction|}}}
|group              = {{{group|}}}
 
|profession          = {{{profession|}}}
 
|sire                = {{{sire|}}}
|embraceYY={{{embraceYY|}}} |embraceMM={{{embraceMM|}}} |embraceDD={{{embraceDD|}}}
|clan                = {{{clan|}}}
|bloodline          = {{{bloodline|}}}
|covenant            = {{{covenant|}}}
|coterie            = <!-- List below --><!--Use {{G|}}-->{{{coterie|}}}
 
|ghoulYY={{{ghoulYY|}}} |ghoulMM={{{ghoulMM|}}} |ghoulDD={{{ghoulDD|}}}
|regnant            = {{{regnant|}}}
 
|tribe              = {{{tribe|}}}
|auspice            = {{{auspice|}}}
|pack                = {{{pack|}}}
 
|brood              = {{{brood|}}}
 
|child              = <!-- List below --><!--Use {{C|}}-->{{{child|}}}
 
|description        = <!-- List below -->{{{description|}}}
}}</includeonly><noinclude>
==Example use==
==Example use==
  <nowiki>{{Character |type = <animal/mortal/vampire/ghoul>
  <nowiki>{{Character |type = <animal/mortal/vampire/ghoul>
Line 173: Line 175:
}}</nowiki>
}}</nowiki>
}}
}}


[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 09:22, 31 August 2022

Example use

{{Character |type = <animal/mortal/vampire/ghoul>
|name                = 
|nickname            = 
|image               = <jpg/png/"or other format">
|title               = 
|sex                 = <male/female/other>

|dynasty             = 

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

|father              = 
|mother              = 

|mentor              = 

|faction             = 
|group               = 

|profession          = 

|sire                = 
|embraceYY= |embraceMM= |embraceDD= 
|clan                = 
|bloodline           = 
|covenant            = 
|coterie             = <!-- List below --><!--Use {{G|}}-->

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

|tribe               = 
|auspice             = 
|pack                = 

|brood               = 

|child               = <!-- List below --><!--Use {{C|}}-->

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

}}

Empty Templates

Animals

{{Character |type = animal
|name                = 
|nickname            = 
|image               = 
|title               = 
|sex                 = 

|species             = 

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

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

}}

Mortal

{{Character |type = mortal
|name                = 
|nickname            = 
|image               = 
|title               = 
|sex                 = 
|dynasty             = 

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

|father              = 
|mother              = 

|mentor              = 

|faction             = 
|group               = 
|profession          = 

|child               = <!-- List below --><!--Use {{C|}}-->

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

}}

Vampire

{{Character |type = vampire
|name                = 
|nickname            = 
|image               = 
|title               = 
|sex                 = 

|dynasty             = 

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

|father              = 
|mother              = 

|mentor              = 

|regnant             = 
|sire                = 
|embraceYY= |embraceMM= |embraceDD= 
|clan                = 
|bloodline           = 
|covenant            = 
|coterie             = 

|child               = <!-- List below --><!--Use {{C|}}-->

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

}}