Module:Documentation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 1: | Line 1: | ||
This page contains documentation for templates, styles and special pages. | This page contains documentation for templates, styles, drafts and special pages. | ||
==Templates== | ==Templates== | ||
Revision as of 14:32, 5 December 2023
This page contains documentation for templates, styles, drafts and special pages.
Templates
Color Templates
Color templates equivalent to game colors.
Used with E.g. {{/lblue}} or {{/blue}}, as closing tag.
- #B2BEFF
{{lblue}}\a - #2C53FD
{{blue}}\b - #00FFFF
{{cyan}}\c - #777777
{{dgray}}\d - #F5B930
{{orange}}\e Enchant Manual - #00FF00
{{lime}}\g Enchant Fix - #F4891E
{{dorange}}\h - #A64A0C
{{brown}}\k - #00AAFF
{{lapis}}\l - #FF00FF
{{magenta}}\m - #77BB22
{{green}}\o - #FF66EE
{{pink}}\p - #D0D0D0
{{lgray}}\q - #FF0000
{{red}}\r - #A135FF
{{purple}}\u - #007400
{{dgreen}}\v - #FFFFFF
{{white}}\w - #FFFF00
{{yellow}}\y
Toggle button
{{Toggle}}
Always include space or break before this template if you using Title.
Used with {{/Toggle}}, as closing tag.
{{Toggle|Title=Title_Goes_Here}}
Toggled_Content_Goes_Here
{{/Toggle}}
Used style selectors:
#ToggleButton .ToggleContent .ToggleTitle
Preview:
Standard Enchanting Cards
Expand
Expand
Other
Hover to show
Hover over .HoverHide to show .hide
Used style selectors:
.HoverHide .hide
Use width:max-content; for "button" hover only.
Preview:
Hover over this text
To see this
Custom Toggle
Used with:
mw-customtoggle-myDivision1
mw-customcollapsible-myDivision1
(Changing myDivision1 to myDivision2, myDivision3 etc.)
Preview:
| Click to toggle |
Toggled Content