Module:Documentation: Difference between revisions

From :: ChromeRivals Wiki ::
Jump to navigation Jump to search
Line 928: Line 928:
|REVOLT_IGN_TOKEN=  
|REVOLT_IGN_TOKEN=  
}}
}}
<br>
<br>
<br>
<br>
<br>
<br>

Revision as of 20:33, 1 March 2024

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

Deleted Pictures are cleared from DB at every Monday at 1 AM.

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

Item Table

Do not use, new template added down below

Table used to display items. Usable with {{ITFunctionSeparator}} as separator with Function text and{{/ItemTable}} as closing tag. Multiple {{ITFunction}} templates can be added.

{{ItemTable
|WIDTH= <!--- Leave blank or Radars:140, IF Accesories:120 --->
|IMAGE=
|NAME=
|GEAR TYPE=
|LVL=
}}
{{ITFunction
|Name=
|Point=
}}
{{ITFunctionSeparator}}
{{ITFunction
|Name=
|Point=
}}
{{ITFunction
|Name=
|Point=
}}
{{/ItemTable}}


Used style selectors:

.WeaponTable


Preview: Template:ItemTable

Template:ITFunction

Template:ITFunctionSeparator

Template:ITFunction

Template:ITFunction

Template:ITFunction

Template:ITFunction Template:/ItemTable

Weapon Table / E15

Do not use, new template added down below

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

Do not use, new template added down below

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

Always include ({{/ArmorTable}}) 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
|STD=+XX.XX%
|ADV=+XX.XX%
}}

{{FunctionEVA
|STD=+XX.XX%
|ADV=+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%
}}

{{/ArmorTable}}


Used style selectors:

.WeaponTable


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

|}


Engine Table

Do not use, new template added down below

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=
<!-- AG --------------------------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


Frame template

Table used to display thumb images.

{{Framed|IMAGE=
|CLICK= YES
|WIDTH= 420px
|TITLE-IN=
|TITLE-OUT=
}}


Preview:

BG Main m.png
























FlexWrap / FlexWrapName

Table used to nicely display item, weapons, armors. Usable with {{/FlexWrap}} / {{/FlexWrapName}} as closing tag

{{FlexWrap}}
  .ItemTable
{{/FlexWrap}}


{{FlexWrapName|NAME=Against defense targets}}
  .ItemTable with name
{{/FlexWrapName}}

Preview:

Against defense targets

Template:WeaponTable

Against defense targets

Template:WeaponTable

Mission Template

Table used to display quests on seasonal event page.

{{Mission
|NAME= Daily PVP Tier 1 Mission
|OBJECTIVES=
1x Name <br>
1x Name <br>
|REWARDS=
1x Name <br>
1x Name <br>
}}

Preview:

{{{TITLE}}}
Requirements
{{{REQ}}}

{{{VALUE}}}

Rewards

{{{REWARD}}}

Quests Box Template

Table used to display quest boxes on seasonal event page. Not used.

{{QuestCapsule
|NAME= PVP Tier 1 Quest Box
|REWARDS=
1x Name <br>
1x Name <br>
}}

Boss Table

Table used to display Boss Icons + Info on Hover. Leave parameter blank (Maps, Tokens) if not used. Use 300x300px picture. Use RESPAWN_TIME_CRYSTAL if respawn time not set/boss spawns from crystals.

{{BossTable
|NAME= 
|IMAGE= 
|LINK= 
|MAP_ANI= 
|MAP_BCU= 
|MAP_NEUTRAL= 
|RESPAWN_TIME= 
|RESPAWN_TIME_CRYSTAL=
|PHILLON_TOKEN= 
|PANDEA_TOKEN= 
|REVOLT_IGN_TOKEN= 
}}

Preview:

File:Hornian Queen.png
2h
Phillon Token Icon.png
Hornian Queen
Map/Location:
Hornian King's Habitat
Respawn Time: 2h
Drops:
Phillon Token



Drafts NEW

ItemTable - Item

Used to display Items, usable with {{E15}} and {{Color}} templates.

