Module:Documentation: Difference between revisions

From :: ChromeRivals Wiki ::
Jump to navigation Jump to search
Ranzu (talk | contribs)
No edit summary
Ranzu (talk | contribs)
Line 104: Line 104:
===Custom Toggle===
===Custom Toggle===


{| class="Skills mw-customtoggle-myDivision1"
{| class= mw-customtoggle-myDivision1"
| [[File:Fire Shot Skill Icon.png|link=]]
| [[File:Fire Shot Skill Icon.png|link=]]
| Fire Shot
| Fire Shot
|}
|}
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision1" style="overflow-x:auto">
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision1" style="overflow-x:auto">
<div class="SkillDSC">Attack Power of your Standard Weapon is increased significantly.</div>
Toggled content
{| class="SkillTable"
! Skill Level
! Requires Level
! SP (Skill Point)
! Duration
! Recharge Time
! Function
! Price
|-
| 1
| 9
| 10
| 180.00s
| 170.00s
|
Weapon's Attack (min) (Std): +2.50%
 
Weapon's Attack (max) (Std): +2.50%
| [[File:SPI Icon.png|link=]]&nbsp;6,000&nbsp;&nbsp;&nbsp;&nbsp;
|}
</div>
</div>

Revision as of 14:08, 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

{{lime}}

{{dorange}}

{{brown}}

{{lapis}}

{{magenta}}

{{green}}

{{pink}}

{{lgray}}

{{red}}

{{purple}}

{{dgreen}}

{{white}}

{{yellow}}


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

Fire Shot

Toggled content