Difference between revisions of "Template:MarshalsNapoleon"

From blackwiki
Jump to navigation Jump to search
imported>Shinjibayan
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 3: Line 3:
 
|titlestyle = background:#d9cea0;
 
|titlestyle = background:#d9cea0;
 
|title  =  [[Marshal of France|Marshals]] of the [[First French Empire]]
 
|title  =  [[Marshal of France|Marshals]] of the [[First French Empire]]
 +
|state  = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|image  = [[Image:Napoleonic Marshal baton.svg|40px]]
 
|image  = [[Image:Napoleonic Marshal baton.svg|40px]]
Line 34: Line 35:
 
* [[Claude Victor-Perrin, Duc de Belluno|Victor]]
 
* [[Claude Victor-Perrin, Duc de Belluno|Victor]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
[[Category:France templates]]
 
[[Category:France templates]]

Revision as of 03:14, 17 January 2013

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{MarshalsNapoleon|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{MarshalsNapoleon|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{MarshalsNapoleon|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

an:Plantilla:Mariscals d'o Primer Imperio Francés be:Шаблон:Маршалы Напалеона I be-x-old:Шаблён:Маршалы Напалеона I bg:Шаблон:Френски маршали по време на Наполеоновите войни fr:Modèle:Palette Maréchaux d'Empire it:Template:Marescialli dell'Impero ka:თარგი:ნაპოლეონის მარშლები hu:Sablon:Francia marsallok nl:Sjabloon:Navigatie Maarschalken Frankrijk Eerste Keizerrijk pl:Szablon:Marszałkowie Francji 1804-1815 pt:Predefinição:Marechais da França ro:Format:Mareșali ai Primului Imperiu Francez ru:Шаблон:Маршалы Наполеона I sr:Шаблон:Наполеонови маршали sh:Šablon:Napoleonovi maršali sv:Mall:Fältmarskalkar under Napoleonkrigen tr:Şablon:Napolyon'un mareşalleri th:แม่แบบ:จอมพลแห่งจักรวรรดิฝรั่งเศส vi:Bản mẫu:Các thống chế của Napoléon zh:Template:法蘭西第一帝國元帥