Template:Collapsible/fi
Siirry navigaatioon
Siirry hakuun
Mallin dokumentaatio
|
---|
Huom. joitain osia mallin esimerkistä ei välttämättä näy ilman annettuja arvoja. |
Katsele tai muokkaa tätä dokumentaatiota. (Mallin dokumentaatiosta) |
Muokkaajat voivat tehdä testejä tämän mallin sandboxissa ja testisivulla.
|
Usage
Use to create collapsible hidden content, mainly for spoilers (Dialogue, quest rewards, etc).
Syntax
Create a collapsible content that has a title:
{{Collapsible|collapsed|title|content}}
Create a regular collapsible content:
{{Collapsible|collapsed|content}}
Field | Accepted Parameters | Notes |
---|---|---|
collapsed
|
0 , 1
|
If 1 (true) then the content will be collapsed by default. Defaults to 0 (false) |
title
|
Text | The heading of the collapsed content |
content
|
Wiki content | The content that is collapsed |
Esimerkkejä
Table with heading
{{Collapsible|0
| Click to Reveal |
*Spoilers!
*Spoilers everywhere!
}}
Click to Reveal |
---|
|
Hidden content
{{Collapsible|1|
*Spoilers!
*Spoilers everywhere!
}}
- Spoilers!
- Spoilers everywhere!