Module:Documentation: Difference between revisions

From :: ChromeRivals Wiki ::
Jump to navigation Jump to search
Ranzu (talk | contribs)
No edit summary
Tag: Reverted
Ranzu (talk | contribs)
No edit summary
Tag: Reverted
Line 19: Line 19:
* {{lapis}}
* {{lapis}}
* {{magenta}}
* {{magenta}}
* {{green}}
* {{green}}
* {{pink}}
* {{pink}}
* {{lgray}}
* {{lgray}}
* {{red}}
* {{red}}
* {{purple}}
* {{purple}}
* {{dgreen}}
* {{dgreen}}
* {{white}}
* {{white}}
* {{yellow}}
* {{yellow}}
</nowiki></code>
</nowiki></code>

Revision as of 14:24, 5 December 2023

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}} * {{blue}} * {{cyan}} * {{dgray}} * {{orange}} * {{lime}} * {{dorange}} * {{brown}} * {{lapis}} * {{magenta}} * {{green}} * {{pink}} * {{lgray}} * {{red}} * {{purple}} * {{dgreen}} * {{white}} * {{yellow}}

  • #B2BEFF \a
  • #2C53FD \b
  • #00FFFF \c
  • #777777 \d
  • #F5B930 \e Enchant Manual
  • #00FF00 \g Enchant Fix
  • #F4891E \h
  • #A64A0C \k
  • #00AAFF \l
  • #FF00FF \m
  • #77BB22 \o
  • #FF66EE \p
  • #D0D0D0 \q
  • #FF0000 \r
  • #A135FF \u
  • #007400 \v
  • #FFFFFF \w
  • #FFFF00 \y

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