Difference between revisions of "Template:Irish Defence Forces"

From blackwiki
Jump to navigation Jump to search
imported>Dispenser
(Navbox conformity, better CSS/XHTML and collapsible using AWB)
imported>Dunarc
(Category sort order)
 
(35 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{| class="navbox collapsible"
+
{{Navbox
! style="background:#6b8e23; width:100%;"| {{tnavbar-collapsible| [[Irish Defence Forces]] |Irish Defence Forces}}  
+
| name      = Irish Defence Forces
| rowspan="2" style="vertical-align:top;"| [[Image:Flag of Ireland.svg|50px]]  
+
| title      = [[Image:Badge of the Irish Defence Forces.svg|25px|Badge of the Irish Defence Forces|alt=Badge of the Irish Defence Forces]] [[Defence Forces (Ireland)|Irish Defence Forces]]
|-
+
| state      = {{{state|autocollapse}}}
|| [[Image:Oglaigh na heireann.png|25px|]] [[Irish Army]] | [[Image:Naval Jack of Ireland.svg|25px]] [[Irish Naval Service]] | [[Image:Irish Air Corps roundel.svg|20px]] [[Irish Air Corps]]  
+
| bodyclass = hlist
|-
+
| liststyle = padding:5px
|| [[Image:Oglaigh na heireann.png|25px|]] [[Irish Army Reserve|Army Reserve]] | [[Image:Naval Jack of Ireland.svg|25px]] [[Naval Service Reserve]]
+
 
|}<noinclude>
+
| above =
[[Category:Irish navigational boxes|{{PAGENAME}}]]
+
* '''Civilian Leadership:''' [[Department of Defence (Ireland)|Department of Defence]] ([[Minister for Defence (Ireland)|Minister]]: [[Leo Varadkar]]. [[Minister of State at the Department of Defence|Deputy]]: [[Paul Kehoe]])
 +
* '''Military Leadership:''' [[Chief of Staff of the Defence Forces (Ireland)|Chief of Staff]]: Vice Admiral [[Mark Mellett]] [[Distinguished Service Medal (Ireland)|DSM]]
 +
 
 +
| list1 =
 +
* [[Image:Badge of the Irish Defence Forces.svg|25px|Badge of the Irish Defence Forces|alt=Badge of the Irish Defence Forces]] [[Irish Army|Army]]
 +
* [[Image:Badge of the Irish Air Corps.svg|25px|Badge of the Irish Air Corps|alt=Badge of the Irish Air Corps]] [[Irish Air Corps|Air Corps]]
 +
* [[Image:Badge of the Irish Naval Service.svg|25px|Badge of the Irish Naval Service|alt=Badge of the Irish Naval Service]] [[Irish Naval Service|Naval Service]]
 +
 
 +
| list2 =
 +
* [[Reserve Defence Forces|Reserve]]
 +
** [[Army Reserve (Ireland)|Army Reserve]]
 +
** [[Naval Service Reserve]]
 +
}}<noinclude>
 +
{{collapsible option}}
 +
 
 +
[[Category:Republic of Ireland templates|Defence Forces]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:05, 26 July 2020

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Irish Defence Forces|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Irish Defence Forces|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Irish Defence Forces|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.