Difference between revisions of "Template:Namespace and pagename-detecting templates"
(Creation (as this is needed)) |
m (Updating the Template) |
||
Line 5: | Line 5: | ||
| title = Namespace and pagename-detecting templates | | title = Namespace and pagename-detecting templates | ||
− | | group1 = [[ | + | | group1 = [[w:Namespace|Namespace]] |
| list1 = | | list1 = | ||
{{Navbox |child | {{Navbox |child | ||
Line 15: | Line 15: | ||
* {{tlbare|Talk other}} | * {{tlbare|Talk other}} | ||
* {{tlbare|Category other}} | * {{tlbare|Category other}} | ||
− | |||
* {{tlbare|File other}} | * {{tlbare|File other}} | ||
− | |||
* {{tlbare|Help other}} | * {{tlbare|Help other}} | ||
* {{tlbare|Module other}} | * {{tlbare|Module other}} | ||
Line 24: | Line 22: | ||
* {{tlbare|User other}} | * {{tlbare|User other}} | ||
* {{tlbare|Project other}} | * {{tlbare|Project other}} | ||
− | |||
− | |||
− | |||
| group2 = More generic | | group2 = More generic | ||
| list2 = | | list2 = | ||
Line 36: | Line 31: | ||
}} | }} | ||
− | | group2 = [[ | + | | group2 = [[w:Page name|Pagename]] |
| list2 = {{navbox|subgroup | | list2 = {{navbox|subgroup | ||
| groupstyle = line-height:1.2em; font-weight:normal; background:transparent; | | groupstyle = line-height:1.2em; font-weight:normal; background:transparent; | ||
Line 85: | Line 80: | ||
}} | }} | ||
− | |||
| below = | | below = | ||
− | |||
− | |||
* [[mw:Help:Magic words|Magic words]] | * [[mw:Help:Magic words|Magic words]] | ||
* [[mw:Help:Extension:ParserFunctions|ParserFunctions]] | * [[mw:Help:Extension:ParserFunctions|ParserFunctions]] |
Latest revision as of 17:20, 2 March 2023
Initial visibility: currently defaults to expanded
To set this template's initial visibility, the |state=
parameter may be used:
|state=collapsed
:{{Namespace and pagename-detecting templates|state=collapsed}}
to show the template collapsed, i.e., hidden apart from its title bar|state=expanded
:{{Namespace and pagename-detecting templates|state=expanded}}
to show the template expanded, i.e., fully visible|state=autocollapse
:{{Namespace and pagename-detecting templates|state=autocollapse}}
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 expanded
.