Difference between revisions of "Template:Irish Defence Forces"

From blackwiki
Jump to navigation Jump to search
imported>IrishSpook
imported>DojoIrl
(Added badges for each service)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Irish Defence Forces
 
| name      = Irish Defence Forces
| title      = [[Defence Forces (Ireland)|Defence Forces]] of [[Republic of Ireland|Ireland]]
+
| title      = [[Image:Badge of the Irish Defence Forces.svg|40px|Badge of the Irish Defence Forces|alt=Badge of the Irish Defence Forces]] [[Irish Defence Forces]]
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
| liststyle = padding-left:50px
+
| liststyle = padding:5px
| image = [[Image:Badge of the Irish Defence Forces.svg|50px|Badge of the Irish Defence Forces|alt=Badge of the Irish Defence Forces]]
 
  
 
| list1 =
 
| list1 =
* [[Irish Army|Army]]
+
* [[Image:Badge of the Irish Defence Forces.svg|40px|Badge of the Irish Defence Forces|alt=Badge of the Irish Defence Forces]] [[Irish Army|Army]]
* [[Irish Air Corps|Air Corps]]
+
* [[Image:Badge of the Irish Air Corps.svg|40px|Badge of the Irish Air Corps|alt=Badge of the Irish Air Corps]] [[Irish Air Corps|Air Corps]]
* [[Irish Naval Service|Naval Service]]
+
* [[Image:Badge of the Irish Naval Service.svg|40px|Badge of the Irish Naval Service|alt=Badge of the Irish Naval Service]] [[Irish Naval Service|Naval Service]]
  
 +
| list2 =
 
* [[Reserve Defence Forces|Reserve]]
 
* [[Reserve Defence Forces|Reserve]]
 
** [[Army Reserve (Ireland)|Army Reserve]]
 
** [[Army Reserve (Ireland)|Army Reserve]]

Revision as of 22:24, 2 January 2017

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.