Template:Infobox deity: Difference between revisions
('Equivalents' header did not previously appear if uppercase parameters were used.) |
Revo admin (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 229: | Line 229: | ||
| label66 = {{{equivalent5_type|}}} equivalent | | label66 = {{{equivalent5_type|}}} equivalent | ||
| data66 = {{#if:{{{equivalent5_type|}}}|{{{equivalent5|}}}}} | | data66 = {{#if:{{{equivalent5_type|}}}|{{{equivalent5|}}}}} | ||
| header74 = {{#if: {{{firstappearance|}}}{{{lastappearance|}}} | |||
| {{#if: {{{creator|}}} | |||
|Creator(s) and Appearances | |||
|Appearances}} | |||
}} | |||
| data75 = {{{creator|}}} | |||
| label75 = Creator{{Pluralize from text|{{{creator|}}}|likely=(s)|plural=s}} | |||
| data76 = {{{firstappearance|}}} | |||
| label76 = First Appearance | |||
| data77 = {{{lastappearance|}}} | |||
| label77 = Last Appearace | |||
}}{{#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_" | }}{{#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_" |
Latest revision as of 20:21, 7 August 2024
Expand the below text for usage and other information.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.
This template uses Lua: |
The template can be used for any god, deity or mythological figure who is worshiped in a religion or cult. For other mythological figures, please consider other templates like Template:Infobox mythical creature or Template:Infobox character.
All fields
{{{name}}} | |
---|---|
{{{deity_of}}} | |
Member of {{{member_of}}} | |
[[File:{{{image}}}|frameless|alt={{{alt}}}]] | |
Other names | {{{other_names}}} |
Name in hieroglyphs | {{{hiero}}} |
Name in Old Norse | {{{Old_Norse}}} |
{{{script_name}}} | {{{script}}} |
Venerated in | {{{venerated_in}}} |
Affiliation | {{{affiliation}}} |
Major cult center | {{{cult_center}}} |
Predecessor | {{{predecessor}}} |
Successor | {{{successor}}} |
Abode | {{{abode}}} |
Planet | {{{planet}}} |
Mantra | {{{mantra}}} |
Weapon | {{{weapon}}} |
Army | {{{army}}} |
Battles | {{{battles}}} |
Artifacts | {{{artifacts}}} |
Animals | {{{animals}}} |
Symbol | {{{symbol}}} |
Adherents | {{{adherents}}} |
Height | {{{height}}} |
Age | {{{age}}} |
Tree | {{{tree}}} |
Day | {{{day}}} |
Color | {{{color}}} |
Number | {{{number}}} |
Mount | {{{mount}}} |
Texts | {{{texts}}} |
Gender | {{{gender}}} |
Region | {{{region}}} |
Ethnic group | {{{ethnic_group}}} |
Festivals | {{{festivals}}} |
Personal information | |
Parents | {{{parents}}} |
Siblings | {{{siblings}}} |
Consort | {{{consort}}} |
Offspring | {{{offspring}}} |
Equivalents | |
Greek equivalent | {{{Greek_equivalent}}} |
Roman equivalent | {{{Roman_equivalent}}} |
Etruscan equivalent | {{{Etruscan_equivalent}}} |
Christian equivalent | {{{Christian_equivalent}}} |
Slavic equivalent | {{{Slavic_equivalent}}} |
Hinduism equivalent | {{{Hinduism_equivalent}}} |
Canaanite equivalent | {{{Canaanite_equivalent}}} |
Indo-European equivalent | {{{Indo-european_equivalent}}} |
{{{equivalent1_type}}} equivalent | {{{equivalent1}}} |
{{{equivalent2_type}}} equivalent | {{{equivalent2}}} |
{{{equivalent3_type}}} equivalent | {{{equivalent3}}} |
{{{equivalent4_type}}} equivalent | {{{equivalent4}}} |
{{{equivalent5_type}}} equivalent | {{{equivalent5}}} |
{{Infobox deity
| type =
| name =
| deity_of = <!-- or god_of / Alusi_of -->
| member_of =
| image =
| alt = <!-- for alternate text of the title image per [[WP:ALT]] -->
| caption =
| other_names =
| hiero =
| avatar_birth =
| avatar_end =
| Old_Norse =
| script_name =
| script =
| affiliation = <!-- or | associate = -->
| cult_center = <!-- or | cult_centre = -->
| abode = <!-- or | abodes = -->
| planet = <!-- or | world = -->
| mantra =
| mantra benefits =
| weapon = <!-- or | weapons = -->
| battles =
| artifacts = <!-- or | artefacts = -->
| animals =
| symbol = <!-- or | symbols = -->
| adherents =
| height =
| age =
| tree =
| day =
| color = <!-- or | colour = -->
| number =
| consort = <!-- or | consorts = -->
| parents =
| siblings =
| offspring = <!-- or | children = -->
| predecessor =
| successor =
| army =
| mount =
| texts =
| gender =
| Greek_equivalent =
| Roman_equivalent =
| Etruscan_equivalent =
| Christian_equivalent =
| Islamic_equivalent =
| Slavic_equivalent =
| Hinduism_equivalent =
| Canaanite_equivalent =
| Indo-european_equivalent =
| Maya_equivalent =
| Aztec_equivalent =
| equivalent1_type =
| equivalent1 =
| equivalent2_type =
| equivalent2 =
| equivalent3_type =
| equivalent3 =
| equivalent4_type =
| equivalent4 =
| equivalent5_type =
| equivalent5 =
| region =
| ethnic_group =
| festivals =
| nirvana =
}}
Examples
Ganesha | |
---|---|
| |
Affiliation | Deva, Brahman (Ganapatya), Saguna Brahman (Panchayatana puja) |
Abode | • Mount Kailash (with parents Shiva and Parvati) , • Ganeshloka |
Mantra | Oṃ Shri Gaṇeśāya Namaḥ Oṃ Gaṃ Gaṇapataye Namaḥ |
Weapon | Paraśu (axe), pāśa (noose), aṅkuśa (elephant goad) |
Symbols | Swastika, Om, Modak |
Mount | Mouse |
Texts | Ganesha Purana, Mudgala Purana, Ganapati Atharvashirsa |
Gender | Male |
Festivals | Ganesh Chaturthi |
Personal information | |
Parents | |
Siblings | Kartikeya |
Consorts | |
Children | Shubha, Labha, Santoshi Mata |
{{Infobox deity<!--Wikipedia:WikiProject Hindu mythology-->
| type = Hindu
| name = Ganesha
| gender = Male
| father = [[Shiva]]
| mother = [[Parvati]]
| siblings = [[Kartikeya]]
| deity_of = {{ubl
|God of New Beginnings, Success and Wisdom
|Remover of Obstacles}}
| image = Ganesha Basohli miniature circa 1730 Dubost p73.jpg
| caption = [[Basohli]] miniature, c. 1730. [[National Museum, New Delhi]].
| alt = Attired in an orange dhoti, an elephant-headed man sits on a large lotus. His body is red in colour and he wears various golden necklaces and bracelets and a snake around his neck. On the three points of his crown, budding lotuses have been fixed. He holds in his two right hands the rosary (lower hand) and a cup filled with three modakas (round yellow sweets), a fourth modaka held by the curving trunk is just about to be tasted. In his two left hands, he holds a lotus in the upper hand and an axe in the lower one, with its handle leaning against his shoulder.
| affiliation = [[Deva (Hinduism)|Deva]], [[Brahman]] ([[Ganapatya]]), [[Saguna Brahman]] ([[Panchayatana puja]])
| mantra = {{IAST|Oṃ Shri Gaṇeśāya Namaḥ<br>Oṃ Gaṃ Gaṇapataye Namaḥ}}
| abode =• '''[[Mount Kailash]]''' (with parents [[Shiva]] and [[Parvati]]) ,<br>• '''Ganeshloka'''
| weapon = [[Parashu|{{IAST|Paraśu}} (axe)]], [[Pasha (Hinduism)|{{IAST|pāśa}} (noose)]], [[Elephant goad|{{IAST|aṅkuśa}} (elephant goad)]]
| consorts = {{ubl
| [[Riddhi]] (Prosperity)
| [[Siddhi]] (Attainment)
| [[Buddhi]] (Intelligence)
}}
| mount = [[Mouse]]
| symbols = [[Swastika]], [[Om]], [[Modak]]
| festivals = [[Ganesh Chaturthi]]
| texts = ''[[Ganesha Purana]]'', ''[[Mudgala Purana]]'', ''[[Ganapati Atharvashirsa]]''
| children = Shubha, Labha, [[Santoshi Mata]]
}}
TemplateData
TemplateData
|
---|
See a monthly parameter usage report for Template:Infobox deity in articles based on its TemplateData.
TemplateData for Infobox deity <templatedata>
{
"description": "",
"params": {
"name": {
"label": "Name",
"type": "string",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Character name to display in top header (default = PAGENAME)."
},
"image": {
"label": "Image",
"type": "wiki-file-name",
"required": false,
"suggested": false,
"deprecated": false,
"description": "Image of the character. \"File:\" and wikilinking is not required. i.e. use "avatar_birth" : {}, "avatar_end": {}, "deity_of": {}, "god_of": {}, "alusi_of": {}, "member_of": {}, "qid": {}, "suppressfields": {}, "fetchwikidata": {}, "image_size": {}, "other_names": {}, "hiero": {}, "old_norse": {}, "script_name": {}, "script": {}, "venerated_in": {}, "associate": {}, "affiliation": {}, "cult_centre": {}, "cult_center": {}, "predecessor": {}, "successor": {}, "abode": {}, "abodes": {}, "planet": {}, "world": {}, "mantra": {}, "weapon": {}, "weapons": {}, "army": {}, "battles": {}, "artefacts": {}, "artifacts": {}, "animals": {}, "symbol": {}, "symbols": {}, "adherents": {}, "height": {}, "age": {}, "tree": {}, "day": {}, "complexion": {}, "colour": {}, "color": {}, "number": {}, "mount": {}, "texts": {}, "gender": {}, "region": {}, "ethnic_group": {}, "temples": {}, "temple": {}, "festivals": {}, "birth_name": {}, "birth_date": {}, "birth_place": {}, "death_date": {}, "death_place": {}, "spouse": {}, "children": {}, "father": {}, "mother": {}, "siblings": {}, "dynasty": {}, "birthname": {}, "moksha_date": {}, "moksha_place": {}, "parents": {}, "consort": {}, "consorts": {}, "offspring": {}, "greek_equivalent": {}, "roman_equivalent": {}, "norse_equivalent": {}, "etruscan_equivalent": {}, "christian_equivalent": {}, "slavic_equivalent": {}, "hinduism_equivalent": {}, "canaanite_equivalent": {}, "Indo-european_equivalent": {}, "equivalent1": {}, "equivalent2": {}, "equivalent3": {}, "equivalent4": {}, "equivalent5": {}, "equivalent1_type": {}, "equivalent2_type": {}, "equivalent3_type": {}, "equivalent4_type": {}, "equivalent5_type": {}, "child": {}, "nocat_wdimage": {} }, "format": "Template:\n" } </templatedata> |
Color template
If “|type= “ is filled with any of the following inputs, it will use colors from the infobox drawn from Template:Infobox deity/color
|type = Input | Color style output | Sidebar matching? | Footer matching? | |
---|---|---|---|---|
Akan | #FFD700 | No | Yes | |
Arabian | #CDC8B8 | |||
Aztec | #00A86B | |||
Australian | style="background-color:#eba9ee" | #eba9ee | No | No |
Bantu | #BDFDFB | |||
Canaanite | #800080 | |||
Eblaite | #008113 | |||
Edo | #93C572 | |||
Egyptian | #DECD87 | Yes | Yes | |
Elamite | #159E4F | |||
Etruscan | #F7E3CD | |||
Greek | #CEF2E0 | |||
Hindu | #FFC569 | Yes | Yes | |
Hittite | #021AF2 | |||
Hurrian | #4B539C | |||
Igbo | #ACE1AF | Yes | Yes | |
Indo-European | #006400 | |||
Irish | #90DB90 | |||
Jain | #F5DEB3 | |||
Japanese, Shinto | #A12F25 | Yes | No | |
Kongo | #E1BAE7 | Yes | Yes | |
Mayan | #50C578 | |||
Meitei | #00FF00 | |||
Mesopotamian | #228B22 | |||
Muisca | #FFD500 | |||
Norse | #D6DBBE | Yes | ||
Nubian | #F0E4AE | |||
Phillippine | #F6E396 | |||
Polynesian, Hawaiian | #AFEEEE | No | No | |
Roman | #F0ACAC | Yes Yes | ||
Slavic | #CD0000 | No sidebar | No | |
Turkic | #00ABC2 | |||
Ugaritic | #00817D | |||
Yoruba | #93C572 | Yes | Yes |
Tracking categories
- Category:Pages using infobox deity with unknown parameters (6)
- Category:Pages using infobox deity with color param (2)
- Category:Pages using infobox deity without type param (1)
- Export this template, then import to install it.
Use edit summary:Copied from [[w:c:templates:Template:Infobox deity]]
to properly attribute this template's editors.
- There is no additional installation instructions for this template. If there is any, you may create it at Template:Infobox deity/install.
- Pages with script errors
- Pages with syntax highlighting errors
- Infobox templates
- Pages using infobox deity without type param
- Lua-based templates
- Templates tracking Wikidata
- Pages using infobox deity with color param
- Templates using TemplateData
- Hinduism infobox templates
- Igbo templates
- Egypt infobox templates
- Religion and belief infobox templates
- Templates that add a tracking category