Difference between revisions of "Template:Infobox monarchy/doc"

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(Reverted 1 edit by 121.7.195.191 (talk): Cite in text. (TW))
imported>Zyxw
m (add links to module used and tracking category)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE---->
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 +
 +
== Usage ==
 
{{Generic template demo
 
{{Generic template demo
 
  |native_name |coatofarms |coa_alt |armsnote|image |image_alt |caption |incumbent |incumbentsince |other |image2 |image2_alt |caption2 |incumbent2 |incumbent2since |other2 |heir_apparent |heiress_apparent |heir_presumptive |heiress_presumptive |first_monarch |last_monarch |formation |abolition |residence={{longitem|{{{residence}}}<br/>or {{{residences}}}}} |appointer |pretender |website
 
  |native_name |coatofarms |coa_alt |armsnote|image |image_alt |caption |incumbent |incumbentsince |other |image2 |image2_alt |caption2 |incumbent2 |incumbent2since |other2 |heir_apparent |heiress_apparent |heir_presumptive |heiress_presumptive |first_monarch |last_monarch |formation |abolition |residence={{longitem|{{{residence}}}<br/>or {{{residences}}}}} |appointer |pretender |website
 
}}
 
}}
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE---->
 
== Usage ==
 
  
 
<pre style="overflow: auto;">
 
<pre style="overflow: auto;">
Line 87: Line 89:
 
== Microformat ==
 
== Microformat ==
 
{{UF-hcard-person}}
 
{{UF-hcard-person}}
 +
 +
== Tracking category ==
 +
* {{clc|Pages using infobox monarchy with unknown parameters}}
  
 
== See also ==
 
== See also ==
Line 97: Line 102:
 
[[Category:Politics and government infobox templates|Monarchy]]
 
[[Category:Politics and government infobox templates|Monarchy]]
 
[[Category:Templates generating hCards]]
 
[[Category:Templates generating hCards]]
 +
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 22:43, 10 March 2020

Usage

  1. redirect Template:Parameter names example
{{Infobox monarchy
| royal_title        = <!-- Required. No wikilinks. -->
| realm              = <!-- Required. No wikilinks. -->
| native_name        = <!-- Optional. -->
| border             = <!-- Optional. Accepted values: provincial / federal / imperial -->
| coatofarms         = <!-- Optional. Just the image name, no File: or Image: coding. -->
| coatofarms_article = <!-- Required if {{{coatofarms}}} field is used. -->
| coatofarms_link    = <!-- Optional. If {{{coatofarms}}} field is used. -->
| type               = <!-- Optional. Type of style used by monarch.
                            Accepted values: commonwealth / non-commonwealth / other /
                                             other1 / other2 / other3 / other4 / saudi
                            commonwealth: Majesty,
                            non-commonwealth: Majesty,
                            other: Majesty,
                            other1: Imperial Majesty,
                            other2: Highness,
                            other3: Royal Highness,
                            other4: Serene Highness,
                            saudi: Custodian of the Two Holy Mosques -->
| his/her            = <!-- Required. -->
| image              = <!-- Optional. Just the image name, no File: or Image: coding -->
| caption            = <!-- Optional. -->
| incumbent          = <!-- Required. -->
| incumbentsince     = <!-- Optional. Enthronement date. -->
| other              = <!-- Optional. Other caption below incumbent's name instead of enthronement date. -->
| image2             = <!-- Optional. Just the image name, no File: or Image: coding -->
| caption2           = <!-- Optional. -->
| incumbent2         = <!-- Optional. for a co-principality -->
| incumbent2since    = <!-- Optional. Enthronement date. -->
| other2             = <!-- Optional. Other caption below co-incumbent's name instead of enthronement date. -->
| heir_apparent      = <!-- Optional. -->
| heir_presumptive   = <!-- Optional. -->
| first_monarch      = <!-- Required. -->
| last_monarch       = <!-- Optional. -->
| formation          = <!-- Required. Formation date. -->
| abolition          = <!-- Optional. -->
| residence          = <!-- Optional. -->
| appointer          = <!-- Optional. -->
| pretender          = <!-- Optional. -->
| website            = <!-- Optional. -->
}}

Example

King of the Belgians
Great coat of arms of Belgium.svg
Incumbent
Koning Filip van België.jpg
Philippe
since 21 July 2013
Details
StyleHis Majesty
Heir apparentPrincess Elisabeth, Duchess of Brabant
First monarchLeopold I
Formation21 July 1831
WebsiteThe Belgian Monarchy
{{Infobox monarchy
| royal_title = King
| realm = the Belgians
| coatofarms = Great Coat of Arms of Belgium.svg
| coatofarms_article = Coat of arms of Belgium
| type = non-commonwealth
| image = Koning Filip van België.jpg
| incumbent = [[Philippe of Belgium|Philippe]]
| incumbentsince = 21 July 2013
| his/her = His
| heiress_apparent = [[Princess Elisabeth, Duchess of Brabant]]
| first_monarch = [[Leopold I of Belgium|Leopold I]]
| date = 21 July 1831
| website = [http://www.monarchie.be/en/ The Belgian Monarchy]
}}

Microformat

Template:UF-hcard-person

Tracking category

See also

Template:Organization infoboxes