Template:Wikipedia essays/sandbox
This is the template sandbox page for Template:Wikipedia essays (diff). |
Usage
[edit]Opening a single subsection
[edit]- This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter
|name
where name is one of the following words that identify the groups/sections (omit any speech or quotation marks): - building
- civility
- notability
- humour
Example of the syntax to show (uncollapse) any of the subsections:
{{Wikipedia essays|building}}
{{Wikipedia essays|civility}}
{{Wikipedia essays|notability}}
{{Wikipedia essays|humour}}
For example, {{Wikipedia essays|notability}}
will produce:
Wikipedia essays (?) | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
| |||||||||||||||
| |||||||||||||||
| |||||||||||||||
|
Opening multiple subsections
[edit]To show multiple, or all of, the subsections at once, use staten, e.g.:
{{Wikipedia essays|state=expanded|state1=collapsed|state2=collapsed|state3=expanded|state4=collapsed|state5=collapsed}}
Parameter state
controls the entire template; state1
controls the building essays; state2
controls the civility essays; state3
controls the notability essays; state4
controls the humour essays; state5
controls the 'About essays' section. These can be set to expanded
or collapsed
. The above example will produce this:
Wikipedia essays (?) | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
| |||||||||||||||
| |||||||||||||||
| |||||||||||||||
|
Background
[edit]This template combines the content of the 4 separate templates into one location, for easier watchlisting / updating / organizing / non-duplication / discovery:
- {{Essays on building Wikipedia}}
- {{Civility}}
- {{Essays on notability}}
- {{Humorous essays}}
- {{User essays}}
It was initially suggested and developed at Wikipedia talk:WikiProject Essays § Navbox separation or cohesion.
See also
[edit]- {{Wikipedia editor navigation}} an amalgamation of navboxes that includes this navbox.
Help page navboxes |
|
---|---|
Community navboxes |
|
Other navboxes | |
All-in-one navboxes | |
Rule sidebars | |
Other help sidebars |
|
Community sidebars |
|
Bar-style headers | |
For navboxes that link mostly to templates see the template navbox. See also WikiProject navigation and meetup categories. |
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.