Module:Documentation: Difference between revisions

From :: ChromeRivals Wiki ::
Jump to navigation Jump to search
Ranzu (talk | contribs)
Ranzu (talk | contribs)
Line 193: Line 193:
==Drafts==
==Drafts==
====Tabbers====
====Tabbers====
Tabber Extension: https://www.mediawiki.org/wiki/Extension:TabberNeue
{{yellow}}'''Do not use! New Tab extension below.'''{{/yellow}}
 
----
Always include space between title and content.
====New Tabs====
 
Used to display multiple tabs, like with shops and 4 gears.
Used with <code><nowiki>td:nth-child(X)</nowiki></code> as column selector.
<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.
 
Simple tabber:
 
<pre>
<pre>
<tabber>
<ta bs>{{Limit-Height|H= 60em}}<ta b name="B-Gear">{{Shops-PRE}} <!--------------------------------------------------------- B-Gear -->
|-| B-Gear=
Content B-Gear
 
{{Shops-POST}}{{/Limit-Height}}</tab>{{Limit-Height|H= 60em}}<ta b name="I-Gear">{{Shops-PRE}} <!--------------------------------------------------------- I-Gear -->
First tab content goes here.
Content I-Gear
|-| I-Gear=
{{Shops-POST}}{{/Limit-Height}}</tab>{{Limit-Height|H= 60em}}<ta b name="M-Gear">{{Shops-PRE}} <!--------------------------------------------------------- M-Gear -->
 
Content M-Gear
Second tab content goes here.
{{Shops-POST}}{{/Limit-Height}}</tab>{{Limit-Height|H= 60em}}<ta b name="A-Gear">{{Shops-PRE}} <!--------------------------------------------------------- A-Gear -->
|-| M-Gear=
Content A-Gear
 
{{Shops-POST}}{{/Limit-Height}}</tab></tabs>
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>
 
 
Used style selectors:
<pre>
.tabber--live
.tabber__header
.tabber__indicator
.tabber__header__prev
.tabber__header__next
.tabber__section
.tabber__panel
.tabber__tab
</pre>
</pre>


----
----
====Recipe Table====
====Recipe Table====
Table used to show recipes.
Table used to show recipes.

Revision as of 15:19, 19 March 2024

Drafts - Shops

Event Shop

Used to display Event Shop Table, 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

  • ??

Gold Coin Shop


Used to display Gold Coin Shop Table, 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

  • ??

Boss Token Shop


Used to display Boss Token Shop Table, 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

  • ??

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 Table, usable with {{Shops-CRPShop-PRE}} as opening tag and {{Shops-CRPShop-POST}} as closing tag.
|W= is the width of the 2nd column (NAME). |C= is the currency.
Also used with:{{Shops-CRPShop-ITEM-SEPARATOR}} as item separator and {{Shops-CRPShop-ROW-SEPARATOR}} as row separator.

{{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}}
{{Shops-CRPShop-ITEM-SEPARATOR}}
[...]
{{Shops-CRPShop-POST}}

Preview

  • ??