Module:Documentation: Difference between revisions

From :: ChromeRivals Wiki ::
Jump to navigation Jump to search
No edit summary
(122 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOINDEX__
<div style="display:none" class="user-show">__NOINDEX__
<div class="DocTOC" style="position:fixed; font-size:0.95em; top:6.6em; right:1em; background-color: #282424;">__TOC__</div>
This page contains documentation for templates, styles, drafts and special pages. It is not a tutorial. Learn how media wiki works by yourself. Key words: Markup, MW Templates, HTML, CSS, JS, PHP.
This page contains documentation for templates, styles, drafts and special pages. It is not a tutorial. Learn how media wiki works by yourself. Key words: Markup, MW Templates, HTML, CSS, JS, PHP.


Most useful information:
Most useful information:
* Deleted Pictures are cleared from DB at every Monday at 1 AM.
* Deleted Pictures are cleared from DB at every Monday at 1 AM.
* Styles are located in MediaWiki:Common.css (Global) page and MediaWiki:Group-user.css (Personal - logged users) page.
* Styles are located in "MediaWiki:Common.css" (Global) page and "MediaWiki:Group-user.css" (Personal - logged users) page.
* Java Script file is located in MediaWiki:Common.js page.
* Java Script file is located in "MediaWiki:Common.js" page.
* Pages used to test stuff: [[Test Page]], [[Test Page 2]].
* Pages used to test stuff: "Test Page", "Test Page 2", "Test Page 3".
* Fast picture upload with BatchUpload extension: Special:BatchUpload page.
* Fast picture upload with BatchUpload extension: "Special:BatchUpload" page.
* Editing the sidebar: MediaWiki:Sidebar.
* Editing the sidebar: "MediaWiki:Sidebar".
* Recent Changes: Special:RecentChanges
* Recent Changes: "Special:RecentChanges".
* Other: Special:SpecialPages
* Other: "Special:SpecialPages".
* Google Analytics about this wiki is available for you to check, ask administrators to grand you acces.
* Google Analytics about this wiki is available for you to check, ask administrators to grand you acces.
* Making full manual backup:
* Making full manual backup:
** 1. Copy pages from Special:LonelyPages
** 1. Copy pages from "Special:LonelyPages".
** 2. Go to Special:Export
** 2. Go to Special:Export.
** 3. Paste pages from Special:LonelyPages into the "Add pages manually" box.
** 3. Paste pages from "Special:LonelyPages" into the "Add pages manually" box.
** 4. On new line add "Main Page".
** 4. On new line add "Main Page".
** 5. Select Include templates.
** 5. Select Include templates.
** 6. Add some crazy number like 23424352 in "Include linked pages to a depth of" box.
** 6. Add some crazy number like 23424352 in "Include linked pages to a depth of" box.
** 7. Export
** 7. Export.
** 8. Copy JS code to text editor of your choice.
** 8. Copy JS code to text editor of your choice.
** 9. Copy CSS code to text editor of your choice.
** 9. Copy CSS code to text editor of your choice.
** 10. Copy CSS User code to text editor of your choice.
** 10. Copy CSS User code to text editor of your choice.
** 10. You should successfully have 4 files: Main mediawiki code, JS code, CSS code, CSS User code, which are your manual backup. Store them safety
** 10. You should successfully have 4 files: Main mediawiki code, JS code, CSS code, CSS User code, which are your manual backup. Store them safety.


Images backups are made by System Administrator  
Images backups are made by System Administrator.


<!-- Cr-Api-Key: CR-Wiki-Public-jagAA4388DSfjk3 -->
<!-- Cr-Api-Key: CR-Wiki-Public-jagAA4388DSfjk3 -->
''Written by Ranzu. Last Updated 6 May 2024.''
==Templates==
==Templates==
===Color Templates===
===Color Templates===
Line 33: Line 36:




Used with E.g. <code><nowiki>{{/lblue}}</nowiki></code> or <code><nowiki>{{/blue}}</nowiki></code>, as closing tag.
Used with E.g. <code><nowiki>{{/lblue}}</nowiki></code> or <code><nowiki>{{/blue}}</nowiki></code> and <code><nowiki>{{/EndColor}}</nowiki></code>, as closing tag.


[https://wiki.chromerivals.net/index.php?title=Chat#Text_color Chat#Text_color]
[https://wiki.chromerivals.net/index.php?title=Chat#Text_color Chat#Text_color]
Line 43: Line 46:
* {{orange}}#F5B930 <code><nowiki>{{orange}}</nowiki></code> \e {{/orange}} Enchant Manual
* {{orange}}#F5B930 <code><nowiki>{{orange}}</nowiki></code> \e {{/orange}} Enchant Manual
* {{lime}}#00FF00 <code><nowiki>{{lime}}</nowiki></code> \g {{/lime}} Enchant Fix
* {{lime}}#00FF00 <code><nowiki>{{lime}}</nowiki></code> \g {{/lime}} Enchant Fix
* {{dorange}}#F4891E<code><nowiki>{{dorange}}</nowiki></code> \h
* {{dorange}}#F4891E <code><nowiki>{{dorange}}</nowiki></code> \h
* {{brown}}#A64A0C <code><nowiki>{{brown}}</nowiki></code> \k
* {{brown}}#A64A0C <code><nowiki>{{brown}}</nowiki></code> \k
* {{lapis}}#00AAFF <code><nowiki>{{lapis}}</nowiki></code> \l
* {{lapis}}#00AAFF <code><nowiki>{{lapis}}</nowiki></code> \l
Line 55: Line 58:
* {{white}}#FFFFFF <code><nowiki>{{white}}</nowiki></code> \w
* {{white}}#FFFFFF <code><nowiki>{{white}}</nowiki></code> \w
* {{yellow}}#FFFF00 <code><nowiki>{{yellow}}</nowiki></code> \y
* {{yellow}}#FFFF00 <code><nowiki>{{yellow}}</nowiki></code> \y
===Toggle button===
----
----
===Toggle button===
<code><nowiki>{{ToggleButton}}</nowiki></code>
<code><nowiki>{{Toggle}}</nowiki></code>
 
 
Always include space or break before this template if you using <code>Title</code>.
 
 
Used with <code><nowiki>{{/Toggle}}</nowiki></code>, as closing tag.
 


Usually called to display/collapse elements.
<pre>
<pre>
{{Toggle|Title=Title_Goes_Here}}
{{ToggleButton|Title=Title_Goes_Here|
Toggled_Content_Goes_Here
Toggled_Content_Goes_Here
{{/Toggle}}
}}
</pre>
</pre>


Line 80: Line 78:
</pre>
</pre>


'''Preview:'''
{{ToggleButton|Title=Standard Enchanting Cards|
* Energy Card
* Std. Attack Card
* Adv. Attack Card
* Std. Reat Card
* Adv. Reat Card
* Std. Accuracy Card
* Adv. Accuracy Card
* Std. Pierce Card
* Adv. Pierce Card
* Defense Card
* Evasion Card
}}
{{ToggleButton|
* Energy Card
* Std. Attack Card
* Adv. Attack Card
* Std. Reat Card
* Adv. Reat Card
* Std. Accuracy Card
* Adv. Accuracy Card
* Std. Pierce Card
* Adv. Pierce Card
* Defense Card
* Evasion Card
}}
===Toggle List button===
----
<code><nowiki>{{ListToggle}}</nowiki></code>
Usually called to display list of items. This check for content width, that's why here it looks bad.
<pre>
{{ListToggle|Title= Enchant Cards
| Content
}}
</pre>


'''Preview:'''
'''Preview:'''
<!-- Space here! -->
{{ListToggle|Title= Enchant Cards|
* Energy Card
* Std. Attack Card
* Adv. Attack Card
* Std. Reat Card
* Adv. Reat Card
* Std. Accuracy Card
* Adv. Accuracy Card
* Std. Pierce Card
* Adv. Pierce Card
* Defense Card
* Evasion Card
* blah blah blah blah blah
}}


{{Toggle|Title=Standard Enchanting Cards}}
===Toggle button - table===
{|
----
| Energy Card
* <code><nowiki>r-collapsible-table</nowiki></code> - Class added to the table that you want to collapse/expand.
* <code><nowiki>r-collapsed</nowiki></code> - Class added to the table that you want to be collapsed by default.
* <code><nowiki>r-collapsible-title</nowiki></code> - Class added to the '''table header''' (or first row) that you want to be displayer when collapsed.
<br>
* <code><nowiki>MT-Global</nowiki></code> - Mission Table class, not required.
<br>
<pre>
{| class="MT-Global r-collapsible-table r-collapsed"
! class="MT-Title r-collapsible-title" | Title
|-
|-
| Std. Attack Card
| Content
|-
| Adv. Attack Card
|-
| Std. Reat Card
|-
| Adv. Reat Card
|-
| Std. Accuracy Card
|-
| Adv. Accuracy Card
|-
| Std. Pierce Card
|-
| Adv. Pierce Card
|-
| Defense Card
|-
| Evasion Card
|}
|}
{{/Toggle}}
</pre>


{{Toggle|Title=}}
'''Preview:'''
{|
{| class="MT-Global r-collapsible-table r-collapsed"
| Energy Card
! class="MT-Title r-collapsible-title r-reward" | Title
|-
|-
| Std. Attack Card
| class="MT-Value"| Content
|-
| Adv. Attack Card
|-
| Std. Reat Card
|-
| Adv. Reat Card
|-
| Std. Accuracy Card
|-
| Adv. Accuracy Card
|-
| Std. Pierce Card
|-
| Adv. Pierce Card
|-
| Defense Card
|-
| Evasion Card
|}
|}
{{/Toggle}}


==Other==
===Hover to show===
===Hover to show===
----
Hover over <code><nowiki>.HoverHide</nowiki></code> to show <code><nowiki>.hide</nowiki></code>
Hover over <code><nowiki>.HoverHide</nowiki></code> to show <code><nowiki>.hide</nowiki></code>


Line 154: Line 174:
<div class=hide>To see this</div>
<div class=hide>To see this</div>


===Custom Toggle===
----
----
===Custom Toggle===
Used with:
Used with:
<code><nowiki>mw-customtoggle-myDivision1</nowiki></code>
<code><nowiki>mw-customtoggle-myDivision1</nowiki></code>
Line 170: Line 190:
Toggled Content
Toggled Content
</div>
</div>
==Drafts==
====Tabbers====
Tabber Extension: https://www.mediawiki.org/wiki/Extension:TabberNeue
Always include space between title and content.
Used with <code><nowiki>td:nth-child(X)</nowiki></code> as column selector.
Simple tabber:


==Other==
===Meta Tags===
----
We use [https://www.mediawiki.org/wiki/Extension:WikiSEO Wiki SEO Extension] to add meta tags, like description or images (those will show under link in discord for example) to the header of the page.
<br>
Most common use would be (B-Gear page):
<pre>
<pre>
<tabber>
{{#seo:
|-| B-Gear=
|description= This page contains all useful equipment and some guides about the B-Gear.
 
|image= BG_Main_m.png
First tab content goes here.
|image_width= 420px
|-| I-Gear=
|image_height= 420px
 
Second tab content goes here.
|-| M-Gear=
 
Third tab content goes here.
|-| A-Gear=
 
Third tab content goes here.
</tabber>
</pre>
 
 
Nested tabber:
 
<pre>
<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>
</pre>
</pre>
<br>
Not using <code><nowiki>|image=</nowiki></code> or leaving the parameter blank, will result in default CR Wiki Logo picture.


 
==Drafts==
Used style selectors:
====Tabs (Old tabber)====
----
Used to display multiple tabs, like with shops and 4 gears.
<br>
Note the <code><ta b</code>. Added this space to actually see the syntax colors. Move it back to normal after finishing the job.
<pre>
<pre>
.tabber--live
<ta bs>{{Limit-Height|H= 60em}}<ta b name="B-Gear">{{Shops-PRE}} <!--------------------------------------------------------- B-Gear -->
.tabber__header
Content B-Gear
.tabber__indicator
{{Shops-POST}}{{/Limit-Height}}</tab>{{Limit-Height|H= 60em}}<ta b name="I-Gear">{{Shops-PRE}} <!--------------------------------------------------------- I-Gear -->
.tabber__header__prev
Content I-Gear
.tabber__header__next
{{Shops-POST}}{{/Limit-Height}}</tab>{{Limit-Height|H= 60em}}<ta b name="M-Gear">{{Shops-PRE}} <!--------------------------------------------------------- M-Gear -->
.tabber__section
Content M-Gear
.tabber__panel
{{Shops-POST}}{{/Limit-Height}}</tab>{{Limit-Height|H= 60em}}<ta b name="A-Gear">{{Shops-PRE}} <!--------------------------------------------------------- A-Gear -->
.tabber__tab
Content A-Gear
{{Shops-POST}}{{/Limit-Height}}</tab></tabs>
</pre>
</pre>


====Recipe Table====
----
----
 
Table used to show recipes, usable with <code><nowiki>{{RecipeTablePRE|5}}</nowiki></code> (number of columns/materials) as opening tag and <code><nowiki>{{RecipeTestPOST}}</nowiki></code> as closing tag.
====Recipe Table====
Material count number needs to be the same as number of rows.
Table used to show recipes.
Material count number needs to be the same as number of rows <code><nowiki>PICTURE_LINK_X</nowiki></code>.  


Usable with color templates.
Usable with color templates.


<pre>
<pre>
{| class="RecipeTable"
{{RecipeTablePRE|5}}
! colspan="MATERIAL_COUNT"| Materials
{{RecipeTable|5
! style="width: 80px;"| Success
|R1=  
! Final
|R2=  
|-
|R3=
| PICTURE_LINK_1 {{COLOR_1}}NAME_1{{/COLOR_1}} (x1)
|R4=
| PICTURE_LINK_2 {{COLOR_2}}NAME_2{{/COLOR_2}} (x1)
|R5=
| PICTURE_LINK_3 {{COLOR_3}}NAME_3{{/COLOR_3}} (x1)
|CHANCE=
| PICTURE_LINK_4 {{COLOR_4}}NAME_4{{/COLOR_4}} (x1)
|FINAL=
| PICTURE_LINK_5 {{COLOR_5}}NAME_5{{/COLOR_5}} (x1)
}}
| CHANCE_1
{{RecipeTablePOST}}
| PICTURE_FINAL {{FINAL_COLOR}}FINAL_NAME{{/FINAL_COLOR}} (x1)
|}
</pre>
</pre>




'''Preview:'''
'''Preview:'''
{| class="RecipeTable"
{{RecipeTablePRE|3}}
! colspan="3"| Materials
{{RecipeTable|3
! style="width: 80px;"| Success
|R1= https://download.chromerivals.net/resources/items_images/standard/3726917263.png {{cyan}}Refined Boss Mineral{{/cyan}} (x1)
! Final
|R2= https://download.chromerivals.net/resources/items_images/standard/3737599993.png {{magenta}}Boss Strengthening Card{{/magenta}} (x1)
|-
|CHANCE= 50%
| https://download.chromerivals.net/resources/items_images/standard/3726917263.png {{cyan}}Refined Boss Mineral{{/cyan}} (x1)
|FINAL= https://download.chromerivals.net/resources/items_images/standard/3726901631.png {{blue}}Reinforced Boss Transformation Card{{/blue}} (x1)
| https://download.chromerivals.net/resources/items_images/standard/3737599993.png {{magenta}}Boss Strengthening Card{{/magenta}} (x1)
}}
|
{{RecipeTable|3
| 50%
|R1= https://download.chromerivals.net/resources/items_images/standard/3726917263.png {{cyan}}Refined Boss Mineral{{/cyan}} (x1)
| https://download.chromerivals.net/resources/items_images/standard/3726901631.png {{blue}}Reinforced Boss Transformation Card{{/blue}} (x1)
|R2= https://download.chromerivals.net/resources/items_images/standard/3737599993.png {{magenta}}Boss Strengthening Card{{/magenta}} (x1)
|-
|R3= https://download.chromerivals.net/resources/items_images/standard/3737557289.png {{cyan}}Ancient Matter{{/cyan}} (x1)
| https://download.chromerivals.net/resources/items_images/standard/3726917263.png {{cyan}}Refined Boss Mineral{{/cyan}} (x1)
|CHANCE= 60%
| https://download.chromerivals.net/resources/items_images/standard/3737599993.png {{magenta}}Boss Strengthening Card{{/magenta}} (x1)
|FINAL= https://download.chromerivals.net/resources/items_images/standard/3726901631.png {{blue}}Reinforced Boss Transformation Card{{/blue}} (x1)
| https://download.chromerivals.net/resources/items_images/standard/3737557289.png {{cyan}}Ancient Matter{{/cyan}} (x1)
}}
| 60%
{{RecipeTablePOST}}
| https://download.chromerivals.net/resources/items_images/standard/3726901631.png {{blue}}Reinforced Boss Transformation Card{{/blue}} (x1)
 
|}




Line 312: Line 272:
</pre>
</pre>


 
====Skill Table====
----
----
====Shops====
Used to display Skills, usable with <code><nowiki>{{SkillTable-PRE}}</nowiki></code> as opening tag and <code><nowiki>{{SkillTable-PRE}}</nowiki></code> as closing tag.
Code to use when making shop tables
<br>
Main template inside: <code><nowiki>{{SkillTable-ROW-NORMAL}}</nowiki></code> to display normal rows and <code><nowiki>{{SkillTable-ROW-CARD}}</nowiki></code> to display row with card as requirement (price).
<br>
If table use parameters: DURATION / RECHARGE_TIME, add <code><nowiki>-D-RT</nowiki></code> to template name.
<br>
If table use parameters: RECHARGE_TIME, add <code><nowiki>-RT</nowiki></code> to template name.


Cards used:
* [[File:Special_Skill_Opening_Card_Icon.png|link=|Special Skill Opening Card]] Special Skill Opening Card <!-- Green -->


<code><nowiki>| [[File:Engine Icon.png|link=ITEM_LINK]]</nowiki></code>
* [[File:Final_Skill_Opening_Card_Icon.png|link=|Final Skill Opening Card]] Final Skill Opening Card <!--Blue -->


<code><nowiki>| [[File:War Points Icon.png|link=]]&nbsp;</nowiki></code>
* [[File:Elite_Skill_Opening_Card_Icon.png|link=|Elite Skill Opening Card]] Elite Skill Opening Card <!-- Purple -->
<br>
<pre>
{{SkillTable-PRE-D-RT}}
{{SkillTable-ROW-NORMAL-D-RT
|SKILL_LEVEL=
|REQUIRED_LEVEL=
|SP=
|DURATION=
|RECHARGE_TME=
|FUNCTION=
|PRICE=
}}
{{SkillTable-ROW-CARD-D-RT
|SKILL_LEVEL=
|REQUIRED_LEVEL=
|SP=
|DURATION=
|RECHARGE_TME=
|FUNCTION=
|PRICE=
|CARD=
}}
{{SkillTable-POST}}


<code><nowiki>| [[File:IconTransparent.png|link=OLINKO]]</nowiki></code>
{{SkillTable-PRE}}
 
{{SkillTable-ROW-NORMAL
<code><nowiki><!--NO LINK--></nowiki></code>
|SKILL_LEVEL=
 
|REQUIRED_LEVEL=  
 
|SP=
<pre>
|FUNCTION=
{| class="TableShops" style="text-align:left";
|PRICE=
|-
}}
| [ITEM_LINK PICTURE_LINK]
{{SkillTable-ROW-CARD
| ITEM_NAME
|SKILL_LEVEL=
| ITEM_PRICE
|REQUIRED_LEVEL=
|-
|SP=
| [ITEM_LINK PICTURE_LINK]
|FUNCTION=
| ITEM_NAME
|PRICE=
| ITEM_PRICE
|CARD=
|-
}}
| [ITEM_LINK PICTURE_LINK]
{{SkillTable-POST}}
| ITEM_NAME
| ITEM_PRICE
|}
</pre>
</pre>
'''Preview'''
* ??


'''Currency icons:'''
====Map buff====
* 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.
Draft for buffs that are applied on the map, like on FFA map or special maps. Usable with <code><nowiki>{{/MapBuffTable}}</nowiki></code> as closing tag and <code><nowiki>{{ITFunction}}</nowiki></code> as functions.
<pre>
<pre>
{{MapBuffTable
{{MapBuffTable
|NAME=Name}}
|NAME=  
 
|FUNCTION_NAME_1=
{{ITFunction
|FUNCTION_1=
|NAME=
|FUNCTION_NAME_2=
|POINT=
|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=  
}}
}}
{{/MapBuffTable}}
</pre>
Used style selectors:
<pre>
.WeaponTable
</pre>
</pre>


'''Preview:'''
'''Preview:'''
{{MapBuffTable
{{MapBuffTable
|NAME={{pink}}<big>FFA MG Ragings</big>{{/pink}}
|NAME=FFA MG Ragings
|FUNCTION_NAME_1= Weapon's Attack (min) (Std)
|FUNCTION_1= +15%
|FUNCTION_NAME_2= Weapon's Attack (max) (Std)
|FUNCTION_2= +15%
|FUNCTION_NAME_3= Weapon's Attack (min) (Adv)
|FUNCTION_3= +15%
}}
}}


{{ITFunction
====Frame====
|Name=Weapon's Attack (min) (Std)
|Point=+15%
}}
 
{{ITFunction
|Name=Weapon's Attack (max) (Std)
|Point=+15%
}}
 
{{ITFunction
|Name=Weapon's Attack (min) (Adv)
|Point=+15%
}}
{{/MapBuffTable}}
 
----
----
====Frame====
Table used to display thumb images.
Table used to display thumb images.
<pre>
<pre>
Line 448: Line 413:
<br>
<br>
<br>
<br>
====FlexWrap / FlexWrapName====
----
----
====FlexWrap / FlexWrapName====
Table used to nicely display item, weapons, armors. Usable with <code><nowiki>{{/FlexWrap}}</nowiki></code> as opening tag, and <code><nowiki>{{/FlexWrapName}}</nowiki></code> as closing tag.
Table used to nicely display item, weapons, armors. Usable with <code><nowiki>{{/FlexWrap}}</nowiki></code> / <code><nowiki>{{/FlexWrapName}}</nowiki></code> as closing tag
<pre>
<pre>
{{FlexWrap}}
{{FlexWrap}}
Line 467: Line 433:


{{FlexWrap}}
{{FlexWrap}}
{{FlexWrapName|NAME=Against defense targets}}
{{FlexWrapName|NAME= Some CPU}}
{{WeaponTable
{{ItemTableITEM
|WIDTH1=  
|WIDTH=
|WIDTH2=210
|IMAGE= https://download.chromerivals.net/resources/items_images/big/3737571635.png
|PICTURE={{E15}}https://download.chromerivals.net/resources/items_images/big/3737564733.png{{/E15}}
|NAME= {{magenta}}Vivace V-3 ['110]{{/magenta}}
|NAME={{magenta}}Max{{/magenta}} {{blue}}Lightning Cascade{{/blue}} {{magenta}}of Max{{/magenta}}
|GEAR_TYPE= All GEARs
|TYPE= Gatling type
|LEVEL= 100
|GEAR TYPE=BG MG IG
|WEIGHT= 120kg
|REQUIRED LEVEL=115
|FUNCTION_NAME_1= Attack Stat
|ATTACK POWER=(26 {{lime}}[+30%]{{/lime}} ~ 32 {{lime}}[+30%]{{/lime}}) X (4 X 1)
|FUNCTION_1= +20
|ATTACK POWER/s=683 ~ 840
|FUNCTION_NAME_2= Fuel Stat
|ACCURACY=100.00%
|FUNCTION_2= +18
|PIERCE=10.00% {{orange}}[+12.00%]{{/orange}}
|FUNCTION_NAME_3= Spirit Stat
|RANGE=720m
|FUNCTION_3= +12
|REATTACK TIME=0.45s {{orange}}[-26.00%]{{/orange}} {{lime}}[-30.00%]{{/lime}}
|FUNCTION_NAME_4= Evasion Stat
|WEAPON_TYPE=
|FUNCTION_4= +50
{{STD Weapon
|OVERHEAT TIME=30.00s
}}
|WEIGHT=120kg
}}
}}
{{/FlexWrapName}}
{{/FlexWrapName}}
{{FlexWrapName|NAME=Against defense targets}}
{{FlexWrapName|NAME= Some other CPU}}
{{WeaponTable
{{ItemTableITEM
|WIDTH1=  
|WIDTH=
|WIDTH2=210
|IMAGE= https://download.chromerivals.net/resources/items_images/big/3737571635.png
|PICTURE={{E15}}https://download.chromerivals.net/resources/items_images/big/3737564733.png{{/E15}}
|NAME= {{magenta}}Vivace V-3 ['110]{{/magenta}}
|NAME={{magenta}}Legend{{/magenta}} {{blue}}Lightning Cascade{{/blue}} {{magenta}}of Max{{/magenta}}
|GEAR_TYPE= All GEARs
|TYPE= Gatling type
|LEVEL= 100
|GEAR TYPE=BG MG IG
|WEIGHT= 120kg
|REQUIRED LEVEL=115
|FUNCTION_NAME_1= Attack Stat
|ATTACK POWER=(26 {{lime}}[+15%]{{/lime}} ~ 32 {{lime}}[+15%]{{/lime}}) X (4 X 1)
|FUNCTION_1= +20
|ATTACK POWER/s=460 ~ 566
|FUNCTION_NAME_2= Fuel Stat
|ACCURACY=100.00% {{lime}}[+15%]{{/lime}}
|FUNCTION_2= +18
|PIERCE=10.00% {{orange}}[+28.00%]{{/orange}}
|FUNCTION_NAME_3= Spirit Stat
|RANGE=720m
|FUNCTION_3= +12
|REATTACK TIME=0.45s {{orange}}[-12.00%]{{/orange}} {{lime}}[-30.00%]{{/lime}}
|FUNCTION_NAME_4= Evasion Stat
|WEAPON_TYPE=
|FUNCTION_4= +50
{{STD Weapon
|OVERHEAT TIME=30.00s
}}
|WEIGHT=120kg
}}
}}
{{/FlexWrapName}}
{{/FlexWrapName}}
Line 514: Line 472:


====Missions====
====Missions====
Table used to display quests on seasonal event page.
----
Table used to display missions. Automatically used with Toggle Button - Table. <nowiki>|MAP=</nowiki> not required.
<pre>
<pre>
{{Mission
{{Mission
|NAME= Daily PVP Tier 1 Mission
|TITLE=  
|OBJECTIVES=
|REQ=  
1x Name <br>
|MAP=
1x Name <br>
|VALUE=
|REWARDS=
 
1x Name <br>
|REWARD=  
1x Name <br>
 
}}
}}
</pre>
</pre>
Used with; as title selectors.
<pre>
|TITLE= {{MT-BCU|MS Token}}
|TITLE= {{MT-BCU|MS Token}}
</pre>
'''Preview:'''
'''Preview:'''
{{Mission
{{Mission
|NAME= Daily PVP Tier 1 Mission
|TITLE= Monster Hunt 1
|OBJECTIVES=
|REQ= Kill Monsters is:
50x Occult Pepo <br>
|MAP= {{orange}}Tylent Jungle{{/orange}}
400x Damned Trimus <br>
|VALUE=
|REWARDS=
* 23x Gatling
1x PvP Tier 1 Box <br>
* 23x Gatling
1x Boss Strengthening Card <br>
|REWARD=
* 5 million SPI
* 1x Chrome Picture of Lover 90 days
}}
 
====Reward Box====
----
Table used to display Reward Box or other box contents. Automatically used with Toggle Button - Table.
<pre>
{{Reward
|TITLE=
|REWARD=
 
}}
</pre>
 
'''Preview:'''
{{Reward
|TITLE= Contents of<br>Chrome Reward Capsule
|REWARD=  
* 1x Mysterious Code - Red
* 1x Mysterious Code - Blue
* 1x 10.000 CR-Points Box
* 1x PET V-2 Upgrade Card
* 1x PET V-3 Upgrade Card
* 2x V-2 CPU Capsule
* 1x Legendary Weap. Gamble Capsule
}}
}}


====Player Stats Template====
====Player Stats Template====
----
Table used to display player stats on gear pages.. Use <code><nowiki>{{orange}}'''STAT'''{{/orange}}</nowiki></code> when stat reached 340 (max).
Table used to display player stats on gear pages.. Use <code><nowiki>{{orange}}'''STAT'''{{/orange}}</nowiki></code> when stat reached 340 (max).
<pre>
<pre>
Line 571: Line 564:
|S-EVASION-ADV= 40.17%
|S-EVASION-ADV= 40.17%
}}
}}
====Quests Box Template====
Table used to display quest boxes on seasonal event page. {{yellow}} '''Not used.''' {{/yellow}}
<pre>
{{QuestCapsule
|NAME= PVP Tier 1 Quest Box
|REWARDS=
1x Name <br>
1x Name <br>
}}
</pre>


====Boss Table====
====Boss Table====
----
Table used to display Boss Icons + Info on Hover. Leave parameter blank (Maps, Tokens) if not used. Use 300x300px picture. Use <code><nowiki>RESPAWN_TIME_CRYSTAL</nowiki></code> if respawn time not set/boss spawns from crystals.
Table used to display Boss Icons + Info on Hover. Leave parameter blank (Maps, Tokens) if not used. Use 300x300px picture. Use <code><nowiki>RESPAWN_TIME_CRYSTAL</nowiki></code> if respawn time not set/boss spawns from crystals.
<pre>
<pre>
Line 604: Line 587:
{{BossTable
{{BossTable
|NAME= Hornian Queen
|NAME= Hornian Queen
|IMAGE= Hornian Queen.png
|IMAGE= W New Hornian Queen.jpg
|LINK= https://chromerivals.net/game/pedia/monster/764182069344489500
|LINK= https://chromerivals.net/game/pedia/monster/764182069344489500
|MAP_ANI=  
|MAP_ANI=  
Line 610: Line 593:
|MAP_NEUTRAL= Hornian King's Habitat
|MAP_NEUTRAL= Hornian King's Habitat
|RESPAWN_TIME= 2h
|RESPAWN_TIME= 2h
|RESPAWN_TIME_CRYSTAL=
|PHILLON_TOKEN= yes
|PHILLON_TOKEN= yes
|PANDEA_TOKEN=  
|PANDEA_TOKEN=  
|REVOLT_IGN_TOKEN=  
|REVOLT_IGN_TOKEN=  
}}
}}
<br>
====Item List Table====
----
Table used to display Items on the list. Usable with <code><nowiki>{{ListItem-PRE}}</nowiki></code> as opening tag, and <code><nowiki>{{ListItem-POST}}</nowiki></code> as closing tag. Use <code><nowiki>{{ListItem-PRE-NOLINK}}</nowiki></code> as opening tag if you want no links.
<pre>
{{ListItem-PRE}}
{{ListItem|W= |LINK=
|NAME= }}
{{ListItem-POST}}
</pre>
'''Preview:'''
{{ListItem-PRE}}
{{ListItem|W=|LINK= [https://chromerivals.net/game/pedia/item/800008278271602700 https://download.chromerivals.net/resources/items_images/big/3737557043.png]
|NAME= 5.000 WP Capsule}}
{{ListItem-POST}}
{{ListItem-PRE-NOLINK}}
{{ListItem|W=|LINK= [https://chromerivals.net/game/pedia/item/800008278271602700 https://download.chromerivals.net/resources/items_images/big/3737557043.png]
|NAME= 5.000 WP Capsule}}
{{ListItem-POST}}
<br>
====Height Limiter====
----
Tag used to limit the height of an element, usually Shop Tables or Item List. Usable with <code><nowiki>{{/Limit-Height}}</nowiki></code> as closing tag. Use <code>em</code> units. Default = 60em.
* <code><nowiki>{{Limit-Height|H= 60em}}</nowiki></code> - [Display:block] Used on shop content tables/list items with multiple <code><nowiki><tab></nowiki></code> / <code><nowiki><tab name></nowiki></code> tags.
* <code><nowiki>{{Limit-Height-InLine|H= 60em}}</nowiki></code> - [Display:inline-block] Used on list / normal shop content tables without any tab tags.
<br>
<pre>
{{Limit-Height|H= 60em}}
{{Limit-Height-InLine|H= 60em}}
{{/Limit-Height}}
</pre>
<br>
<br>


==Drafts - ItemTable==
==Drafts - ItemTable==
====ItemTable - Item====
====ItemTable - Item====
----
Used to display Items, usable with <code><nowiki>{{E15}}</nowiki></code> and <code><nowiki>{{Color}}</nowiki></code> templates.
Used to display Items, usable with <code><nowiki>{{E15}}</nowiki></code> and <code><nowiki>{{Color}}</nowiki></code> templates.


Line 662: Line 682:
|GEAR_TYPE= All GEARs
|GEAR_TYPE= All GEARs
|LEVEL= 100
|LEVEL= 100
|WEIGHT=  
|WEIGHT= 50kg
|FUNCTION_NAME_1= Attack Stat
|FUNCTION_NAME_1= Attack Stat
|FUNCTION_1= +20
|FUNCTION_1= +20
Line 674: Line 694:


====ItemTable - Armor====
====ItemTable - Armor====
----
Used to display Armors, usable with <code><nowiki>{{Color}}</nowiki></code> templates.
Used to display Armors, usable with <code><nowiki>{{Color}}</nowiki></code> templates.


Line 750: Line 771:


====ItemTable - Weapon====
====ItemTable - Weapon====
----
Used to display Weapon, usable with <code><nowiki>{{E15}}</nowiki></code> and <code><nowiki>{{Color}}</nowiki></code> templates.
Used to display Weapon, usable with <code><nowiki>{{E15}}</nowiki></code> and <code><nowiki>{{Color}}</nowiki></code> templates.


Line 769: Line 791:
|VALID_ANGLE=      <!-- X°    - ADV, Leave blank if not used -->
|VALID_ANGLE=      <!-- X°    - ADV, Leave blank if not used -->
|SPEED=            <!-- XXXm/s - ADV, Leave blank if not used -->
|SPEED=            <!-- XXXm/s - ADV, Leave blank if not used -->
|INDUCTION _RATE=  <!-- XXX°/ - ADV, Leave blank if not used -->
|INDUCTION_RATE=  <!-- XXX°/s - ADV, Leave blank if not used -->
|EXPLOSION_RADIUS= <!-- Xm    - ADV, Leave blank if not used -->
|EXPLOSION_RADIUS= <!-- Xm    - ADV, Leave blank if not used -->
|WEIGHT= XXXkg
|WEIGHT= XXXkg
Line 803: Line 825:


====ItemTable - Engine====
====ItemTable - Engine====
----
Used to display Engines, usable with <code><nowiki>{{ItemTableEngineFunction}}</nowiki></code> written inside the template, <code><nowiki>{{E15}}</nowiki></code> and <code><nowiki>{{Color}}</nowiki></code> templates. Not use end units below Function.
Used to display Engines, usable with <code><nowiki>{{ItemTableEngineFunction}}</nowiki></code> written inside the template, <code><nowiki>{{E15}}</nowiki></code> and <code><nowiki>{{Color}}</nowiki></code> templates. Not use end units below Function.


Line 816: Line 839:
|DEMAND_STAT_SPIRIT=  
|DEMAND_STAT_SPIRIT=  
|DEMAND_STAT_SHIELD=  
|DEMAND_STAT_SHIELD=  
|ItemTableEngineFunction=   <!--Function. Delete or leave blank if not used-->
|FUNCTION_NAME_1= <!--Function. Delete or leave blank if not used-->
{{ItemTableEngineFunction
|FUNCTION_1=  
|ID= 69
|FUNCTION_NAME_2=  
|ID_2= 69
|FUNCTION_2=  
|ENERGY=  
|FUNCTION_NAME_3=  
|SHIELD=  
|FUNCTION_3=  
|DEFENSE-STD=  
|FUNCTION_NAME_4=  
|DEFENSE-ADV=  
|FUNCTION_4=  
|EVASION-STD=  
|FUNCTION_NAME_5=  
|EVASION-ADV=  
|FUNCTION_5=
|ATTK-MIN-STD=  
|FUNCTION_NAME_6=  
|ATTK-MAX-STD=  
|FUNCTION_6=  
|ATTK-MIN-ADV=  
|FUNCTION_NAME_7=  
|ATTK-MAX-ADV=  
|FUNCTION_7=  
|STD-W-DISTANCE=  
|FUNCTION_NAME_8=  
|BOOSTER-OVERHEAT=
|FUNCTION_8= <!-- Not use end units below -->
|S-RECOVERY-RATE=
|DROP-MONSTERS=  
|DEFENSE-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_MIN=  
|SPEED_MAX=  
|SPEED_MAX=  
Line 871: Line 883:
|DEMAND_STAT_SPIRIT= 68
|DEMAND_STAT_SPIRIT= 68
|DEMAND_STAT_SHIELD=  
|DEMAND_STAT_SHIELD=  
|ItemTableEngineFunction=   <!--Function. Delete or leave blank if not used-->
|FUNCTION_NAME_1= Defense (Std)
{{ItemTableEngineFunction
|FUNCTION_1= -3%
|ID=
|FUNCTION_NAME_2= Defense (Adv)
|ID_2=
|FUNCTION_2= -3%
|ENERGY=
|FUNCTION_NAME_3= Accuracy (Adv)
|SHIELD=
|FUNCTION_3= +6%
|DEFENSE-STD= -3%
|FUNCTION_NAME_4= Pierce (Std)
|DEFENSE-ADV= -3%
|FUNCTION_4= +14%
|EVASION-STD=  
|FUNCTION_NAME_5= Pierce (Adv)
|EVASION-ADV=
|FUNCTION_5= +10%
|ATTK-MIN-STD=  
|FUNCTION_NAME_6=  
|ATTK-MAX-STD=  
|FUNCTION_6=  
|ATTK-MIN-ADV=  
|FUNCTION_NAME_7=  
|ATTK-MAX-ADV=  
|FUNCTION_7=  
|STD-W-DISTANCE=  
|FUNCTION_NAME_8=  
|BOOSTER-OVERHEAT=  
|FUNCTION_8= <!-- Not use end units below -->
|S-RECOVERY-RATE=  
|DROP-MONSTERS=  
|DEFENSE-MONSTERS=  
|EVASION-MONSTERS=  
|STD-ATTK-MONSTERS=
|ADV-ATTK-MONSTERS=  
|ACCURACY-STD=  
|ACCURACY-ADV= +6%
|PIERCE-STD= +14%
|PIERCE-ADV= +10%
}} <!-- Not use end units below -->
|SPEED_MIN= 150
|SPEED_MIN= 150
|SPEED_MAX= 190
|SPEED_MAX= 190
Line 908: Line 909:
|WEIGHT= 240
|WEIGHT= 240
}}
}}
==Drafts - Shops==
'''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
====Event Shop====
----
Used to display Event Shop content, usable with <code><nowiki>{{Shops-PRE}}</nowiki></code> as opening tag and <code><nowiki>{{Shops-POST}}</nowiki></code> as closing tag.
<br>
Main template inside: <code><nowiki>{{Shops-EventShop}}</nowiki></code>. <code><nowiki>|W=</nowiki></code> is the width of the 2nd column (NAME). <code><nowiki>|C=</nowiki></code> is the currency. Event currency + event killmarks.
<pre>
{{Shops-EventShop|W=|LINK=
|NAME=
|C1= |C2= |C3= }}
</pre>
'''Preview'''
* ??
====War Point Shop====
----
Used to display War Point Shop content, usable with <code><nowiki>{{Shops-PRE}}</nowiki></code> as opening tag and <code><nowiki>{{Shops-POST}}</nowiki></code> as closing tag.
<br>
Main template inside: <code><nowiki>{{Shops-WPShop}}</nowiki></code>. <code><nowiki>|W=</nowiki></code> is the width of the 2nd column (NAME). <code><nowiki>|C=</nowiki></code> is the currency. War Points.
<pre>
{{Shops-EventShop|W=|LINK=
|NAME=
|C= }}
</pre>
'''Preview'''
* ??
====Gold Coin Shop====
----
Used to display Gold Coin Shop content, usable with <code><nowiki>{{Shops-PRE}}</nowiki></code> as opening tag and <code><nowiki>{{Shops-POST}}</nowiki></code> as closing tag.
<br>
Main template inside: <code><nowiki>{{Shops-GoldCoinShop}}</nowiki></code>.
<br>
<code><nowiki>|W=</nowiki></code> is the width of the 2nd column (NAME). <code><nowiki>|C=</nowiki></code> is the currency. Gold Coin.
<pre>
{{Shops-GoldCoinShop|W=|LINK=
|NAME=
|C= }}
</pre>
'''Preview'''
* ??
====Killmark Shop====
----
Used to display Killmark Shop content, usable with <code><nowiki>{{Shops-PRE}}</nowiki></code> as opening tag and <code><nowiki>{{Shops-POST}}</nowiki></code> as closing tag.
<br>
Main template inside: <code><nowiki>{{Shops-KillmarkShop}}</nowiki></code>.
<br>
<code><nowiki>|W=</nowiki></code> is the width of the 2nd column (NAME). <code><nowiki>|C=</nowiki></code> is the currency. Killmarks.
<pre>
{{Shops-KillmarkShop|W=|LINK=
|NAME=
|C= }}
</pre>
'''Preview'''
* ??
====Boss Token Shop====
----
Used to display Boss Token Shop content, usable with <code><nowiki>{{Shops-PRE}}</nowiki></code> as opening tag and <code><nowiki>{{Shops-POST}}</nowiki></code> as closing tag.
<br>
<code><nowiki>|W=</nowiki></code> is the width of the 2nd column (NAME). <code><nowiki>|C=</nowiki></code> is the currency. Phillon Token, Pandea Token, Revolt Ignition Token.
<br>
Main template inside: <code><nowiki>{{Shops-BossTokenShop}}</nowiki></code>
<pre>
{{Shops-BossTokenShop|W=|LINK=
|NAME=
|C1= |C2= |C3= }}
</pre>
'''Preview'''
* ??
====IF Vendor====
----
Used to display Infinity Field Vendor content, usable with <code><nowiki>{{Shops-PRE}}</nowiki></code> as opening tag and <code><nowiki>{{Shops-POST}}</nowiki></code> as closing tag.
<br>
<code><nowiki>|W=</nowiki></code> is the width of the 2nd column (NAME). <code><nowiki>|C=</nowiki></code> is the currency. Galaxy Orb Icon, Quasar Orb Icon, Solar Orb Icon, Supercluster Orb.
<br>
Main template inside: <code><nowiki>{{Shops-IF}}</nowiki></code>
<pre>
<!-- Galaxy Orb / Quasar Orb / Solar Orb / Supercluster Orb -->
{{Shops-IF|W=|LINK=
|NAME=
|C1= |C2= |C3= |C4= }}
</pre>
'''Preview'''
* ??
====Charm Shop====
----
Used to display Charm Shop content, usable with <code><nowiki>{{Shops-PRE}}</nowiki></code> as opening tag and <code><nowiki>{{Shops-POST}}</nowiki></code> as closing tag.
<br>
<code><nowiki>|W=</nowiki></code> is the width of the 2nd column (NAME). <code><nowiki>|C=</nowiki></code> is the currency. PVP Token.
<br>
Main template inside: <code><nowiki>{{Shops-CharmShop}}</nowiki></code>
<pre>
{{Shops-CharmShop|W= |LINK=
|NAME=
|C= }}
</pre>
'''Preview'''
* ??
====Shops using Cosmetic Token as currency====
----
Used to display Shops that use Cosmetic Tokens as currency, usable with <code><nowiki>{{Shops-PRE}}</nowiki></code> as opening tag and <code><nowiki>{{Shops-POST}}</nowiki></code> as closing tag.
<br>
Main template inside: <code><nowiki>{{Shops-CosmeticToken}}</nowiki></code>.
<br>
<code><nowiki>|W=</nowiki></code> is the width of the 2nd column (NAME). <code><nowiki>|C=</nowiki></code> is the currency. Cosmetic Token.
<pre>
{{Shops-CosmeticToken|W=|LINK=
|NAME=
|C= }}
</pre>
'''Preview'''
* ??
====Shops using SPI as currency====
----
Used to display Shops that use SPI as currency, usable with <code><nowiki>{{Shops-PRE}}</nowiki></code> as opening tag and <code><nowiki>{{Shops-POST}}</nowiki></code> as closing tag.
<br>
<code><nowiki>|W=</nowiki></code> is the width of the 2nd column (NAME). <code><nowiki>|C=</nowiki></code> is the currency. SPI.
<br>
Main template inside: <code><nowiki>{{Shops-ShopsSPI}}</nowiki></code>
<pre>
{{Shops-ShopsSPI|W=|LINK=
|NAME=
|C= }}
</pre>
'''Preview'''
* ??
====CRP Shop====
----
Used to display CRP Shop content, usable with <code><nowiki>{{Shops-CRPShop-PRE}}</nowiki></code> as opening tag and <code><nowiki>{{Shops-CRPShop-POST}}</nowiki></code> as closing tag.
<br>
Also used with:<code><nowiki>{{Shops-CRPShop-ITEM-SEPARATOR}}</nowiki></code> as item separator, <code><nowiki>{{Shops-CRPShop-ROW-SEPARATOR}}</nowiki></code> as row separator and <code><nowiki>{{Shops-CRPShop-BLANK}}</nowiki></code> as blank item at the bottom of the tab.
<pre>
{{Shops-CRPShop-PRE}}
{{Shops-CRPShop-ITEM-SEPARATOR}}
{{Shops-CRPShop|LINK=
|NAME=
|QNT=
|PRICE= }}
{{Shops-CRPShop-ITEM-SEPARATOR}}
{{Shops-CRPShop|LINK=
|NAME=
|QNT=
|PRICE= }}
{{Shops-CRPShop-ITEM-SEPARATOR}}
{{Shops-CRPShop|LINK=
|NAME=
|QNT=
|PRICE= }}
{{Shops-CRPShop-ROW-SEPARATOR}} <!-- NEXT ROW -->
{{Shops-CRPShop-ITEM-SEPARATOR}}
[...]
{{Shops-CRPShop-POST}}
</pre>
'''Preview'''
* ??
<!-- user-show closing tag --></div>

Revision as of 18:18, 6 May 2024