Template:SourceToggle: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
*To hide official content use the only (2) variable (hidewithhota / hidewithdor). | *To hide official content use the only (2) variable (hidewithhota / hidewithdor). | ||
*Unofficial content can also use the only (2) variable (hota / dor). | *Unofficial content can also use the only (2) variable (hota / dor). | ||
== Examples == | |||
* <nowiki>{{SourceToggle||hidewithhota}}</nowiki>: {{SourceToggle||hidewithhota}} | |||
[[Category: Help templates]]</noinclude> | [[Category: Help templates]]</noinclude> |
Revision as of 18:26, 24 September 2024
Usage:
class='{{sourceToggle|{{{source}}}|{{{only}}}}}'
- For compatibility with older content, unofficial expansion can use the source (1) variable (Horn of the Abyss / Day of Reckoning / hota / dor).
- To hide official content use the only (2) variable (hidewithhota / hidewithdor).
- Unofficial content can also use the only (2) variable (hota / dor).
Examples
- {{SourceToggle||hidewithhota}}: onlysod