{{ItemTableITEM
|WIDTH= 			<!-- Not set. Use "em" units -->
|IMAGE= 			<!-- URL, {{E15}} -->
|NAME= 				<!-- Name, {{color}} -->
|GEAR_TYPE= 		<!-- B-Gear, I-Gear, M-Gear, A-Gear, BG MG IG, All GEARs -->
|LEVEL= 
|WEIGHT= 
|FUNCTION_NAME_1= 
|FUNCTION_1= 
|FUNCTION_NAME_2= 
|FUNCTION_2= 
|FUNCTION_NAME_3= 
|FUNCTION_3= 
|FUNCTION_NAME_4= 
|FUNCTION_4= 
|FUNCTION_NAME_5= 
|FUNCTION_5= 
|FUNCTION_NAME_6= 
|FUNCTION_6= 
|FUNCTION_NAME_7= 
|FUNCTION_7= 
|FUNCTION_NAME_8= 
|FUNCTION_8= 
|FUNCTION_NAME_9= 
|FUNCTION_9= 
}}

Used Selector Styles:

.ItemTable + .Item + .Title

Preview:

3737571635.png

Vivace V-3 ['110]

Gear Type All GEARs
Requires Level [100]
Weight
Function
Attack Stat +20
Fuel Stat +18
Spirit Stat +12
Evasion Stat +50

ItemTable - Armor

Used to display Armors, usable with {{Color}} templates.

{{ItemTableARMOR
|WIDTH=              <!-- Not set. Use "em" units -->
|IMAGE=              <!-- URL, {{E15}} -->
|NAME=               <!-- Name, {{color}} -->
|GEAR_TYPE=          <!-- B-Gear, I-Gear, M-Gear, A-Gear, BG MG IG, All GEARs -->
|REQUIRED_LEVEL= 
|WEIGHT= 
|ENERGY= 
|SHIELD= 
|DEFENCE_STD= 
|DEFENCE_ADV= 
|EVASION_STD= 
|EVASION_ADV= 
|ATTK_MIN_STD= 
|ATTK_MAX_STD= 
|ATTK_MIN_ADV= 
|ATTK_MAX_ADV= 
|STD_W_DISTANCE= 
|BOOSTER_OVERHEAT= 
|S_RECOVERY_RATE= 
|DROP_MONSTERS= 
|DEFENCE_MONSTERS= 
|EVASION_MONSTERS= 
|STD_ATTK_MONSTERS= 
|ADV_ATTK_MONSTERS= 
|ACCURACY_STD= 
|ACCURACY_ADV= 
|PIERCE_STD= 
|PIERCE_ADV= 
|CRAFT= <!-- [[File:Egma Schills Strength Icon.png|Egma Schills Strength|link=]]    [[File:A-Type Datacube (Red).png|A-Type Datacube (Red)|link=] -->
}}

Used Selector Styles:

.ItemTable + .Armor + .Title

Preview:

3738263045.png

Advanced Tackle Veil V3 [D]

GEAR Type B-Gear
Required Level [106]
Weight 700kg
Function
Energy (Capacity) +4315
Shield (Capacity) +4554
Weapon's Attack (min) (Adv) +5%
Weapon's Attack (max) (Adv) +5%
Craft Egma Schills Strength    A-Type Datacube (Red)

ItemTable - Weapon

Used to display Weapon, usable with {{E15}} and {{Color}} templates.

{{ItemTableWEAPON
|WIDTH=                 <!-- Not set. Use "em" units -->
|IMAGE=                 <!-- URL, {{E15}} -->
|NAME=                  <!-- Name, {{color}} -->
|TYPE=                  <!-- Gatling Type, Rifle type, Vulcan type, Missile type, Cannon, Mass drive type -->
|GEAR_TYPE=             <!-- B-Gear, I-Gear, M-Gear, A-Gear, BG MG IG, All GEARs -->
|REQUIRED_LEVEL= XXX
|ATTACK_POWER= (X ~ X) X (X X X)
|ATTACK_POWER/s= XXX ~ XXX
|ACCURACY= XXX.XX%
|PIERCE= XX.XX%
|RANGE= XXXm
|REATTACK_TIME= X.XXs
|OVERHEAT_TIME=    <!-- XX.XXs - STD, Leave blank if not used -->
|VALID_ANGLE=      <!-- X°     - ADV, Leave blank if not used -->
|SPEED=            <!-- XXXm/s - ADV, Leave blank if not used -->
|INDUCTION _RATE=  <!-- XXX°/ - ADV, Leave blank if not used -->
|EXPLOSION_RADIUS= <!-- Xm     - ADV, Leave blank if not used -->
|WEIGHT= XXXg
|CRAFT= <!-- [[File:Egma Schills Strength Icon.png|Egma Schills Strength|link=]]    [[File:A-Type Datacube (Red).png|A-Type Datacube (Red)|link=] -->
}}

Used Selector Styles:

.ItemTable + .Weapon + .Title

Preview

3738499811.png

Legend Needlestorm of Max

Type Missile type
GEAR Type BG MG IG
Required Level [115]
Attack Power (159 [+15%] ~ 203 [+15%]) X (4 X 1)
Attack Power/s 1046 ~ 1336
Accuracy 103.00% [+15%]
Pierce 2.50% [+20%]
Range 4000m
Reattack Time 1.40s [-20%] [-30%]
Valid Angle
Speed 550m/s
Explosion Radius 0m
Weight 310kg

ItemTable - Engine

Used to display Engines, usable with {{ItemTableEngineFunction}} written inside the template, {{E15}} and {{Color}} templates. Not use end units below Function.

{{ItemTableENGINE
|NAME= 
|GEAR_TYPE=		<!--B-Gear, I-Gear, M-Gear, A-Gear, BG MG IG, All GEARs-->
|REQUIRED_LEVEL= 
|DEMAND_STAT_ATTACK= 
|DEMAND_STAT_DEFENSE= 
|DEMAND_STAT_EVASION= 
|DEMAND_STAT_FUEL= 
|DEMAND_STAT_SPIRIT= 
|DEMAND_STAT_SHIELD= 
|ItemTableEngineFunction=   <!--Function. Delete or leave blank if not used-->
{{ItemTableEngineFunction
|ID= 69
|ID_2= 69
|ENERGY= 
|SHIELD= 
|DEFENCE-STD= 
|DEFENCE-ADV= 
|EVASION-STD= 
|EVASION-ADV= 
|ATTK-MIN-STD= 
|ATTK-MAX-STD= 
|ATTK-MIN-ADV= 
|ATTK-MAX-ADV= 
|STD-W-DISTANCE= 
|BOOSTER-OVERHEAT= 
|S-RECOVERY-RATE= 
|DROP-MONSTERS= 
|DEFENCE-MONSTERS= 
|EVASION-MONSTERS= 
|STD-ATTK-MONSTERS= 
|ADV-ATTK-MONSTERS= 
|ACCURACY-STD= 
|ACCURACY-ADV= 
|PIERCE-STD= 
|PIERCE-ADV= 
}} <!-- Not use end units below -->
|SPEED_MIN= 
|SPEED_MAX= 
|BOOSTER_SPEED= 
|GROUND_SPEED= 		<!--AG, Delete or leave blank if not used-->
|BOOSTER_TIME= 
|TURN_RATE= 
|TURN_RATE_BOOSTER= 
|LATERAL_SPEED= 
|WEIGHT= 
}}

Used Selector Styles:

.ItemTable + .Engine+ .Title + .Function


Preview

Engine Icon.png

Accounter-M XI ['35] V-Attack

Gear Type M-Gear
Requires Level [25]
Demand stat Attack [246]
Defense [68]
Spirit [68]
Speed 150m/s ~ 190m/s
Booster speed 400m/s
Booster time 15s
Turn Rate 104°/s
Turn Rate (Booster) 86°/s
Lateral Speed 23m/s
Weight 240kg