Difference between revisions of "Template:Infobox epic character"

From blackwiki
Jump to navigation Jump to search
imported>Capankajsmilyo
(Parents)
imported>Capankajsmilyo
(redirect, its substantially the same)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Infobox
+
#REDIRECT [[Template:Infobox character]]
|bodystyle    = border-spacing: 2px 5px;
 
 
 
|above        = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
 
|abovestyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
 
 
 
| subheader = {{#ifeq:{{lc:{{{embed}}}}}|yes||{{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}}}
 
 
 
| subheader2 = {{#if:{{#invoke:Wikidata|getValue|P1441|FETCH_WIKIDATA}}{{{epic|}}}|''{{#invoke:Wikidata|getValue|P1441|{{{epic|FETCH_WIKIDATA}}}}}'' character}}
 
 
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:Wikidata|getValue|P18|{{{image|FETCH_WIKIDATA}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
 
|caption      = {{{caption|}}}
 
 
 
|headerstyle  = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#DEDEE2}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}}
 
 
 
|header2 = {{ #if: {{{race|}}}{{{resemblance|}}}{{{other_texts|}}} | Information }}
 
 
 
|label3  = Race
 
|data3  = {{{race|}}}
 
 
 
|label4  = Resemblance
 
|data4  = {{{resemblance|}}}
 
 
 
|label7 = Other texts
 
|data7 = {{{other_texts|}}}
 
 
 
|header8 = {{#if:{{{title|}}}{{{kingdom|}}}{{{predecessor|}}}|{{{title|}}} of {{{kingdom|}}}}}
 
<!--|header8 = {{#invoke:Wikidata|getValue|P39|FETCH_WIKIDATA}}{{#invoke:WikidataIB|getQualifierValue|P39|qual=P642||fetchwikidata=ALL}}-->
 
 
 
|label9 = Army of
 
|data9 = {{{army_of|}}}
 
 
 
|label10 = Predecessor
 
|data10 = {{{predecessor|}}}
 
 
 
|label11 = Successor
 
|data11 = {{{successor|}}}
 
 
 
|label12 = Teacher(s)
 
|data12 = {{#invoke:Wikidata|getValue|P1066|{{{teachers|FETCH_WIKIDATA}}}}}
 
 
 
|label13 = Disciple(s)
 
|data13 = {{#invoke:Wikidata|getValue|P802|{{{disciples|FETCH_WIKIDATA}}}}}
 
 
 
|header20  = {{#if:{{{spouse|}}}{{{children|}}}{{{father|}}}{{{mother|}}}{{{birth_place|}}}{{{dynasty|}}}{{#invoke:Wikidata|getValue|P19|FETCH_WIKIDATA}}{{#invoke:Wikidata|getValue|P20|FETCH_WIKIDATA}}{{#invoke:Wikidata|getValue|P22|FETCH_WIKIDATA}}{{#invoke:Wikidata|getValue|P25|FETCH_WIKIDATA}}{{#invoke:Wikidata|getValue|P26|FETCH_WIKIDATA}}{{#invoke:Wikidata|getValue|P40|FETCH_WIKIDATA}}{{#invoke:Wikidata|getValue|P53|FETCH_WIKIDATA}}{{#invoke:Wikidata|getValue|P69|FETCH_WIKIDATA}}{{#invoke:Wikidata|getValue|P3373|FETCH_WIKIDATA}}|Personal Information}}
 
 
 
|label21  = Born
 
|data21  = {{#invoke:Wikidata|getValue|P19|{{{birth_place|FETCH_WIKIDATA}}}}}
 
 
 
|label22  = Died
 
|data22  = {{#invoke:Wikidata|getValue|P20|{{{death_place|FETCH_WIKIDATA}}}}}
 
 
 
|label23  = Spouse(s)
 
|data23  = {{#invoke:Wikidata|getValue|P26|{{{spouse|FETCH_WIKIDATA}}}}}
 
 
 
|label24  = Children
 
|data24  = {{#invoke:Wikidata|getValue|P40|{{{children|FETCH_WIKIDATA}}}}}
 
 
 
| label29 = Parent(s)
 
|  data29 = {{#if:{{{parents|}}}
 
|{{{parents|}}}
 
|{{unbulleted list
 
    |1={{#if:{{#invoke:Wikidata|getValue|P22|{{{father|FETCH_WIKIDATA}}}}}|{{#invoke:Wikidata|getValue|P22|{{{father|FETCH_WIKIDATA}}}}} (father)}}
 
    |2={{#if:{{#invoke:Wikidata|getValue|P25|{{{mother|FETCH_WIKIDATA}}}}}|{{#invoke:Wikidata|getValue|P25|{{{mother|FETCH_WIKIDATA}}}}} (mother)}}
 
  }}
 
}}
 
 
 
|label27 = Sibling(s)
 
|data27 = {{#invoke:Wikidata|getValue|P3373|{{{siblings|FETCH_WIKIDATA}}}}}
 
<!--
 
|label35  = Occupation
 
|data35  = {{#invoke:Wikidata|getValue|P106|{{{occupation|FETCH_WIKIDATA}}}}}
 
-->
 
|label37 = Dynasty
 
|data37 = {{#invoke:Wikidata|getValue|P53|{{{dynasty|FETCH_WIKIDATA}}}}}
 
 
 
|label38 = Education
 
|data38 = {{#invoke:Wikidata|getValue|P69|{{{education|FETCH_WIKIDATA}}}}}
 
 
 
|label39 = Weapon(s)
 
|data39 = {{#invoke:Wikidata|getValue|P520|{{{weapon|FETCH_WIKIDATA}}}}}
 
 
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox epic character with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox epic character]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | birth_place | caption | children | death_place | disciples | dynasty | education | epic | father | image | kingdom |  mother | other_texts | parents | predecessor | race | resemblance |  spouse | successor | teachers | title }}{{#if:{{{children|}}}{{{dynasty|}}}{{{education|}}}{{{father|}}}{{{mother|}}}{{{spouse|}}}|[[Category:Pages using infobox epic character with wikidata params]]}}<includeonly>{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude>
 
{{Documentation}}</noinclude>
 

Latest revision as of 13:47, 2 May 2017