Template:Character: Difference between revisions

From Shadow Chronicles - Mortal
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{type|}}}}}
<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|}}}}}
| animal =
| animal  =
| mortal =
| mortal  = [[Category:Mortal Characters (Pages containing characters)]]
| #default = <strong class="warning">Warning! Missing parameter (type=<animal/mortal>).</strong>
| ghoul  = [[Category:Ghoul Characters (Pages containing characters)]]
}}* <div id="{{{name|}}}">{{#if:{{{deathYY|}}}|†&nbsp;}}'''{{C|{{{name|}}}}}'''{{#if:{{{sex|}}}|&nbsp;{{isSex|{{{sex|}}}|||onlyicon}}}}{{#if:{{{bornYY}}}|&nbsp;{{isAge|{{{bornYY|}}}|{{{deathYY|}}}}} year ({{{bornYY}}}{{#if:{{{deathYY}}}|-{{{deathYY}}}}})}}{{#if:{{{image|}}}|[[File:Character_{{{name}}}.{{{image|}}}|285px|right]]}}
| vampire =
: <!--Parent story-->{{#if:{{{father|}}}|{{{checkSex|Son|Daughter|The eunuch child}}} of {{C|{{{father|}}}}}{{#if:{{{mother|}}}|&nbsp;and {{C|{{{mother|}}}}}}}.&nbsp;|{{#if:{{{mother|}}}|{{{checkSex|Son|Daughter|The eunuch child}}} of {{C|{{{mother|}}}}}.&nbsp;}}}}<!--Character story-->{{#if:{{{name|}}}|{{{name|}}}}}{{#if:{{{nickname|}}}|&nbsp;or {{{nickname|}}}}}{{#if:{{{bornYY}}}|{{#if:{{{deathYY}}}|&nbsp;was born|&nbsp;is born}}}}{{#if:{{{bornYY}}}|&nbsp;{{{bornYY|}}}{{#if:{{{bornMM|}}}|-{{{bornMM|}}}{{#if:{{{bornDD|}}}|-{{{bornDD|}}}}}}}}}{{#if:{{{deathYY}}}|&nbsp;and died {{{deathYY|}}}{{#if:{{{deatMM|}}}|-{{{deathMM|}}}{{#if: {{{deathDD|}}}|-{{{deathDD|}}}}}}}{{#if:{{{deathReason|}}}|&nbsp;{{{deathReason|}}}|&nbsp;due to unknown causes.}}|.}}<!--Faction and Group story-->{{#if:{{{faction|}}}|&nbsp;{{CheckSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{profession|}}}|{{#if:{{{deathYY|}}}|&nbsp;was|&nbsp;is}}&nbsp;a {{{profession|}}}|{{#if:{{{deathYY|}}}|&nbsp;belonged|&nbsp;belong}}}} to the [[{{{faction|}}}]]}}{{#if:{{{group|}}}|{{#if:{{{faction|}}}|&nbsp;and|.&nbsp;{{CheckSex|{{{sex|}}}|He|She|{{{name|}}}}}}}{{#if:{{{faction|}}}||{{#if:{{{deathYY|}}}|&nbsp;belonged|&nbsp;belong}}}}&nbsp;to [[{{{group|}}}]].}}<!--Family story-->{{#ifeq:{{{type|}}}|mortal|{{#if:{{{child|}}}|&nbsp;{{CheckSex|{{{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>
| a_spirit =
  <nowiki>{{raw:scGM:Character |type = <animal/mortal/contact>
| spirit =
| #default = <strong class="warning">Warning! Missing parameter (type=<animal/mortal/ghoul>).</strong><br>
}}<span id="{{{name|}}}"></span>{{#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|<!--
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|<!--
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|<!--
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.}}}}}}<!--
 
FACTION: -->{{#if:{{{faction|}}}{{{group|}}}{{{profession|}}}|&nbsp;{{pronoun|{{{sex|}}}|He&nbsp;|She&nbsp;|{{{name|}}}&nbsp;}}{{#ifeq:{{{faction|}}}|{{PAGENAME}}|<!--
has faction    -->{{#if:{{{faction|}}}|{{#if:{{{deathYY|}}}|was&nbsp;|are&nbsp;}} a {{#if:{{{profession|}}}|{{{profession|}}}|}}{{#if:{{{group|}}}|&nbsp;in the {{{group|}}} subgroup.|.}}|<!--
has group      -->{{#if:{{{group|}}}|{{#if:{{{profession|}}}|{{#if:{{{deathYY|}}}|was&nbsp;|is&nbsp;}}a {{{profession|}}}|{{#if:{{{deathYY|}}}|was&nbsp;|is&nbsp;}} in the&nbsp;}}{{{group|}}}.|<!--
has profession  -->{{#if:{{{profession|}}}|{{#if:{{{deathYY|}}}|occupied&nbsp;|occupie&nbsp;}}{{pronoun|{{{sex|}}}|him&nbsp;|her&nbsp;|}}self as a {{{profession|}}}.|}}}}}}|<!--
(not in establishment)
has faction    -->{{#if:{{{faction|}}}|{{#if:{{{deathYY|}}}|belonged&nbsp;|belong&nbsp;}}to the [[{{{faction|}}}]]{{#if:{{{profession|}}}|&nbsp;as a {{{profession|}}}|}}{{#if:{{{group|}}}|&nbsp;in the {{{group|}}} subgroup.|.}}|<!--
has group      -->{{#if:{{{group|}}}|{{#if:{{{profession|}}}|{{#if:{{{deathYY|}}}|was&nbsp;|is&nbsp;}}a {{{profession|}}}|{{#if:{{{deathYY|}}}|was&nbsp;|is&nbsp;}} in the&nbsp;}}{{{group|}}}.|<!--
has profession  -->{{#if:{{{profession|}}}|{{#if:{{{deathYY|}}}|occupied&nbsp;|occupie&nbsp;}}{{pronoun|{{{sex|}}}|him&nbsp;|her&nbsp;|}}self as a {{{profession|}}}.|}}}}}}<!--End of Block-->}}}}<!--
 
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}}}}.<!--
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.<!--
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
-->{{#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>
==Example use==
<nowiki>{{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 -->
 
}}</nowiki>
 
==Empty Templates==
 
===Animals===
{{Hide||
  <nowiki>{{Character |type = animal
|name                =  
|name                =  
|nickname            =  
|nickname            =  
Line 12: Line 108:
|sex                =  
|sex                =  


|species            =
|bornYY= |bornMM= |bornDD=
|deathYY= |deathMM= |deathDD=
|deathReason        =
|description        = <!-- List below -->
}}</nowiki>
}}
===Mortal===
{{Hide||
<nowiki>{{Character |type = mortal
|name                =
|nickname            =
|image              =
|title              =
|sex                =
|dynasty            =  
|dynasty            =  


Line 25: Line 140:
|faction            =  
|faction            =  
|group              =  
|group              =  
|profession          =


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


|work               =  
|description        = <!-- List below -->
 
}}</nowiki>}}
 
===Vampire===
{{Hide||
<nowiki>{{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 -->
|description        = <!-- List below -->


}}</nowiki>[[Category:Templates]]</noinclude>
}}</nowiki>
}}
 
[[Category:Templates]]

Latest revision as of 13:55, 24 December 2023

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 -->

}}