Difference between revisions of "Template:Agosta class submarines"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
m (23 revisions imported)
 
(11 intermediate revisions by 9 users not shown)
Line 3: Line 3:
 
| name=Agosta class submarines
 
| name=Agosta class submarines
 
| bodyclass = hlist
 
| bodyclass = hlist
| title={{sclass|Agosta|submarine|1}}
+
| title={{sclass-|Agosta|submarine|1}}
 
| state  = {{{state|autocollapse}}}|
 
| state  = {{{state|autocollapse}}}|
  
Line 18: Line 18:
  
 
| group3={{navy|Pakistan|size=30x15px}}
 
| group3={{navy|Pakistan|size=30x15px}}
| list3={{Navbox subgroup
+
| list3={{Military navigation|border=child|style=wide
| groupstyle={{WPMILHIST Infobox style|nav_box_label}}
 
  
| group1={{sclass|Hashmat|submarine|4}}
+
| group1={{sclass-|Hashmat|submarine|4}}
 
| list1=
 
| list1=
* {{ship|PNS|Hashmat|S135|2}} (ex-''Astrant'')
+
* {{ship|PNS|Hashmat}} (ex-''Astrant'')
* {{ship|PNS|Hurmat|S136|2}} (ex-''Adventurous'')
+
* {{ship|PNS|Hurmat}} (ex-''Adventurous'')
  
|group2={{sclass|Khalid|submarine|4}}<sup>‡</sup>
+
|group2={{sclass-|Khalid|submarine|4}}<sup>‡</sup>
 
|list2=
 
|list2=
* {{ship|PNS|Hamza|S139|2}}
 
 
* {{ship|PNS|Khalid|S137|2}}
 
* {{ship|PNS|Khalid|S137|2}}
 
* {{ship|PNS|Saad|S138|2}}
 
* {{ship|PNS|Saad|S138|2}}
 +
* {{ship|PNS|Hamza|S139|2}}
 
}}
 
}}
  
Line 40: Line 39:
 
| group6={{navy|Spain|size=30x15px}}
 
| group6={{navy|Spain|size=30x15px}}
 
| list6=
 
| list6=
* {{ship|Spanish submarine|Galerna|S71|2}}
+
* {{ship|Spanish submarine|Galerna||2}}
 
* {{ship|Spanish submarine|Mistral|S73|2}}
 
* {{ship|Spanish submarine|Mistral|S73|2}}
* {{ship|Spanish submarine|Siroco|S72|2}}
+
* {{ship|Spanish submarine|Siroco||2}}
 
* {{ship|Spanish submarine|Tramontana|S74|2}}
 
* {{ship|Spanish submarine|Tramontana|S74|2}}
  
Line 49: Line 48:
 
* <sup>‡</sup> – the ''Khalid'' class was built to the revised ''Agosta'' 90B design
 
* <sup>‡</sup> – the ''Khalid'' class was built to the revised ''Agosta'' 90B design
  
* Preceded by: {{sclass|Daphné|submarine|4}}
+
* Preceded by: {{sclass-|Daphné|submarine|4}}
* Followed by: {{sclass|Le Redoutable|submarine|4}}
+
* Followed by: {{sclass-|Redoutable|submarine (1967)|4}}
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Agosta-class submarines| ]]
+
[[Category:Agosta-class submarines|~]]
 
[[Category:France military ship templates]]
 
[[Category:France military ship templates]]
 
[[Category:Pakistan military ship templates]]
 
[[Category:Pakistan military ship templates]]
 
[[Category:Spain military ship templates]]
 
[[Category:Spain military ship templates]]
 
[[Category:South Africa military ship templates]]
 
[[Category:South Africa military ship templates]]
 
[[ja:Template:アゴスタ級潜水艦]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 12:47, 18 October 2020

Initial visibility: currently defaults to autocollapse

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

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