Module:Documentation

From :: ChromeRivals Wiki ::
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

Tabber Extension: https://www.mediawiki.org/wiki/Extension:TabberNeue

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 rows 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)
|}


Preview:

Materials Success Final
3726917263.png Refined Boss Mineral (x1) 3737599993.png Boss Strengthening Card (x1) 50% 3726901631.png Reinforced Boss Transformation Card (x1)
3726917263.png Refined Boss Mineral (x1) 3737599993.png Boss Strengthening Card (x1) 3737557289.png Ancient Matter (x1) 60% 3726901631.png Reinforced Boss Transformation Card (x1)


Used style selectors:

.RecipeTable



Weapon Table / E15

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
}}


Weapon Table used style selectors:

.WeaponTable

E15 used style selectors:

.containerE15
.overlayE15


Preview (including {{E15}} template): Template:WeaponTable


Armor Table

Table used to show armors. Change |WIDTH= (First collumn) and |WIDTH2= (Whole table) according to content.

Always include table end (|}) at the end of this template.

Usable with color templates and {{E15}} template.


{{ArmorTable
|WIDTH1= <!-- 0 120 --> 
|WIDTH2= <!-- 0 --> 
|PICTURE=PICTURE_LINK
|NAME= {{COLOR}}ITEM_NAME{{/COLOR}}
|GEAR TYPE=B-Gear M-Gear I-Gear A-Gear BG MG IG
|REQUIRED LEVEL=LEVEL
|WEIGHT= WEIGHT kg
}}

{{FunctionENG_SHD
|ENERGY=+XXXX
|SHIELD=+XXXX
}}

{{FunctionDEF
|ADV=+XX.XX%
|STD=+XX.XX%
}}

{{FunctionEVA
|ADV=+XX.XX%
|STD=+XX.XX%
}}

{{FunctionMIN-MAX_ADV
|MIN=+X%
|MAX=+X%
}}

{{FunctionMIN-MAX_STD
|MIN=+X%
|MAX=+X%
}}

{{FunctionPIERCE-STD
|STD=+X%
}}

{{FunctionPIERCE-ADV
|ADV=+X%
}}

{{FunctionACCURACY-STD
|STD=+X%
}}

{{FunctionACCURACY-ADV
|ADV=+X%
}}

|}


Used style selectors:

.WeaponTable


Preview: Template:ArmorTable Template:FunctionENG SHD Template:FunctionDEF Template:FunctionMIN-MAX ADV Template:FunctionACCURACY-ADV Template:FunctionPIERCE-ADV

|}



Engine Table

Table used to show Engines.

Additional code to show Functions and Ag Ground Speed.

Usable with color templates. And Functions like:

FunctionACCURACY-ADV |ADV

FunctionACCURACY-STD |STD

FunctionDEF |STD / |ADV

FunctionENG SHD |ENERGY / |SHIELD

FunctionEVA |STD / |ADV

FunctionMIN-MAX ADV |MIN / |MAX

FunctionMIN-MAX STD |MIN / |MAX

FunctionPIERCE-ADV |ADV

FunctionPIERCE-STD |STD


{{EngineTable
|NAME={{COLOR}}NAME{{/COLOR}}
|GEAR TYPE=<!-- B-Gear M-Gear I-Gear A-Gear BG MG IG -->
|REQUIRED LEVEL= XXX
|DEMAND STAT= 
XXX [XXX] 

XXX [XXX] 

XXX [XXX]
|EngineTableFunction=
<!-- Function ----------------unnecessary---
{{EngineTableFunction
|ID=3
|ID2=3
}}

{{FunctionPIERCE-ADV
|ADV=-7%}}

{{FunctionPIERCE-STD
|STD=-7%}}

{{FunctionACCURACY-ADV
|ADV=-10%}}

{{FunctionACCURACY-STD
|STD=-10%}}
{{EngineTableFunctionEnd}}------------------
-->
|SPEED MIN= XXX
|SPEED MAX= XXX
|BOOSTER SPEED= XXX
|AG GROUND SPEED=
<!----------------------------unnecessary---
{{EngineTableGroundSpeed|         
GROUND SPEED=300
}}------------------------------------------
-->
|BOOSTER TIME= XXX
|TURN RATE= XXX
|TURN RATE BOOSTER= XXX
|LATERAL SPEED= XXX
|WEIGHT= XXX
}}


