Template:ExpansionSelector
Jump to navigation
Jump to search
Description
Generate Expansion selector tabs on allowed pages.
- Translate texts in expansion selector Expansion_Selector_Labels
Params
hideselection
Optional [true
| -empty-] - whentrue
list of selected expansions is not displayedfanexpansions
[true
| -empty-] - whentrue
include fan-expansions into selector (once it will be available)height
Optional [CSS size
| -empty-] - height of expansion selector, applicable only when not setstickty=true
sticky
Optional [true
| -empty-] - when set, position of expansion is stickycontent
Required whensticky=true
- content of sticky expansion selector
Examples
Code | Description |
---|---|
{{ExpansionSelector}} |
Default expansion selector |
{{ExpansionSelector|hideselection=true}} |
Hide selected expansions |
{{ExpansionSelector|fanexpansions=true}} |
Show fan expansions |
{{ExpansionSelector|height=200px}} |
Limit height of Expansion Selector |
{{ExpansionSelector|hideselection=true|fanexpansions=true|sticky=true|content=...}} |
Sticky example |
Please select all your expansions to show only interactions related to you. All other interactions are hidden.
Expansion selector requires JavaScript. Preparing expansion selector... Need Black Dragon to be checked: yes it is! Example 3 Example 4 Example 5 Example 6 Example 7 Example 8 Example 9 Example 10 |
Testing new name of classes
Next div.hiddenFanExpansions
has to be hidden by default, it is for Fan Expansions stuff in Expansion Selector:
Here it is: Hidden informations about fan expansions.
Next div.showedFanExpansions div.hiddenFanExpansions
has to be visible after CSS class set to require of show Fan Expansions in Expansion Selector:
Here it is: Showed previous informations about fan expansions.
If you see both or neither, the CSS is not set correctly or there may be a CSS conflict.