Permanently protected template

Template:Underwater diving

From Vigyanwiki
Revision as of 16:42, 11 October 2022 by wikipedia>Pbsouthwood
Template documentation

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Underwater diving|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Underwater diving|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Underwater diving|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbox}}, 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.

This is a very large navbox and should autocollapse other than in exceptional cicumstances. The unnamed parameter should be set to expand the collapsible group in which the topic af the article is listed. If it is listed in more than one group, use the most generally applicable. If in doubt, ask at Wikipedia talk:WikiProject Underwater diving.

The template has an unnamed parameter to display the relevant section for the article. Only one section will open, if the article is linked from more than one subgroup, choose the most relevant. The abbreviations used can be viewed in the template code, and are listed here for easy reference, but may be out of date. The parameter follows a pipe in the template, eg. {{Underwater diving|divequ}}.

Navbov collapsible group title Abbreviation
Diving equipment divequ
Diving support equipment divsup
Freediving frediv
Professional diving prodiv
Recreational diving recdiv
Diving safety divsaf
Diving medicine divmed
Law divlaw
History of underwater diving hisdiv
Publications divpub
Training and registration trareg
Underwater sports undspo
Underwater divers unddiv
Science of underwater diving scidiv
Other other

[[Category:Template documentation pages{{#translation:}}]]