Module:Documentation: Difference between revisions
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 | ''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>{{ | <code><nowiki>{{ToggleButton}}</nowiki></code> | ||
Usually called to display/collapse elements. | |||
<pre> | <pre> | ||
{{ | {{ToggleButton|Title=Title_Goes_Here| | ||
Toggled_Content_Goes_Here | Toggled_Content_Goes_Here | ||
}} | |||
</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:''' | ||
{{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 button - table=== | |||
---- | |||
* <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 | |||
|- | |||
| | |||
|- | |- | ||
| | | Content | ||
|} | |} | ||
</pre> | |||
{ | '''Preview:''' | ||
{| class="MT-Global r-collapsible-table r-collapsed" | |||
! class="MT-Title r-collapsible-title r-reward" | Title | |||
| | |||
|- | |- | ||
| | | class="MT-Value"| Content | ||
| | |||
|} | |} | ||
===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. | |||
Usable with color templates. | Usable with color templates. | ||
<pre> | <pre> | ||
{| | {{RecipeTablePRE|5}} | ||
{{RecipeTable|5 | |||
|R1= | |||
|R2= | |||
| | |R3= | ||
| | |R4= | ||
| | |R5= | ||
| | |CHANCE= | ||
| | |FINAL= | ||
}} | |||
{{RecipeTablePOST}} | |||
</pre> | </pre> | ||
'''Preview:''' | '''Preview:''' | ||
{| | {{RecipeTablePRE|3}} | ||
{{RecipeTable|3 | |||
|R1= https://download.chromerivals.net/resources/items_images/standard/3726917263.png {{cyan}}Refined Boss Mineral{{/cyan}} (x1) | |||
|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 | ||
|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> | ||
====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 | Table used to display missions. Automatically used with Toggle Button - Table. <nowiki>|MAP=</nowiki> not required. | ||
<pre> | <pre> | ||
{{Mission | {{Mission | ||
| | |TITLE= | ||
| | |REQ= | ||
|MAP= | |||
|VALUE= | |||
| | |||
|REWARD= | |||
}} | }} | ||
</pre> | </pre> | ||
Used with; as title selectors. | |||
<pre> | |||
|TITLE= {{MT-BCU|MS Token}} | |||
|TITLE= {{MT-BCU|MS Token}} | |||
</pre> | |||
'''Preview:''' | '''Preview:''' | ||
{{Mission | {{Mission | ||
| | |TITLE= Monster Hunt 1 | ||
| | |REQ= Kill Monsters is: | ||
|MAP= {{orange}}Tylent Jungle{{/orange}} | |||
|VALUE= | |||
| | * 23x Gatling | ||
1x | * 23x Gatling | ||
1x | |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% | ||
}} | }} | ||
====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= | ||
| | |FUNCTION_NAME_1= <!--Function. Delete or leave blank if not used--> | ||
|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= <!-- 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= | ||
| | |FUNCTION_NAME_1= Defense (Std) | ||
|FUNCTION_1= -3% | |||
| | |FUNCTION_NAME_2= Defense (Adv) | ||
| | |FUNCTION_2= -3% | ||
| | |FUNCTION_NAME_3= Accuracy (Adv) | ||
|FUNCTION_3= +6% | |||
|FUNCTION_NAME_4= Pierce (Std) | |||
| | |FUNCTION_4= +14% | ||
| | |FUNCTION_NAME_5= Pierce (Adv) | ||
| | |FUNCTION_5= +10% | ||
| | |FUNCTION_NAME_6= | ||
| | |FUNCTION_6= | ||
| | |FUNCTION_NAME_7= | ||
| | |FUNCTION_7= | ||
| | |FUNCTION_NAME_8= | ||
| | |FUNCTION_8= <!-- 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==== | ||
---- | ---- |