Difference between revisions of "Template:Infobox deity"
imported>Redtigerxyz (The Indic text box doesnot look good below) |
imported>Ms2ger m (+infobox class; cleanup) |
||
| Line 1: | Line 1: | ||
| − | {| | + | {| class="infobox" |
| − | | | + | |- |
| − | + | !colspan="2" style=" background-color:#FFC569; text-align: center; font-size: 110%;" | '''{{{Name}}}''' | |
| − | + | {{ | |
| − | + | #if: {{{Image<includeonly>|</includeonly>}}} |<tr><td style="font-size: 100%; text-align:center;" colspan="2">{{#if: {{{Caption<includeonly>|</includeonly>}}} |[[Image:{{{Image}}}|275px|{{{Caption}}}]]<br/>{{{Caption}}} |[[Image:{{{Image}}}|275px]]}}</td></tr> | |
| − | {{#if: {{{Image|}}} | | + | }}{{ |
| − | {{ | + | #if: {{{God_of<includeonly>|</includeonly>}}} | |
| − | {{#if: {{{God_of|}}} | | + | <tr><td colspan="2" style="text-align: center; font-style:italic;">God of {{{God_of}}}</td></tr> |
| − | + | }}{{ | |
| − | + | #if: {{{Devanagari<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">Devanagari:</th><td>{{{Devanagari}}}</td></tr> | |
| − | {{#if: {{{Devanagari|}}} | | + | }}{{ |
| − | + | #if: {{{Kannada<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">Kannada:</th><td>{{{Kannada}}}</td></tr> | |
| − | {{#if: {{{Kannada|}}} | | + | }}{{ |
| − | + | #if: {{{[[IAST]]_Transliteration<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">Sanskrit Transliteration:</th><td>{{{[[IAST]]_Transliteration}}}</td></tr> | |
| − | {{#if: {{{[[IAST]]_Transliteration|}}} | | + | }}{{ |
| − | + | #if: {{{Pali_Transliteration<includeonly>|</includeonly>}}} |<tr><th style="background-color: #e6e9ff; text-align: right;">Pali Transliteration:</th><td>{{{Pali_Transliteration}}}</td></tr> | |
| − | {{#if: {{{Pali_Transliteration|}}} | | + | }}{{ |
| − | + | #if: {{{Tamil_script<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">Tamil script:</th><td>{{{Tamil_script}}}</td></tr> | |
| − | {{#if: {{{Tamil_script|}}} | | + | }}{{ |
| − | + | #if: {{{Script_name<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">{{{Script_name}}}:</th><td>{{{Script}}}</td></tr> | |
| − | {{#if: {{{Script_name|}}} | | + | }}{{ |
| − | + | #if: {{{Affiliation<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">Affiliation:</th><td>{{{Affiliation}}}</td></tr> | |
| − | {{#if: {{{Affiliation|}}} | | + | }}{{ |
| − | + | #if: {{{Abode<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">Abode:</th><td>{{{Abode}}}</td></tr> | |
| − | {{#if: {{{Abode|}}} | | + | }}{{ |
| − | + | #if: {{{Mantra<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">Mantra:</th><td>{{{Mantra}}}</td></tr> | |
| − | {{#if: {{{Mantra|}}} | | + | }}{{ |
| − | + | #if: {{{Weapon<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">Weapon:</th><td>{{{Weapon}}}</td></tr> | |
| − | {{#if: {{{Weapon|}}} | | + | }}{{ |
| − | + | #if: {{{Consort<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">Consort:</th><td>{{{Consort}}}</td></tr> | |
| − | {{#if: {{{Consort|}}} | | + | }}{{ |
| − | + | #if: {{{Mount<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">Mount:</th><td>{{{Mount}}}</td></tr> | |
| − | {{#if: {{{Mount|}}} | | + | }}{{ |
| − | + | #if: {{{Planet<includeonly>|</includeonly>}}} |<tr><th style="background-color:#e6e9ff; text-align:right;">Planet:</th><td>{{{Planet}}}</td></tr> | |
| − | {{#if: {{{Planet|}}} | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | < | + | |}<noinclude>{{Documentation}}</noinclude> |
Revision as of 10:59, 31 December 2007
| {{{Name}}} | |
|---|---|
| [[Image:{{{Image}}}|275px|{{{Caption}}}]] {{{Caption}}} | |
| God of {{{God_of}}} | |
| Devanagari: | {{{Devanagari}}} |
| Kannada: | {{{Kannada}}} |
| Sanskrit Transliteration: | {{{IAST_Transliteration}}} |
| Pali Transliteration: | {{{Pali_Transliteration}}} |
| Tamil script: | {{{Tamil_script}}} |
| {{{Script_name}}}: | {{{Script}}} |
| Affiliation: | {{{Affiliation}}} |
| Abode: | {{{Abode}}} |
| Mantra: | {{{Mantra}}} |
| Weapon: | {{{Weapon}}} |
| Consort: | {{{Consort}}} |
| Mount: | {{{Mount}}} |
| Planet: | {{{Planet}}} |
| 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
| {{{Name}}} |
|---|
{{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)
| The above documentation is transcluded from Template:Infobox deity/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |