Module:Documentation: Difference between revisions

From :: ChromeRivals Wiki ::
Jump to navigation Jump to search
(350 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page contains documentation for templates, styles and special pages.
<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.


Most useful information:
* 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.
* Java Script file is located in "MediaWiki:Common.js" page.
* Pages used to test stuff: "Test Page", "Test Page 2", "Test Page 3".
* Fast picture upload with BatchUpload extension: "Special:BatchUpload" page.
* Editing the sidebar: "MediaWiki:Sidebar".
* Recent Changes: "Special:RecentChanges".
* Other: "Special:SpecialPages".
* Google Analytics about this wiki is available for you to check, ask administrators to grand you acces.
* Making full manual backup:
** 1. Copy pages from "Special:LonelyPages".
** 2. Go to Special:Export.
** 3. Paste pages from "Special:LonelyPages" into the "Add pages manually" box.
** 4. On new line add "Main Page".
** 5. Select Include templates.
** 6. Add some crazy number like 23424352 in "Include linked pages to a depth of" box.
** 7. Export.
** 8. Copy JS 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. 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.
<!-- Cr-Api-Key: CR-Wiki-Public-jagAA4388DSfjk3 -->
''Written by Ranzu. Last Updated 6 May 2024.''
==Templates==
==Templates==
===Color Templates===
===Color Templates===
Color templates equivalent to game colors.
Color templates equivalent to game colors.
<br>
Used with E.g. <code><nowiki>{{/lime}}</nowiki></code> or <code><nowiki>{{/dorange}}</nowiki></code>, as closing tag.


[https://wiki.chromerivals.net/index.php?title=Chat#Text_color Chat#Text_color]


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


<code><nowiki>{{dorange}}</nowiki></code>
[https://wiki.chromerivals.net/index.php?title=Chat#Text_color Chat#Text_color]


<code><nowiki>{{brown}}</nowiki></code>
* {{lblue}}#B2BEFF <code><nowiki>{{lblue}}</nowiki></code> \a
* {{blue}}#2C53FD <code><nowiki>{{blue}}</nowiki></code> \b
* {{cyan}}#00FFFF <code><nowiki>{{cyan}}</nowiki></code> \c
* {{dgray}}#777777 <code><nowiki>{{dgray}}</nowiki></code> \d
* {{orange}}#F5B930 <code><nowiki>{{orange}}</nowiki></code> \e {{/orange}} Enchant Manual
* {{lime}}#00FF00 <code><nowiki>{{lime}}</nowiki></code> \g {{/lime}} Enchant Fix
* {{dorange}}#F4891E <code><nowiki>{{dorange}}</nowiki></code> \h
* {{brown}}#A64A0C <code><nowiki>{{brown}}</nowiki></code> \k
* {{lapis}}#00AAFF <code><nowiki>{{lapis}}</nowiki></code> \l
* {{magenta}}#FF00FF <code><nowiki>{{magenta}}</nowiki></code> \m
* {{green}}#77BB22 <code><nowiki>{{green}}</nowiki></code> \o
* {{pink}}#FF66EE <code><nowiki>{{pink}}</nowiki></code> \p
* {{lgray}}#D0D0D0 <code><nowiki>{{lgray}}</nowiki></code> \q
* {{red}}#FF0000 <code><nowiki>{{red}}</nowiki></code>    \r
* {{purple}}#A135FF <code><nowiki>{{purple}}</nowiki></code> \u
* {{dgreen}}#007400 <code><nowiki>{{dgreen}}</nowiki></code> \v
* {{white}}#FFFFFF <code><nowiki>{{white}}</nowiki></code> \w
* {{yellow}}#FFFF00 <code><nowiki>{{yellow}}</nowiki></code> \y


<code><nowiki>{{lapis}}</nowiki></code>
===Toggle button===
----
<code><nowiki>{{ToggleButton}}</nowiki></code>


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


<code><nowiki>{{green}}</nowiki></code>


<code><nowiki>{{pink}}</nowiki></code>
Used style selectors:
<pre>
#ToggleButton
.ToggleContent
.ToggleTitle
</pre>


<code><nowiki>{{lgray}}</nowiki></code>
'''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
}}


<code><nowiki>{{red}}</nowiki></code>
===Toggle List button===
----
<code><nowiki>{{ListToggle}}</nowiki></code>


<code><nowiki>{{purple}}</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>


<code><nowiki>{{dgreen}}</nowiki></code>
'''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
}}


<code><nowiki>{{white}}</nowiki></code>
===Toggle button - table===
 
<code><nowiki>{{yellow}}</nowiki></code>
----
----
===Toggle button===
* <code><nowiki>r-collapsible-table</nowiki></code> - Class added to the table that you want to collapse/expand.
<code><nowiki>{{Toggle}}</nowiki></code>
* <code><nowiki>r-collapsed</nowiki></code> - Class added to the table that you want to be collapsed by default.
<br>
* <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>
<br>
Always include space or break before this template if you using <code>Title</code>.
* <code><nowiki>MT-Global</nowiki></code> - Mission Table class, not required.
<br>
<br>
Used with <code><nowiki>{{/Toggle}}</nowiki></code>, as closing tag.
<pre>
<pre>
{{Toggle|Title=Title_Goes_Here}}
{| class="MT-Global r-collapsible-table r-collapsed"
Toggled_Content_Goes_Here
! class="MT-Title r-collapsible-title" | Title
{{/Toggle}}
|-
</pre>
| Content
 
|}
Used style selectors:
<pre>
#ToggleButton
.ToggleContent
.ToggleTitle
</pre>
</pre>


'''Preview:'''
'''Preview:'''
 
{| class="MT-Global r-collapsible-table r-collapsed"
{{Toggle|Title=Standard Enchanting Cards}}
! class="MT-Title r-collapsible-title r-reward" | Title
{|
| 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
| class="MT-Value"| Content
|}
|}
{{/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>


Used style selectors:
Used style selectors:
Line 93: Line 167:
</pre>
</pre>


Use <code><nowiki>width:max-content;</nowiki></code> for only "button".
Use <code><nowiki>width:max-content;</nowiki></code> for "button" hover only.
 


'''Preview:'''
'''Preview:'''
<div class=HoverHide>Hover over this text</div>
<div class=HoverHide>Hover over this text</div>
<div class=hide>To see this</div>
<div class=hide>To see this</div>
===Custom Toggle===
----
Used with:
<code><nowiki>mw-customtoggle-myDivision1</nowiki></code>
<code><nowiki>mw-customcollapsible-myDivision1</nowiki></code>
(Changing <code><nowiki>myDivision1</nowiki></code> to <code><nowiki>myDivision2</nowiki></code>, <code><nowiki>myDivision3</nowiki></code> etc.)
'''Preview:'''
{| class="mw-customtoggle-myDivision1"
| Click to toggle
|}
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision1" style="overflow-x:auto">
Toggled Content
</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==
====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>
<ta bs>{{Limit-Height|H= 60em}}<ta b name="B-Gear">{{Shops-PRE}} <!--------------------------------------------------------- B-Gear -->
Content B-Gear
{{Shops-POST}}{{/Limit-Height}}</tab>{{Limit-Height|H= 60em}}<ta b name="I-Gear">{{Shops-PRE}} <!--------------------------------------------------------- I-Gear -->
Content I-Gear
{{Shops-POST}}{{/Limit-Height}}</tab>{{Limit-Height|H= 60em}}<ta b name="M-Gear">{{Shops-PRE}} <!--------------------------------------------------------- M-Gear -->
Content M-Gear
{{Shops-POST}}{{/Limit-Height}}</tab>{{Limit-Height|H= 60em}}<ta b name="A-Gear">{{Shops-PRE}} <!--------------------------------------------------------- A-Gear -->
Content A-Gear
{{Shops-POST}}{{/Limit-Height}}</tab></tabs>
</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.
Material count number needs to be the same as number of rows.
Usable with color templates.
<pre>
{{RecipeTablePRE|5}}
{{RecipeTable|5
|R1=
|R2=
|R3=
|R4=
|R5=
|CHANCE=
|FINAL=
}}
{{RecipeTablePOST}}
</pre>
'''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%
|FINAL= https://download.chromerivals.net/resources/items_images/standard/3726901631.png {{blue}}Reinforced Boss Transformation Card{{/blue}} (x1)
}}
{{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)
|R3= https://download.chromerivals.net/resources/items_images/standard/3737557289.png {{cyan}}Ancient Matter{{/cyan}} (x1)
|CHANCE= 60%
|FINAL= https://download.chromerivals.net/resources/items_images/standard/3726901631.png {{blue}}Reinforced Boss Transformation Card{{/blue}} (x1)
}}
{{RecipeTablePOST}}
Used style selectors:
<pre>
.RecipeTable
</pre>
====Skill Table====
----
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.
<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 -->
* [[File:Final_Skill_Opening_Card_Icon.png|link=|Final Skill Opening Card]] Final Skill Opening Card <!--Blue -->
* [[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}}
{{SkillTable-PRE}}
{{SkillTable-ROW-NORMAL
|SKILL_LEVEL=
|REQUIRED_LEVEL=
|SP=
|FUNCTION=
|PRICE=
}}
{{SkillTable-ROW-CARD
|SKILL_LEVEL=
|REQUIRED_LEVEL=
|SP=
|FUNCTION=
|PRICE=
|CARD=
}}
{{SkillTable-POST}}
</pre>
'''Preview'''
* ??
====Map buff====
----
Draft for buffs that are applied on the map, like on FFA map or special maps.
<pre>
{{MapBuffTable
|NAME=
|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=
}}
</pre>
'''Preview:'''
{{MapBuffTable
|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%
}}
====Frame====
----
Table used to display thumb images.
<pre>
{{Framed|IMAGE=
|CLICK= YES
|WIDTH= 420px
|TITLE-IN=
|TITLE-OUT=
}}
</pre>
'''Preview:'''
{{Framed|IMAGE=BG_Main_m.png
|CLICK= YES
|WIDTH= 420px
|TITLE-IN=
|TITLE-OUT=
}}
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
====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.
<pre>
{{FlexWrap}}
  .ItemTable
{{/FlexWrap}}
{{FlexWrapName|NAME=Against defense targets}}
  .ItemTable with name
{{/FlexWrapName}}
{{FlexWrapName|NAME=Against evasion targets}}
  .ItemTable with name
{{/FlexWrapName}}
</pre>
'''Preview:'''
{{FlexWrap}}
{{FlexWrapName|NAME= Some CPU}}
{{ItemTableITEM
|WIDTH=
|IMAGE= https://download.chromerivals.net/resources/items_images/big/3737571635.png
|NAME= {{magenta}}Vivace V-3 ['110]{{/magenta}}
|GEAR_TYPE= All GEARs
|LEVEL= 100
|WEIGHT= 120kg
|FUNCTION_NAME_1= Attack Stat
|FUNCTION_1= +20
|FUNCTION_NAME_2= Fuel Stat
|FUNCTION_2= +18
|FUNCTION_NAME_3= Spirit Stat
|FUNCTION_3= +12
|FUNCTION_NAME_4= Evasion Stat
|FUNCTION_4= +50
}}
{{/FlexWrapName}}
{{FlexWrapName|NAME= Some other CPU}}
{{ItemTableITEM
|WIDTH=
|IMAGE= https://download.chromerivals.net/resources/items_images/big/3737571635.png
|NAME= {{magenta}}Vivace V-3 ['110]{{/magenta}}
|GEAR_TYPE= All GEARs
|LEVEL= 100
|WEIGHT= 120kg
|FUNCTION_NAME_1= Attack Stat
|FUNCTION_1= +20
|FUNCTION_NAME_2= Fuel Stat
|FUNCTION_2= +18
|FUNCTION_NAME_3= Spirit Stat
|FUNCTION_3= +12
|FUNCTION_NAME_4= Evasion Stat
|FUNCTION_4= +50
}}
{{/FlexWrapName}}
{{/FlexWrap}}
====Missions====
----
Table used to display missions. Automatically used with Toggle Button - Table. <nowiki>|MAP=</nowiki> not required.
<pre>
{{Mission
|TITLE=
|REQ=
|MAP=
|VALUE=
|REWARD=
}}
</pre>
Used with; as title selectors.
<pre>
|TITLE= {{MT-BCU|MS Token}}
|TITLE= {{MT-BCU|MS Token}}
</pre>
'''Preview:'''
{{Mission
|TITLE= Monster Hunt 1
|REQ= Kill Monsters is:
|MAP= {{orange}}Tylent Jungle{{/orange}}
|VALUE=
* 23x Gatling
* 23x Gatling
|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====
----
Table used to display player stats on gear pages.. Use <code><nowiki>{{orange}}'''STAT'''{{/orange}}</nowiki></code> when stat reached 340 (max).
<pre>
{{PlayerSkillTable
|ATTACK=
|DEFENSE=
|EVASION=
|FUEL=
|SPIRIT=
|SHIELD=
|S-PIERCE-STD=
|S-PIERCE-ADV=
|S-DEFENSE-STD=
|S-DEFENSE-ADV=
|S-EVASION-STD=
|S-EVASION-ADV=
}}
</pre>
'''Preview:'''
{{PlayerSkillTable
|ATTACK= {{orange}}'''340'''{{/orange}}
|DEFENSE= 2
|EVASION= 236
|FUEL= 30
|SPIRIT= 15
|SHIELD= 2
|S-PIERCE-STD= 55.00%
|S-PIERCE-ADV= 55.00%
|S-DEFENSE-STD= 1.30%
|S-DEFENSE-ADV= 40.17%
|S-EVASION-STD= 1.30%
|S-EVASION-ADV= 40.17%
}}
====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.
<pre>
{{BossTable
|NAME=
|IMAGE=
|LINK=
|MAP_ANI=
|MAP_BCU=
|MAP_NEUTRAL=
|RESPAWN_TIME=
|RESPAWN_TIME_CRYSTAL=
|PHILLON_TOKEN=
|PANDEA_TOKEN=
|REVOLT_IGN_TOKEN=
}}
</pre>
'''Preview:'''
{{BossTable
|NAME= Hornian Queen
|IMAGE= W New Hornian Queen.jpg
|LINK= https://chromerivals.net/game/pedia/monster/764182069344489500
|MAP_ANI=
|MAP_BCU=
|MAP_NEUTRAL= Hornian King's Habitat
|RESPAWN_TIME= 2h
|PHILLON_TOKEN= yes
|PANDEA_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>
==Drafts - ItemTable==
====ItemTable - Item====
----
Used to display Items, usable with <code><nowiki>{{E15}}</nowiki></code> and <code><nowiki>{{Color}}</nowiki></code> templates.
<pre>
{{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=
}}
</pre>
Used Selector Styles:
<pre>
.ItemTable + .Item + .Title
</pre>
'''Preview:'''
{{ItemTableITEM
|WIDTH=
|IMAGE= https://download.chromerivals.net/resources/items_images/big/3737571635.png
|NAME= {{magenta}}Vivace V-3 ['110]{{/magenta}}
|GEAR_TYPE= All GEARs
|LEVEL= 100
|WEIGHT= 50kg
|FUNCTION_NAME_1= Attack Stat
|FUNCTION_1= +20
|FUNCTION_NAME_2= Fuel Stat
|FUNCTION_2= +18
|FUNCTION_NAME_3= Spirit Stat
|FUNCTION_3= +12
|FUNCTION_NAME_4= Evasion Stat
|FUNCTION_4= +50
}}
====ItemTable - Armor====
----
Used to display Armors, usable with <code><nowiki>{{Color}}</nowiki></code> templates.
<pre>
{{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=
|DEFENSE_STD=
|DEFENSE_ADV=
|EVASION_STD=
|EVASION_ADV=
|ATTK_MIN_STD=
|ATTK_MAX_STD=
|ATTK_MIN_ADV=
|ATTK_MAX_ADV=
|STD_W_DISTANCE=
|ADV_W_DISTANCE=
|BOOSTER_OVERHEAT=
|S_RECOVERY_RATE=
|DROP_MONSTERS=
|DEFENSE_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=]] &nbsp;&nbsp; [[File:A-Type Datacube (Red).png|A-Type Datacube (Red)|link=] -->
}}
</pre>
Used Selector Styles:
<pre>
.ItemTable + .Armor + .Title
</pre>
'''Preview:'''
{{ItemTableARMOR
|WIDTH= <!-- Not set. Use "em" units -->
|IMAGE= https://download.chromerivals.net/resources/items_images/big/3738263045.png
|NAME= {{magenta}}Advanced Tackle Veil V3 [D]{{/magenta}}
|GEAR_TYPE= B-Gear
|REQUIRED_LEVEL= 106
|WEIGHT= 700kg
|ENERGY= +4315
|SHIELD= +4554
|DEFENSE_STD= +24.78%
|DEFENSE_ADV= +24.78%
|EVASION_STD=
|EVASION_ADV=
|ATTK_MIN_STD=
|ATTK_MAX_STD=
|ATTK_MIN_ADV= +5%
|ATTK_MAX_ADV= +5%
|STD_W_DISTANCE=
|ADV_W_DISTANCE=
|BOOSTER_OVERHEAT=
|S_RECOVERY_RATE=
|DROP_MONSTERS=
|DEFENSE_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=]] &nbsp;&nbsp; [[File:A-Type Datacube (Red).png|A-Type Datacube (Red)|link=]]
}}
====ItemTable - Weapon====
----
Used to display Weapon, usable with <code><nowiki>{{E15}}</nowiki></code> and <code><nowiki>{{Color}}</nowiki></code> templates.
<pre>
{{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°/s - ADV, Leave blank if not used -->
|EXPLOSION_RADIUS= <!-- Xm    - ADV, Leave blank if not used -->
|WEIGHT= XXXkg
|CRAFT= <!-- [[File:Egma Schills Strength Icon.png|Egma Schills Strength|link=]] &nbsp;&nbsp; [[File:A-Type Datacube (Red).png|A-Type Datacube (Red)|link=] -->
}}
</pre>
Used Selector Styles:
<pre>
.ItemTable + .Weapon + .Title
</pre>
'''Preview'''
{{ItemTableWEAPON
|WIDTH=                <!-- Not set. Use "em" units -->
|IMAGE= https://download.chromerivals.net/resources/items_images/big/3738499811.png
|NAME= {{magenta}}Legend{{/magenta}} {{blue}}Needlestorm{{/blue}} {{magenta}}of Max{{/magenta}}
|TYPE= Missile type
|GEAR_TYPE= BG MG IG
|REQUIRED_LEVEL= 115
|ATTACK_POWER= (159 {{lime}}[+15%]{{/lime}} ~ 203 {{lime}}[+15%]{{/lime}}) X (4 X 1)
|ATTACK_POWER/s= 1046 ~ 1336
|ACCURACY= 103.00% {{lime}}[+15%]{{/lime}}
|PIERCE= 2.50% {{orange}}[+20%]{{/orange}}
|RANGE= 4000m
|REATTACK_TIME= 1.40s {{orange}}[-20%]{{/orange}} {{lime}}[-30%]
|OVERHEAT_TIME=    <!-- XX.XXs - STD, Leave blank if not used -->
|VALID_ANGLE= 4°
|SPEED= 550m/s
|INDUCTION _RATE= 110°/s
|EXPLOSION_RADIUS= 0m
|WEIGHT= 310kg
|CRAFT=
}}
====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.
<pre>
{{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=
|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_MAX=
|BOOSTER_SPEED=
|GROUND_SPEED= <!--AG, Delete or leave blank if not used-->
|BOOSTER_TIME=
|TURN_RATE=
|TURN_RATE_BOOSTER=
|LATERAL_SPEED=
|WEIGHT=
}}
</pre>
Used Selector Styles:
<pre>
.ItemTable + .Engine+ .Title + .Function
</pre>
'''Preview'''
{{ItemTableENGINE
|NAME= Accounter-M XI ['35] {{red}}V-Attack{{/red}}
|GEAR_TYPE= M-Gear
|REQUIRED_LEVEL= 25
|DEMAND_STAT_ATTACK= 246
|DEMAND_STAT_DEFENSE= 68
|DEMAND_STAT_EVASION=
|DEMAND_STAT_FUEL=
|DEMAND_STAT_SPIRIT= 68
|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_MAX= 190
|BOOSTER_SPEED= 400
|GROUND_SPEED= <!--AG, Delete or leave blank if not used-->
|BOOSTER_TIME= 15
|TURN_RATE= 104
|TURN_RATE_BOOSTER= 86
|LATERAL_SPEED= 23
|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