Template:Character: Difference between revisions

From Shadow Chronicles - Mortal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
  | #default = <strong class="warning">Warning! Missing parameter (type=<animal/mortal>).</strong>
  | #default = <strong class="warning">Warning! Missing parameter (type=<animal/mortal>).</strong>
}}* <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]]}}
}}* <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]]}}
: <!--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>
: <!--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|}}}|'s {{{group|}}}}}.|{{#if:{{{group|}}}|&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 [[{{{group|}}}]].|{{#if:{{{profession|}}}|&nbsp;{{CheckSex|{{{sex|}}}|He|She|{{{name|}}}}}{{#if:{{{deathYY|}}}|&nbsp;was|&nbsp;is}} a {{{profession|}}}}}}}}}
<!--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>
  <nowiki>{{raw:scGM:Character |type = <animal/mortal/contact>
|name                =  
|name                =  
Line 28: Line 29:
|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:45, 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 -->

}}