Used style selectors:

.WeaponTable


Preview: Template:EngineTable


Shops

Code to use when making shop tables


| [[File:Engine Icon.png|link=ITEM_LINK]]

| [[File:War Points Icon.png|link=]] 

| [[File:IconTransparent.png|link=OLINKO]]

<!--NO LINK-->


{| class="TableShops" style="text-align:left";
|-
| [ITEM_LINK PICTURE_LINK]
| ITEM_NAME
| ITEM_PRICE
|-
| [ITEM_LINK PICTURE_LINK]
| ITEM_NAME
| ITEM_PRICE
|-
| [ITEM_LINK PICTURE_LINK]
| ITEM_NAME
| ITEM_PRICE
|}

Currency icons:

  • War Points Icon.png
  • Phillon Token Icon.png
  • Pandea Token Icon.png
  • Revolt Ignition Token Icon.png
  • Killmark Icon.png
  • Gold Coin Small Icon.png
  • Cosmetic Token Icon.png
  • CRP Icon.png
  • SPI Icon.png
  • PVP Token Icon.png
  • Solar Orb Icon.png
  • Quasar Orb Icon.png
  • Galaxy Orb Icon.png
  • Supercluster Orb Icon.png
  • Pumpkin Seeds.png
  • Pumpkin Shell.png
  • Event Killmark Icon.png

Map buff

Draft for buffs that are applied on the map, like on FFA map or special maps. Usable with {{/MapBuffTable}} as closing tag and {{ITFunction}} as functions.

{{MapBuffTable
|NAME=Name}}

{{ITFunction
|NAME=
|POINT=
}}

{{/MapBuffTable}}


Used style selectors:

.WeaponTable


Preview:

FFA MG Ragings

Template:ITFunction

Template:ITFunction

Template:ITFunction Template:/MapBuffTable


Item Table

Table used to display item like CPU or XXLs. Usable with {{/ItemTable}} as closing tag. Multiple {{ITFunction}} templates can be added.

{{ItemTable
|IMAGE=
|NAME=
|GEAR TYPE=
|LVL=
}}

{{ITFunction
|Name=
|Point=
}}

{{ITFunction
|Name=
|Point=
}}

{{/ItemTable}}


Used style selectors:

.WeaponTable


Preview: Template:ItemTable

Template:ITFunction

Template:ITFunction

Template:ITFunction

Template:ITFunction Template:/ItemTable


Custom missions

Custom Missions Monster Hunt Draft Table

{{CMMT
|Number=MH_NUMBER
|Map(s)_Name={{COLOR}}MAP_NAME(S){{/COLOR}}
}}
<!-- BCU/ANI {{CMMT_BCU/ANI}} [delete if one nation] -->
|-
|
<!-- Monsters -->
{{CMMT_M|Monster_Count=M_COUNT |Monster_Name=M_NAME}}
{{CMMT_M|Monster_Count=M_COUNT |Monster_Name=M_NAME}}
{{CMMT_M|Monster_Count=M_COUNT |Monster_Name=M_NAME}}
{{CMMT_M|Monster_Count=M_COUNT |Monster_Name=M_NAME}}
{{CMMT_M|Monster_Count=M_COUNT |Monster_Name=M_NAME}}
{{CMMT_M|Monster_Count=M_COUNT |Monster_Name=M_NAME}}
{{CMMT_M|Monster_Count=M_COUNT |Monster_Name=M_NAME}}
<!--- BCU/ANI Monsters [delete if one nation]
|
{{CMMT_M|Monster_Count=M_COUNT |Monster_Name=M_NAME}}
-->
{{CMMT_R_B}}
<!-- Rewards -->
{{CMMT_R|Reward_Count=R_COUNT |Reward_Name=R_NAME}}
{{CMMT_R|Reward_Count=R_COUNT |Reward_Name=R_NAME}}
{{CMMT_R|Reward_Count=R_COUNT |Reward_Name=R_NAME}}
{{CMMT_R|Reward_Count=R_COUNT |Reward_Name=R_NAME}}
|}