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

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(Undid revision 377704488 by BomBom (talk) - why remove microformat documentation & class?)
imported>BomBom
(template usage)
Line 3: Line 3:
  
 
== Usage ==
 
== Usage ==
 +
<pre>
 +
{{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. -->
 +
| type              = <!-- Optional. Type of style used by monarch.
 +
                            Accepted values: commonwealth / non-commonwealth / other / other2 / other3 / other4 / saudi -->
 +
| his/her            = <!-- Required. -->
 +
| image              = <!-- Optional. Just the image name, no File: or Image: coding -->
 +
| incumbent          = <!-- Required. -->
 +
| incumbentsince    = <!-- Optional. Enthronement date. -->
 +
| other              = <!-- Optional. Other caption below incumbent's name instead of enthronement date. -->
 +
| heir_apparent      = <!-- Optional. -->
 +
| first_monarch      = <!-- Required. -->
 +
| date              = <!-- Required. Formation date. -->
 +
| residence          = <!-- Optional. -->
 +
| website            = <!-- Optional. -->
 +
}}
 +
</pre>
  
 
== Microformat ==
 
== Microformat ==
Line 13: Line 35:
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
  
[[Category:Royalty and nobility infobox templates|M]]  
+
[[Category:Royalty and nobility infobox templates|Monarchy]]  
[[Category:Politics and government infobox templates|{{PAGENAME}}]]
+
[[Category:Politics and government infobox templates|Monarchy]]
 
[[Category:Templates generating hCard microformats]]
 
[[Category:Templates generating hCard microformats]]
 +
 
[[mk:Шаблон:Инфокутија-Монархија]]
 
[[mk:Шаблон:Инфокутија-Монархија]]
 
[[tl:Suleras:Infobox Kaharian]]
 
[[tl:Suleras:Infobox Kaharian]]
 
</includeonly>
 
</includeonly>

Revision as of 20:29, 23 August 2010

Usage

{{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. -->
| type               = <!-- Optional. Type of style used by monarch.
                            Accepted values: commonwealth / non-commonwealth / other / other2 / other3 / other4 / saudi -->
| his/her            = <!-- Required. -->
| image              = <!-- Optional. Just the image name, no File: or Image: coding -->
| incumbent          = <!-- Required. -->
| incumbentsince     = <!-- Optional. Enthronement date. -->
| other              = <!-- Optional. Other caption below incumbent's name instead of enthronement date. -->
| heir_apparent      = <!-- Optional. -->
| first_monarch      = <!-- Required. -->
| date               = <!-- Required. Formation date. -->
| residence          = <!-- Optional. -->
| website            = <!-- Optional. -->
}}

Microformat

Template:UF-hcard-person

See also

Template:Organization infoboxes