Module:Documentation: Difference between revisions

From :: ChromeRivals Wiki ::
Jump to navigation Jump to search
No edit summary
No edit summary
Line 59: Line 59:
* {{yellow}}#FFFF00 <code><nowiki>{{yellow}}</nowiki></code> \y
* {{yellow}}#FFFF00 <code><nowiki>{{yellow}}</nowiki></code> \y


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


Line 143: Line 142:
==Other==
==Other==
===Meta Tags===
===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.
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>
<br>
Line 157: Line 157:
Not using <code><nowiki>|image=</nowiki></code> or leaving the parameter blank, will result in default CR Wiki Logo picture.
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===
----
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 173: 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 193: Line 193:
==Drafts==
==Drafts==
====Tabbers====
====Tabbers====
----
{{yellow}}'''Do not use! New Tab extension below.'''{{/yellow}}
{{yellow}}'''Do not use! New Tab extension below.'''{{/yellow}}
----
----
Line 211: Line 212:
</pre>
</pre>


====Recipe Table====
----
----
====Recipe Table====
Table used to show recipes.
Table used to show recipes.
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 <code><nowiki>PICTURE_LINK_X</nowiki></code>.  
Line 261: Line 262:
</pre>
</pre>


====Shops====
----
----
====Shops====
Code to use when making shop tables
Code to use when making shop tables


Line 312: Line 312:
* Event Killmark Icon.png
* Event Killmark Icon.png


====Map buff====
----
----
====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.
<pre>
<pre>
Line 351: Line 350:
}}
}}


====Frame====
----
----
====Frame====
Table used to display thumb images.
Table used to display thumb images.
<pre>
<pre>
Line 394: Line 392:
<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> as opening tag, and <code><nowiki>{{/FlexWrapName}}</nowiki></code> as closing tag.
<pre>
<pre>
Line 452: Line 450:
{{/FlexWrap}}
{{/FlexWrap}}


====Missions====
----
----
====Missions====
Table used to display quests on seasonal event page.
Table used to display quests on seasonal event page.
<pre>
<pre>
Line 478: Line 475:
}}
}}


====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 515: Line 511:
}}
}}


====Quests Box Template====
----
----
====Quests Box Template====
Table used to display quest boxes on seasonal event page. {{yellow}} '''Not used.''' {{/yellow}}
Table used to display quest boxes on seasonal event page. {{yellow}} '''Not used.''' {{/yellow}}
<pre>
<pre>
Line 528: Line 523:
</pre>
</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 562: Line 556:
}}
}}
<br>
<br>
====Item List Table====
====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.
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>
<pre>
Line 584: Line 580:


====Height Limiter====
====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.
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|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.
Line 599: Line 596:
==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 653: Line 651:
}}
}}


====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 731: Line 728:
}}
}}


====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 786: Line 782:
}}
}}


====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 897: Line 892:
==Drafts - Shops==
==Drafts - Shops==
====Event Shop====
====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.
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>
<br>
Line 907: Line 903:
'''Preview'''
'''Preview'''
* ??
* ??
====War Point Shop====
====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.
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>
<br>
Line 918: Line 916:
'''Preview'''
'''Preview'''
* ??
* ??
====Gold Coin Shop====
====Gold Coin Shop====
----
----
Line 932: Line 931:
'''Preview'''
'''Preview'''
* ??
* ??
====Killmark Shop====
====Killmark Shop====
----
----
Line 946: Line 946:
'''Preview'''
'''Preview'''
* ??
* ??
====Boss Token Shop====
====Boss Token Shop====
----
----
Line 960: Line 961:
'''Preview'''
'''Preview'''
* ??
* ??
====IF Vendor====
====IF Vendor====
----
----
Line 990: Line 992:
'''Preview'''
'''Preview'''
* ??
* ??
====Shops using Cosmetic Token as currency====
====Shops using Cosmetic Token as currency====
----
----
Line 1,004: Line 1,007:
'''Preview'''
'''Preview'''
* ??
* ??
====Shops using SPI as currency====
====Shops using SPI as currency====
----
----
Line 1,018: Line 1,022:
'''Preview'''
'''Preview'''
* ??
* ??
====CRP Shop====
====CRP Shop====
----
----

Revision as of 14:00, 23 March 2024

Drafts - Shops

Event Shop


