Module:Documentation

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

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.

Chat#Text_color

  • #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

Drafts

Tabbers

Always include space between title and content. Used with td:nth-child(X) as column selector.

Simple tabber:

<tabber>
|-| B-Gear=

First tab content goes here.
|-| I-Gear=

Second tab content goes here.
|-| M-Gear=

Third tab content goes here.
|-| A-Gear=

Third tab content goes here.
</tabber>

Nested tabber:

<tabber>
|-| First Tab Title=
{{#tag:tabber|
Tab Title A=

Tab content A goes here.
{{!}}-{{!}}
Tab Title B=

Tab content B goes here.
{{!}}-{{!}}
Tab Title C=

Tab content C goes here.
}}
|-|Second Tab Title=
{{#tag:tabber|
Tab Title D=

Tab content D goes here.
{{!}}-{{!}}
Tab Title E=

Tab content E goes here.
{{!}}-{{!}}
Tab Title F=

Tab content F goes here.
}}
|-|Third Tab Title=
{{#tag:tabber|
Tab Title G=

Tab content G goes here.
{{!}}-{{!}}
Tab Title H=

Tab content H goes here.
{{!}}-{{!}}
Tab Title I=

Tab content I goes here.
}}
</tabber>


Used style selectors:

.tabber--live
.tabber__header
.tabber__indicator
.tabber__header__prev
.tabber__header__next
.tabber__section
.tabber__panel
.tabber__tab

Recipe Table

Table used to show recipes. Material count number needs to be the same as number of columns PICTURE_LINK_X. Usable with color templates.

{| class="RecipeTable"
! colspan="MATERIAL_COUNT"| Materials
! style="width: 80px;"| Success
! Final
|-
| PICTURE_LINK_1 {{COLOR_1}}NAME_1{{/COLOR_1}} (x1)
| PICTURE_LINK_2 {{COLOR_2}}NAME_2{{/COLOR_2}} (x1)
| PICTURE_LINK_3 {{COLOR_3}}NAME_3{{/COLOR_3}} (x1)
| PICTURE_LINK_4 {{COLOR_4}}NAME_4{{/COLOR_4}} (x1)
| PICTURE_LINK_5 {{COLOR_5}}NAME_5{{/COLOR_5}} (x1)
| CHANCE_1
| PICTURE_FINAL {{FINAL_COLOR}}FINAL_NAME{{/FINAL_COLOR}} (x1)
|}


Used style selectors:

.RecipeTable

Weapon Table

Table used to show weapons. Change |WIDTH= (First collumn) and |WIDTH2= (Whole table) according to content. Usable with color templates and {{E15}} template.

{{WeaponTable
|WIDTH1= <!-- 0 120 125 / First collumn width -->
|WIDTH2= <!-- 0 190 200 220 / Whole table width -->
|PICTURE=PICTURE
|NAME= {{COLOR}}NAME{{/COLOR}}
|TYPE=<!-- Missile, Budle or other! -->
|GEAR TYPE=<!-- B-Gear M-Gear I-Gear A-Gear BG MG IG -->
|REQUIRED LEVEL= XXX
|ATTACK POWER= (X ~ X) X (X X X)
|ATTACK POWER/s=XXX ~ XXX
|ACCURACY=XXX.XX%
|PIERCE=XX.XX%
|RANGE=XXX m
|REATTACK TIME=X.XX s
|WEAPON_TYPE=

{{STD Weapon
|OVERHEAT TIME=X.XX s
}}

{{ADV Weapon
|VALID ANGLE=X °
|SPEED=XXX m/s
|INDUCTION RATE=X °/s
|EXPLOSION RADIUS=X m
}}

|WEIGHT=XXX kg
}}


Preview: Template:WeaponTable

Used style selectors:

.WeaponTable