Module:Documentation: Difference between revisions

From :: ChromeRivals Wiki ::
Jump to navigation Jump to search
No edit summary
 
(40 intermediate revisions by the same user not shown)
Line 30: Line 30:
<!-- Cr-Api-Key: CR-Wiki-Public-jagAA4388DSfjk3 -->
<!-- Cr-Api-Key: CR-Wiki-Public-jagAA4388DSfjk3 -->


''Written by Ranzu. Last Updated 25 March 2024.''
''Written by Ranzu. Last Updated 6 May 2024.''
==Templates==
==Templates==
===Color Templates===
===Color Templates===
Line 36: 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 46: 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 61: Line 61:
===Toggle button===
===Toggle button===
----
----
<code><nowiki>{{Toggle}}</nowiki></code>
<code><nowiki>{{ToggleButton}}</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 84: 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.
| Std. Attack Card
* <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>
| Adv. Attack Card
* <code><nowiki>MT-Global</nowiki></code> - Mission Table class, not required.
|-
<br>
| Std. Reat Card
<pre>
|-
{| class="MT-Global r-collapsible-table r-collapsed"
| Adv. Reat Card
! class="MT-Title r-collapsible-title" | Title
|-
| Std. Accuracy Card
|-
| Adv. Accuracy Card
|-
| Std. Pierce Card
|-
| Adv. Pierce Card
|-
| Defense Card
|-
|-
| Evasion Card
| Content
|}
|}
{{/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
|-
| Adv. Attack Card
|-
| Std. Reat Card
|-
| Adv. Reat Card
|-
| Std. Accuracy Card
|-
| Adv. Accuracy Card
|-
|-
| Std. Pierce Card
| class="MT-Value"| Content
|-
| Adv. Pierce Card
|-
| Defense Card
|-
| Evasion Card
|}
|}
{{/Toggle}}


==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>
{{#seo:
|description= This page contains all useful equipment and some guides about the B-Gear.
|image= BG_Main_m.png
|image_width= 420px
|image_height= 420px
}}
</pre>
<br>
Not using <code><nowiki>|image=</nowiki></code> or leaving the parameter blank, will result in default CR Wiki Logo picture.
===Hover to show===
===Hover to show===
----
----
Line 190: Line 190:
Toggled Content
Toggled Content
</div>
</div>
==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>
{{#seo:
|description= This page contains all useful equipment and some guides about the B-Gear.
|image= BG_Main_m.png
|image_width= 420px
|image_height= 420px
}}
</pre>
<br>
Not using <code><nowiki>|image=</nowiki></code> or leaving the parameter blank, will result in default CR Wiki Logo picture.


==Drafts==
==Drafts==
Line 211: Line 228:
====Recipe Table====
====Recipe Table====
----
----
Table used to show recipes.
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.
Material count number needs to be the same as number of rows <code><nowiki>PICTURE_LINK_X</nowiki></code>.  
Material count number needs to be the same as number of rows.


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 258: Line 271:
.RecipeTable
.RecipeTable
</pre>
</pre>
====Shops====
----
Code to use when making shop tables
<code><nowiki>| [[File:Engine Icon.png|link=ITEM_LINK]]</nowiki></code>
<code><nowiki>| [[File:War Points Icon.png|link=]]&nbsp;</nowiki></code>
<code><nowiki>| [[File:IconTransparent.png|link=OLINKO]]</nowiki></code>
<code><nowiki><!--NO LINK--></nowiki></code>
<pre>
{| 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
|}
</pre>
'''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


====Skill Table====
====Skill Table====
Line 477: Line 440:
|GEAR_TYPE= All GEARs
|GEAR_TYPE= All GEARs
|LEVEL= 100
|LEVEL= 100
|WEIGHT=  
|WEIGHT= 120kg
|FUNCTION_NAME_1= Attack Stat
|FUNCTION_NAME_1= Attack Stat
|FUNCTION_1= +20
|FUNCTION_1= +20
Line 495: Line 458:
|GEAR_TYPE= All GEARs
|GEAR_TYPE= All GEARs
|LEVEL= 100
|LEVEL= 100
|WEIGHT=  
|WEIGHT= 120kg
|FUNCTION_NAME_1= Attack Stat
|FUNCTION_NAME_1= Attack Stat
|FUNCTION_1= +20
|FUNCTION_1= +20
Line 510: Line 473:
====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
}}
}}


Line 568: 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====
Line 698: 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 855: 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 910: 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 949: Line 911:


==Drafts - Shops==
==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====
====Event Shop====
----
----

Latest revision as of 18:18, 6 May 2024