Used to display Event Shop content, usable with {{Shops-PRE}} as opening tag and {{Shops-POST}} as closing tag.
Main template inside: {{Shops-EventShop}}. |W= is the width of the 2nd column (NAME). |C= is the currency. Event currency + event killmarks.

{{Shops-EventShop|W=|LINK= 
|NAME= 
|C1= |C2= |C3= }}

Preview

  • ??

War Point Shop


Used to display War Point Shop content, usable with {{Shops-PRE}} as opening tag and {{Shops-POST}} as closing tag.
Main template inside: {{Shops-WPShop}}. |W= is the width of the 2nd column (NAME). |C= is the currency. War Points.

{{Shops-EventShop|W=|LINK= 
|NAME= 
|C= }}

Preview

  • ??

Gold Coin Shop


Used to display Gold Coin Shop content, usable with {{Shops-PRE}} as opening tag and {{Shops-POST}} as closing tag.
Main template inside: {{Shops-GoldCoinShop}}.
|W= is the width of the 2nd column (NAME). |C= is the currency. Gold Coin.

{{Shops-GoldCoinShop|W=|LINK= 
|NAME= 
|C= }}

Preview

  • ??

Killmark Shop


Used to display Killmark Shop content, usable with {{Shops-PRE}} as opening tag and {{Shops-POST}} as closing tag.
Main template inside: {{Shops-KillmarkShop}}.
|W= is the width of the 2nd column (NAME). |C= is the currency. Killmarks.

{{Shops-KillmarkShop|W=|LINK= 
|NAME= 
|C= }}

Preview

  • ??

Boss Token Shop


Used to display Boss Token Shop content, usable with {{Shops-PRE}} as opening tag and {{Shops-POST}} as closing tag.
|W= is the width of the 2nd column (NAME). |C= is the currency. Phillon Token, Pandea Token, Revolt Ignition Token.
Main template inside: {{Shops-BossTokenShop}}

{{Shops-BossTokenShop|W=|LINK= 
|NAME= 
|C1= |C2= |C3= }}

Preview

  • ??

IF Vendor


Used to display Infinity Field Vendor content, usable with {{Shops-PRE}} as opening tag and {{Shops-POST}} as closing tag.
|W= is the width of the 2nd column (NAME). |C= is the currency. Galaxy Orb Icon, Quasar Orb Icon, Solar Orb Icon, Supercluster Orb.
Main template inside: {{Shops-IF}}

<!-- Galaxy Orb / Quasar Orb / Solar Orb / Supercluster Orb -->
{{Shops-IF|W=|LINK= 
|NAME= 
|C1= |C2= |C3= |C4= }}

Preview

  • ??

Charm Shop


Used to display Charm Shop content, usable with {{Shops-PRE}} as opening tag and {{Shops-POST}} as closing tag.
|W= is the width of the 2nd column (NAME). |C= is the currency. PVP Token.
Main template inside: {{Shops-CharmShop}}

{{Shops-CharmShop|W= |LINK= 
|NAME= 
|C= }}

Preview

  • ??

Shops using Cosmetic Token as currency


Used to display Shops that use Cosmetic Tokens as currency, usable with {{Shops-PRE}} as opening tag and {{Shops-POST}} as closing tag.
Main template inside: {{Shops-CosmeticToken}}.
|W= is the width of the 2nd column (NAME). |C= is the currency. Cosmetic Token.

{{Shops-CosmeticToken|W=|LINK= 
|NAME= 
|C= }}

Preview

  • ??

Shops using SPI as currency


Used to display Shops that use SPI as currency, usable with {{Shops-PRE}} as opening tag and {{Shops-POST}} as closing tag.
|W= is the width of the 2nd column (NAME). |C= is the currency. SPI.
Main template inside: {{Shops-ShopsSPI}}

{{Shops-ShopsSPI|W=|LINK= 
|NAME= 
|C= }}

Preview

  • ??

CRP Shop


Used to display CRP Shop content, usable with {{Shops-CRPShop-PRE}} as opening tag and {{Shops-CRPShop-POST}} as closing tag.
Also used with:{{Shops-CRPShop-ITEM-SEPARATOR}} as item separator, {{Shops-CRPShop-ROW-SEPARATOR}} as row separator and {{Shops-CRPShop-BLANK}} as blank item at the bottom of the tab.

{{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}}

Preview

  • ??