Template:Character: Difference between revisions

From Shadow Chronicles - Mortal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{raw:scGM:Character |type = {{{type|}}}
<includeonly>{{#switch: {{lc:{{{type|}}}}}
|name               = {{{name|}}}
| animal =
|nickname            = {{{nickname|}}}
| mortal =
|image               = {{{image|}}}
| #default = <strong class="warning">Warning! Missing parameter (type=<animal/mortal>).</strong>
|title              = {{{title|}}}
}}* <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]]}}
|sex                = {{{sex|}}}
: <!--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>
 
  <nowiki>{{raw:scGM:Character |type = <animal/mortal/contact>
|dynasty            = {{{dynasty|}}}
 
|bornYY={{{bornYY|}}} |bornMM={{{bornMM|}}} |bornDD={{{bornDD|}}}  
|deathYY={{{deathYY|}}} |deathMM={{{deathMM|}}} |deathDD={{{deathDD|}}}  
|deathReason         = {{{deathReason|}}}
 
|father              = {{{father|}}}
|mother              = {{{mother|}}}
 
|mentor              = {{{mentor|}}}
 
|faction             = {{{faction|}}}
|group              = {{{group|}}}
 
|child              = <!-- List below -->
{{{child|}}}
 
|profession          = {{{profession|}}}
 
|description         = <!-- List below -->
{{{description|}}}
}}</includeonly><noinclude>
  <nowiki>{{Character |type = <animal/mortal/contact>
|name                =  
|name                =  
|nickname            =  
|nickname            =  
Line 51: Line 28:
|child              = <!-- List below -->
|child              = <!-- List below -->


|profession          =  
|work                =  


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


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

Revision as of 10:37, 2 April 2017

{{raw:scGM:Character |type = <animal/mortal/contact>
|name                = 
|nickname            = 
|image               = 
|title               = 
|sex                 = 

|dynasty             = 

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

|father              = 
|mother              = 

|mentor              = 

|faction             = 
|group               = 

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

|work                = 

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

}}