Difference between revisions of "Template:Infobox deity/doc"
imported>Sajinsm |
imported>Dm51c (added fields to accurately describe avatar in hinduism) |
||
| (19 intermediate revisions by 12 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE. --> | + | <!-- PLEASE ADD TEMPLATE CATEGORIES AT THE BOTTOM OF THIS PAGE. --> |
| − | {{Lua|Module: | + | {{Lua|Module:InfoboxImage|Module:WikidataIB|Module:Check for unknown parameters}} |
{{Tracks Wikidata|P18|cat=No local image but image on Wikidata}} | {{Tracks Wikidata|P18|cat=No local image but image on Wikidata}} | ||
| Line 7: | Line 7: | ||
== All fields == | == All fields == | ||
| − | {{Parameter names example | type | name | deity_of | member_of | image | alt | caption | other_names | hiro | Old_Norse | script_name | script | affiliation | cult_center | abode | planet | mantra | weapon | battles | artifacts | animals | symbol | day | color | number | consort | parents | siblings | offspring | army | mount | texts | Greek_equivalent | Roman_equivalent | Etruscan_equivalent | Christian_equivalent | Slavic_equivalent | Hinduism_equivalent | Canaanite_equivalent | equivalent1_type | equivalent1 | equivalent2_type | equivalent2 | region | ethnic_group | festivals | height | age | tree | predecessor | successor | adherents | gender }} | + | {{Parameter names example | type | name | deity_of | member_of | image | alt | caption | other_names | hiro | Old_Norse | script_name | script | affiliation | cult_center | abode | planet | mantra | weapon | battles | artifacts | animals | symbol | day | color | number | consort | parents | siblings | offspring | army | mount | texts | Greek_equivalent | Roman_equivalent | Etruscan_equivalent | Christian_equivalent |Sanamahism_equivalent| Slavic_equivalent | Hinduism_equivalent | Canaanite_equivalent | equivalent1_type | equivalent1 | equivalent2_type | equivalent2 | region | ethnic_group | festivals | height | age | tree | predecessor | successor | adherents | gender | venerated_in}} |
<pre style="overflow:auto"> | <pre style="overflow:auto"> | ||
| Line 20: | Line 20: | ||
| other_names = | | other_names = | ||
| hiro = | | hiro = | ||
| + | | avatar_birth = | ||
| + | | avatar_end = | ||
| Old_Norse = | | Old_Norse = | ||
| script_name = | | script_name = | ||
| Line 51: | Line 53: | ||
| texts = | | texts = | ||
| gender = | | gender = | ||
| − | | Greek_equivalent | + | | Greek_equivalent = |
| − | | Roman_equivalent | + | | Roman_equivalent = |
| − | | Etruscan_equivalent | + | | Etruscan_equivalent = |
| − | | Christian_equivalent = | + | | Christian_equivalent = |
| − | | Slavic_equivalent | + | | Islamic_equivalent = |
| − | | Hinduism_equivalent | + | | Sanamahism_equivalent = |
| − | | Canaanite_equivalent = | + | | Slavic_equivalent = |
| + | | Hinduism_equivalent = | ||
| + | | Canaanite_equivalent = | ||
| equivalent1_type = | | equivalent1_type = | ||
| equivalent1 = | | equivalent1 = | ||
| Line 71: | Line 75: | ||
==Examples== | ==Examples== | ||
| − | {{Infobox deity <!--Wikipedia:WikiProject Hindu mythology--> | + | {{Infobox deity<!--Wikipedia:WikiProject Hindu mythology--> |
| − | | type | + | | type = Hindu |
| − | | name | + | | name = Ganesha |
| − | | image | + | | gender = Male |
| − | | caption | + | | father = [[Shiva]] |
| − | | alt | + | | mother = [[Parvati]] |
| − | | affiliation | + | | siblings = [[Kartikeya]] and [[Ashokasundari]] |
| − | | mantra | + | | deity_of = {{ubl |
| − | | | + | |God of New Beginnings, Success and Wisdom |
| − | | | + | |Remover of Obstacles}} |
| − | | mount | + | | 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]] | ||
}} | }} | ||
<pre style="overflow: auto"> | <pre style="overflow: auto"> | ||
| − | {{Infobox deity <!--Wikipedia:WikiProject Hindu mythology--> | + | {{Infobox deity<!--Wikipedia:WikiProject Hindu mythology--> |
| − | | type | + | | type = Hindu |
| − | | name | + | | name = Ganesha |
| − | | image | + | | gender = Male |
| − | | caption | + | | father = [[Shiva]] |
| − | | alt | + | | mother = [[Parvati]] |
| − | | affiliation | + | | siblings = [[Kartikeya]] and [[Ashokasundari]] |
| − | | mantra | + | | deity_of = {{ubl |
| − | | weapon | + | |God of New Beginnings, Success and Wisdom |
| − | | | + | |Remover of Obstacles}} |
| − | | mount | + | | 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]] | ||
}} | }} | ||
</pre> | </pre> | ||
{{clear}} | {{clear}} | ||
| + | |||
| + | ==TemplateData== | ||
| + | {{Collapse top|title=TemplateData}} | ||
| + | {{TemplateData header|noheader=1}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "description": "Creates an infobox for a fictional character of any type.", | ||
| + | "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": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "Image of the character. \"File:\" and wikilinking is not required. i.e. use {{para|image|Example.png}}." | ||
| + | }, | ||
| + | "image_upright": { | ||
| + | "label": "Image upright", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "The image size defaults to frameless (220px). The size should not be set to a value that would result in an image width greater than 270px. See [[#Calculating \"image_upright\"|help below]] for guidance on determining the value to be used." | ||
| + | }, | ||
| + | "alt": { | ||
| + | "label": "Alt", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "Alt text for image per [[WP:MOSALT]]." | ||
| + | }, | ||
| + | "caption": { | ||
| + | "label": "Caption", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": false, | ||
| + | "deprecated": false, | ||
| + | "description": "A caption explaining the image." | ||
| + | }, | ||
| + | "type": { | ||
| + | "label": "Type", | ||
| + | "description": "Religious in which the deity is worshipped", | ||
| + | "example": "Hindu for Rama", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "avatar_birth" : {}, | ||
| + | "avatar_end": {}, | ||
| + | "deity_of": {}, | ||
| + | "god_of": {}, | ||
| + | "alusi_of": {}, | ||
| + | "member_of": {}, | ||
| + | "qid": {}, | ||
| + | "suppressfields": {}, | ||
| + | "fetchwikidata": {}, | ||
| + | "image_size": {}, | ||
| + | "other_names": {}, | ||
| + | "hiro": {}, | ||
| + | "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": {}, | ||
| + | "equivalent1": {}, | ||
| + | "equivalent2": {}, | ||
| + | "equivalent1_type": {}, | ||
| + | "equivalent2_type": {}, | ||
| + | "child": {}, | ||
| + | "nocat_wdimage": {} | ||
| + | }, | ||
| + | "format": "{{_\n| _ = _\n}}" | ||
| + | } | ||
| + | </templatedata> | ||
| + | {{Collapse bottom}} | ||
== Tracking categories == | == Tracking categories == | ||
| Line 109: | Line 288: | ||
{{Religious infoboxes}} | {{Religious infoboxes}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. --> | <!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANK YOU. --> | ||
[[Category:Hinduism infobox templates|Deity]] | [[Category:Hinduism infobox templates|Deity]] | ||
| Line 116: | Line 295: | ||
[[Category:Religion and belief infobox templates|Deity]] | [[Category:Religion and belief infobox templates|Deity]] | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 13:22, 27 January 2021
| This is a documentation subpage for Template:Infobox deity. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | 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 character.
All fields
Template:Parameter names example
{{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 =
| hiro =
| 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 =
| Sanamahism_equivalent =
| Slavic_equivalent =
| Hinduism_equivalent =
| Canaanite_equivalent =
| equivalent1_type =
| equivalent1 =
| equivalent2_type =
| equivalent2 =
| region =
| ethnic_group =
| festivals =
| nirvana =
}}
Examples
| Ganesha | |
|---|---|
![]() Basohli miniature, c. 1730. National Museum, New Delhi. | |
| Affiliation | Script error: No such module "If empty". |
| Abode | Script error: No such module "If empty". |
| World | Script error: No such module "If empty". |
| Mantra | Template:Transl |
| Weapon | Script error: No such module "If empty". |
| Artifacts | Script error: No such module "If empty". |
| Symbols | Script error: No such module "If empty". |
| Color | Script error: No such module "If empty". |
| Mount | Mouse |
| Texts | Ganesha Purana, Mudgala Purana, Ganapati Atharvashirsa |
| Gender | Male |
| Temple | Script error: No such module "If empty". |
| Festivals | Ganesh Chaturthi |
| Personal information | |
| Parents | |
| Siblings | Kartikeya and Ashokasundari |
| Consorts | Script error: No such module "If empty". |
| Children | Script error: No such module "If empty". |
{{Infobox deity<!--Wikipedia:WikiProject Hindu mythology-->
| type = Hindu
| name = Ganesha
| gender = Male
| father = [[Shiva]]
| mother = [[Parvati]]
| siblings = [[Kartikeya]] and [[Ashokasundari]]
| 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 the monthly parameter usage report for this template.
TemplateData for Infobox deity Creates an infobox for a fictional character of any type.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tracking categories
- Category:Pages using infobox deity with unknown parameters (0)
- Category:Pages using infobox deity with color param (0)
- Category:Pages using infobox deity without type param (4)
