Template:Portal templates navbox: Difference between revisions
Jump to navigation
Jump to search
imported>Buaidh (| group6 = Linking templates | list6 = * {{tl|Portal}} * {{tl|Portal bar}} * {{tl|Portal-inline}}<sup>11</sup> * {{tl|Pbox}} * {{tl|Related portals}} * {{tl|Related portals2}}) |
(Created page with "{{Navbox | name = Portal templates navbox | title = Portal templates | listclass = hlist | state = {{{state|}}} | image = 50px | above = '''Visual overview of template usage''' | group1 = Layout and formatting | list1 = * {{tl|Box portal skeleton}} * {{tl|Box-header}} ** color palettes ** Template:B...") |
||
Line 1: | Line 1: | ||
{{Navbox | {{Navbox | ||
| name = Portal templates navbox | | name = Portal templates navbox | ||
| title = [[ | | title = [[Wikipedia:Portal|Portal]] templates | ||
| listclass = hlist | | listclass = hlist | ||
| state = {{{state|}}} | | state = {{{state|}}} | ||
| image = [[File:Portal.svg|50px]] | | image = [[File:Portal.svg|50px]] | ||
| above = '''[[ | | above = '''[[Wikipedia:WikiProject Portals/Components|Visual overview of template usage]]''' | ||
| group1 = Layout and formatting | | group1 = Layout and formatting | ||
Line 98: | Line 98: | ||
| group10 = Usage | | group10 = Usage | ||
| list10 = | | list10 = | ||
* [[ | * [[Wikipedia:Portal]] | ||
* [[ | * [[Wikipedia:WikiProject Portals]] | ||
| below = ''For more information, see: {{cl|Template-Class Portal pages}} and {{cl| | | below = ''For more information, see: {{cl|Template-Class Portal pages}} and {{cl|Wikipedia Portal templates}}'' | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation|content={{Collapsible option}} | {{documentation|content={{Collapsible option}} | ||
[[Category: | [[Category:Wikipedia Portal templates| ]] | ||
[[Category:Documentation see also templates]] | [[Category:Documentation see also templates]] | ||
}}</noinclude> | }}</noinclude> |
Revision as of 14:54, 21 May 2022
Template documentation
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state=
parameter may be used:
|state=collapsed
:{{Portal templates navbox|state=collapsed}}
to show the template collapsed, i.e., hidden apart from its title bar|state=expanded
:{{Portal templates navbox|state=expanded}}
to show the template expanded, i.e., fully visible|state=autocollapse
:{{Portal templates navbox|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 autocollapse
.