Module:Documentation

From :: ChromeRivals Wiki ::
Revision as of 14:22, 5 December 2023 by Ranzu (talk | contribs)
Jump to navigation Jump to search

This page contains documentation for templates, styles and special pages.

Templates

Color Templates

Color templates equivalent to game colors.
Used with E.g. {{/lime}} or {{/dorange}}, as closing tag.

Chat#Text_color

{{lblue}}</code>

{{blue}}</code>

{{cyan}}</code>

{{dgray}}</code>

{{orange}}</code>

{{lime}}</code>

{{dorange}}</code>

{{brown}}</code>

{{lapis}}</code>

{{magenta}}</code>

{{green}}</code>

{{pink}}</code>

{{lgray}}</code>

{{red}}</code>

{{purple}}</code>

{{dgreen}}</code>

{{white}}</code>

{{yellow}}</code>


Preview:

Text

Text2


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

Other

Hover to show

Hover over .HoverHide to show .hide


Used style selectors:

.HoverHide
.hide

Use width:max-content; for "button" 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