Template:Bishop: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox
<noinclude>
| child      = {{{embed|{{{child|}}}}}}
This is the "Bishop" template.
| bodyclass  = vcard
It should be called in the following format:
| aboveclass  = n
<pre>
| abovestyle  = font-size:125%;color: #202122; background-color:#FFA4A4; <!-- Cardinal/purple default for bishops -->
{{Bishop
| above = {{br separated entries
|honorific_prefix=
| 1 = <div class="honorific-prefix" style="font-size: 77%; font-weight: normal;display:inline;">{{{honorific_prefix|}}}</div>
|name=
| 2 = <div style="display:inline" class="fn">{{{name|{{PAGENAMEBASE}}}}}</div>
|diocese=
}}
|home_diocese=
| subheaderstyle = color: #202122; background-color:#FFA4A4;
|other_diocese1=
| subheader  = Bishop of {{{diocese|}}}
|other_diocese2=
| headerstyle = color: #202122; background-color:#DDDDDD;
|other_diocese3=
 
|ordination=
| label1      = Home diocese
|ordained_by=
| data1      = {{{home_diocese|}}}
|consecration=
 
|consecrated_by=
| label2      = Other diocese 1
|rank=
| data2      = {{{other_diocese1|}}}
|cardinal=
 
|created_cardinal_by=
| label3      = Other diocese 2
|birth_name=
| data3      = {{{other_diocese2|}}}
|birth_date=
 
|birth_place=
| label4      = Other diocese 3
|death_date=
| data4      = {{{other_diocese3|}}}
|death_place=
 
|nationality=
| label5      = Ordination
|religion=
| data5      = {{br separated entries| {{{ordination|}}} | by {{{ordained_by|}}} }}
|education=
 
|motto=
| label6      = Consecration
|role=
| data6      = {{br separated entries| {{{consecration|}}} | by {{{consecrated_by|}}} }}
|theology=
 
|region=
| label7      = Rank
}}
| data7      = {{{rank|}}}
</pre>
 
==Cargo declaration==
| label8      = Created cardinal
Edit the page to see the template text.
| data8      = {{br separated entries| {{{cardinal|}}} | by {{{created_cardinal_by|}}} }}
{{#cargo_declare:_table=Bishops
 
|name=Page
| header9    = Personal details
|honorific_prefix=String
 
|diocese=Page
| label10    = Born
|home_diocese=Page
| data10      = {{br separated entries| <div style="display:inline" class="nickname">{{{birth_name|}}}</div> | {{{birth_date|}}} | <div style="display:inline" class="birthplace">{{{birth_place|}}}</div> }}
|other_diocese1=Page
 
|other_diocese2=Page
| label11    = Died
|other_diocese3=Page
| data11      = {{br separated entries| {{{death_date|}}} | {{{death_place|}}} }}
|ordination=String
 
|ordained_by=Page
| label12    = Nationality
|consecration=String
| data12      = {{{nationality|}}}
|consecrated_by=Page
| class12    = category
|rank=String
 
|cardinal=String
| label13    = Denomination
|created_cardinal_by=Page
| data13      = {{{religion|}}}
|birth_name=String
| class13    = category
|birth_date=String
 
|birth_place=String
| label14    = Education
|death_date=String
| data14      = {{{education|}}}
|death_place=String
 
|nationality=String
| label15    = Motto
|religion=String
| data15      = {{{motto|}}}
|education=Wikitext
 
|motto=String
| label16    = Role
|role=String
| data16      = {{{role|}}}
|theology=String
 
|region=String
| label17    = Theology
}}
| data17      = {{{theology|}}}
</noinclude><includeonly>{{#cargo_store:_table=Bishops
 
|name={{{name|{{PAGENAME}}}}}
| label18    = Region
| data18      = {{{region|}}}
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox Bishop with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Bishop]] with unknown parameters "_VALUE_"|ignoreblank=y| birth_date | birth_name | birth_place | cardinal | child | consecration | consecrated_by | created_cardinal_by | death_date | death_place | diocese | education | embed | home_diocese | honorific_prefix | motto | name | nationality | ordained_by | ordination | other_diocese1 | other_diocese2 | other_diocese3 | rank | religion | role | theology | region
}}{{#cargo_store:_table=Bishops
|name={{{name|{{PAGENAMEBASE}}}}}
|honorific_prefix={{{honorific_prefix|}}}
|honorific_prefix={{{honorific_prefix|}}}
|diocese={{{diocese|}}}
|diocese={{{diocese|}}}
Line 95: Line 89:
|theology={{{theology|}}}
|theology={{{theology|}}}
|region={{{region|}}}
|region={{{region|}}}
}}<noinclude>
}}
{{documentation}}
{| style="float:right; width:350px"
|
{| class="wikitable" style="float:right; width:350px"
| style="text-align: center; background-color:#FFA4A4; color:#202122" colspan="2" | '''{{{honorific_prefix|}}} {{{name|{{PAGENAME}}}}}'''
|-
| style="text-align: center; background-color:#FFA4A4; color:#202122" colspan="2" | Bishop of {{{diocese|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Home diocese:'''
| {{{home_diocese|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Other diocese 1:'''
| {{{other_diocese1|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Other diocese 2:'''
| {{{other_diocese2|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Other diocese 3:'''
| {{{other_diocese3|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Ordination:'''
| {{{ordination|}}} {{#if:{{{ordained_by|}}}|by [[{{{ordained_by|}}}]]}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Consecration:'''
| {{{consecration|}}} {{#if:{{{consecrated_by|}}}|by [[{{{consecrated_by|}}}]]}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Rank:'''
| {{{rank|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Created cardinal:'''
| {{{cardinal|}}} {{#if:{{{created_cardinal_by|}}}|by [[{{{created_cardinal_by|}}}]]}}
|-
| style="text-align: center; background-color:#DDDDDD; color:#202122" colspan="2" | '''Personal details'''
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Born:'''
| {{{birth_name|}}}<br>{{{birth_date|}}}<br>{{{birth_place|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Died:'''
| {{{death_date|}}}<br>{{{death_place|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Nationality:'''
| {{{nationality|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Denomination:'''
| {{{religion|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Education:'''
| {{{education|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Motto:'''
| {{{motto|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Role:'''
| {{{role|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Theology:'''
| {{{theology|}}}
|-
| style="background:#DDDDDD; color:#202122" align="right" | '''Region:'''
| {{{region|}}}
|}
|}
[[Category:Bishops]]
</includeonly><noinclude>
==Table details==
Stored: {{#cargo_query:|tables=Bishops|fields=name|where=name="{{{name|}}}"|format=list}}
</noinclude>
</noinclude>