Template:Animal rights: Difference between revisions
Tools
Actions
General
Print/export
In other projects
Appearance
From Wikipedia, the free encyclopedia
add Hans Ruesch |
mNo edit summary |
||
Line 19: | Line 19: | ||
* [[Animal rights in Jainism, Hinduism, and Buddhism]] |
* [[Animal rights in Jainism, Hinduism, and Buddhism]] |
||
* [[Christianity and animal rights]] |
* [[Christianity and animal rights]] |
||
* [[List of international animal welfare conventions]] |
|||
* [[Moral status of animals in the ancient world]] |
* [[Moral status of animals in the ancient world]] |
||
* [[Timeline of animal welfare and rights]] |
* [[Timeline of animal welfare and rights]] |
Revision as of 13:57, 13 May 2021
Uncollapsed template
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
|
Uncollapsing a single subsection
Add |state=uncollapsed|name
to show (uncollapse) any of the subsections, by default.
Abbreviated section names are topics
, advocates
, movement
, and media
.
{{Animal rights|state=uncollapsed|topics}}
{{Animal rights|state=uncollapsed|advocates}}
{{Animal rights|state=uncollapsed|movement}}
{{Animal rights|state=uncollapsed|media}}
For example, {{Animal rights|state=uncollapsed|topics}}
will produce:
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
|
Uncollapsing multiple subsections
To show multiple, or all of, the subsections at once, use staten, e.g.:
{{Animal rights|state=uncollapsed|state1=collapsed|state2=collapsed|state3=uncollapsed|state4=uncollapsed}}
Parameter state
controls the entire template; state1
controls the topics section; state2
controls the advocates section; state3
controls the movement section; state4
controls the media section. These can be set to uncollapsed
or collapsed
. The above example will produce this:
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
|
Uncollapsing a single subsection while the template is collapsed
Add |name
to show (uncollapse) any of the subsections when the template is uncollapsed.
For example, {{Animal rights|topics}}
will produce:
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| |||||||||||||||||||||||||
|
The above documentation is transcluded from Template:Animal rights/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.