Template:Infobox deity: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
| decat = {{#if:{{{deity_of|}}}{{{god_of|}}}{{{alusi_of|}}}|yes|no}} <!-- avoid populating "no data rows" -->
| decat = {{#if:{{{deity_of|}}}{{{god_of|}}}{{{alusi_of|}}}|yes|no}} <!-- avoid populating "no data rows" -->


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getPreferredValue |P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes| maxvals=1|{{{image|}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getValue|rank=best|P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes| maxvals=1|{{{image|}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}


Line 21: Line 21:
| label3 = Name in [[Old Norse]]
| label3 = Name in [[Old Norse]]
| data3 = {{{old_norse|{{{Old_Norse|}}}}}}
| data3 = {{{old_norse|{{{Old_Norse|}}}}}}
<!--
 
| label4 = [[Devanagari]]
| label4 = [[Devanagari]]
| data4 = {{{devanagari|{{{Devanagari|}}}}}}
| data4 = {{{devanagari|{{{Devanagari|}}}}}}
Line 39: Line 39:
| label9 = [[Kannada language|Kannada]] transliteration
| label9 = [[Kannada language|Kannada]] transliteration
| data9 = {{{kannada_transliteration|{{{Kannada_transliteration|}}}}}}
| data9 = {{{kannada_transliteration|{{{Kannada_transliteration|}}}}}}
-->
 
| label10 = {{{script_name}}}
| label10 = {{{script_name}}}
| data10 = {{#if:{{{script_name|}}}|{{{script|}}} }}
| data10 = {{#if:{{{script_name|}}}|{{{script|}}} }}
Line 150: Line 150:
  }}
  }}


| label42 = {{#if:{{{consort|}}}|Consort|{{#if:{{{consorts|}}}|Consorts|Spouse}}}}
| label42 = Parents
| data42 = {{if empty| {{{consort|}}} | {{{consorts|}}} | {{{spouse|}}} }}
data42 = {{#if:{{{parents|}}}
 
| label43 = {{#if:{{{offspring|}}}|Offspring|Children}}
| data43 = {{if empty|{{{offspring|}}} | {{{children|}}} }}
 
| label44 = Parents
data44 = {{#if:{{{parents|}}}
  |{{{parents|}}}
  |{{{parents|}}}
  |{{unbulleted list
  |{{unbulleted list
Line 165: Line 159:
  }}
  }}


| label45 = Siblings
| label43 = Siblings
| data45 = {{{siblings|}}}
| data43 = {{{siblings|}}}
 
| label44 = {{#if:{{{consort|}}}|Consort|{{#if:{{{consorts|}}}|Consorts|Spouse}}}}
| data44 = {{if empty| {{{consort|}}} | {{{consorts|}}} | {{{spouse|}}} }}
 
| label45 = {{#if:{{{offspring|}}}|Offspring|Children}}
| data45 = {{if empty|{{{offspring|}}} | {{{children|}}} }}


| label46 = Dynasty
| label46 = Dynasty
Line 203: Line 203:
| data57 = {{#if:{{{equivalent2_type|}}}|{{{equivalent2|}}}}}
| data57 = {{#if:{{{equivalent2_type|}}}|{{{equivalent2|}}}}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox deity with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox deity]] with unknown parameter "_VALUE_"
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox deity with unknown parameters|_VALUE_{{PAGENAME}}]]}}|ignoreblank=y|preview=Page using [[Template:Infobox deity]] with unknown parameter "_VALUE_"
| abode | abodes | adherents | affiliation | age | alt | alusi_of | animals | army | artefacts | artifacts | associate | battles | birth_date | birth_name | birth_place | birthname | Canaanite_equivalent | canaanite_equivalent | caption | children | Christian_equivalent | christian_equivalent | color | colour | complexion | consort | consorts | cult_center | cult_centre | day | death_date | death_place | deity_of | Devanagari | devanagari | dynasty | ethnic_group | Etruscan_equivalent | etruscan_equivalent | equivalent1 | equivalent1_type | equivalent2 | equivalent2_type | father | festivals | gender | god_of | Greek_equivalent | greek_equivalent | height | Hinduism_equivalent | hinduism_equivalent | Hiro | hiro | image | image_upright | Kannada_script | kannada_script | Kannada_transliteration | kannada_transliteration | mantra | member_of | moksha_date | moksha_place | mother | mount | name | Norse_equivalent | norse_equivalent | number | offspring | Old_Norse | old_norse | other_names | parents | planet | predecessor | region | Roman_equivalent | roman_equivalent | Sanskrit_transliteration | sanskrit_transliteration | script | script_name | siblings | Slavic_equivalent | slavic_equivalent | spouse | successor | symbol | symbols | Tamil_script | tamil_script | Tamil_transliteration | tamil_transliteration | temple | temples | texts | tree | type | venerated_in | weapon | weapons | world  
| abode | abodes | adherents | affiliation | age | alt | alusi_of | animals | army | artefacts | artifacts | associate | battles | birth_date | birth_name | birth_place | birthname | Canaanite_equivalent | canaanite_equivalent | caption | children | Christian_equivalent | christian_equivalent | color | colour | complexion | consort | consorts | cult_center | cult_centre | day | death_date | death_place | deity_of | Devanagari | devanagari | dynasty | ethnic_group | Etruscan_equivalent | etruscan_equivalent | equivalent1 | equivalent1_type | equivalent2 | equivalent2_type | father | festivals | gender | god_of | Greek_equivalent | greek_equivalent | height | Hinduism_equivalent | hinduism_equivalent | Hiro | hiro | image | image_upright | mantra | member_of | moksha_date | moksha_place | mother | mount | name | Norse_equivalent | norse_equivalent | number | offspring | Old_Norse | old_norse | other_names | parents | planet | predecessor | region | Roman_equivalent | roman_equivalent | Sanskrit_transliteration | sanskrit_transliteration | script | script_name | siblings | Slavic_equivalent | slavic_equivalent | spouse | successor | symbol | symbols | temple | temples | texts | tree | type | venerated_in | weapon | weapons | world  
}}{{#if:{{{type|}}}||[[Category:Pages using infobox deity without type param]]}}{{#if:{{{color|}}}{{{colour|}}}|[[Category:Pages using infobox deity with color param]]}}<includeonly>{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly>{{compare|local={{{image|}}}}}<noinclude>
}}{{#if:{{{type|}}}||[[Category:Pages using infobox deity without type param]]}}{{#if:{{{color|}}}{{{colour|}}}|[[Category:Pages using infobox deity with color param]]}}<includeonly>{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly>{{compare|local={{{image|}}}}}<noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Latest revision as of 23:42, 13 December 2020