Module:Documentation: Difference between revisions
No edit summary |
|||
Line 324: | Line 324: | ||
---- | ---- | ||
====Armor Table==== | ====Armor Table==== | ||
Table used to show armors. Change <code><nowiki>|WIDTH=</nowiki></code> | Table used to show armors. Change <code><nowiki>|WIDTH=</nowiki></code> (First collumn) and <code><nowiki>|WIDTH2=</nowiki></code> (Whole table) according to content. | ||
Usable with color templates and <code><nowiki>{{E15}}</nowiki></code> template. | |||
<pre> | <pre> | ||
{{ArmorTable | {{ArmorTable | ||
|WIDTH1= <!-- 120--> | |WIDTH1= <!-- 0 120 --> | ||
|WIDTH2=<!-- | |WIDTH2= <!-- 0 --> | ||
|PICTURE=PICTURE_LINK | |PICTURE=PICTURE_LINK | ||
|NAME= {{COLOR}}ITEM_NAME{{/COLOR}} | |NAME= {{COLOR}}ITEM_NAME{{/COLOR}} |
Revision as of 17:32, 5 December 2023
This page contains documentation for templates, styles, drafts and special pages.
Templates
Color Templates
Color templates equivalent to game colors.
Used with E.g. {{/lblue}}
or {{/blue}}
, as closing tag.
- #B2BEFF
{{lblue}}
\a - #2C53FD
{{blue}}
\b - #00FFFF
{{cyan}}
\c - #777777
{{dgray}}
\d - #F5B930
{{orange}}
\e Enchant Manual - #00FF00
{{lime}}
\g Enchant Fix - #F4891E
{{dorange}}
\h - #A64A0C
{{brown}}
\k - #00AAFF
{{lapis}}
\l - #FF00FF
{{magenta}}
\m - #77BB22
{{green}}
\o - #FF66EE
{{pink}}
\p - #D0D0D0
{{lgray}}
\q - #FF0000
{{red}}
\r - #A135FF
{{purple}}
\u - #007400
{{dgreen}}
\v - #FFFFFF
{{white}}
\w - #FFFF00
{{yellow}}
\y
Toggle button
{{Toggle}}
Always include space or break before this template if you using Title
.
Used with {{/Toggle}}
, as closing tag.
{{Toggle|Title=Title_Goes_Here}} Toggled_Content_Goes_Here {{/Toggle}}
Used style selectors:
#ToggleButton .ToggleContent .ToggleTitle
Preview:
Standard Enchanting Cards
Other
Hover to show
Hover over .HoverHide
to show .hide
Used style selectors:
.HoverHide .hide
Use width:max-content;
for "button" hover only.
Preview:
Custom Toggle
Used with:
mw-customtoggle-myDivision1
mw-customcollapsible-myDivision1
(Changing myDivision1
to myDivision2
, myDivision3
etc.)
Preview:
Click to toggle |
Toggled Content
Drafts
Tabbers
Always include space between title and content.
Used with td:nth-child(X)
as column selector.
Simple tabber:
<tabber> |-| B-Gear= First tab content goes here. |-| I-Gear= Second tab content goes here. |-| M-Gear= Third tab content goes here. |-| A-Gear= Third tab content goes here. </tabber>
Nested tabber:
<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>
Used style selectors:
.tabber--live .tabber__header .tabber__indicator .tabber__header__prev .tabber__header__next .tabber__section .tabber__panel .tabber__tab
Recipe Table
Table used to show recipes.
Material count number needs to be the same as number of columns PICTURE_LINK_X
. Usable with color templates.
{| class="RecipeTable" ! colspan="MATERIAL_COUNT"| Materials ! style="width: 80px;"| Success ! Final |- | PICTURE_LINK_1 {{COLOR_1}}NAME_1{{/COLOR_1}} (x1) | PICTURE_LINK_2 {{COLOR_2}}NAME_2{{/COLOR_2}} (x1) | PICTURE_LINK_3 {{COLOR_3}}NAME_3{{/COLOR_3}} (x1) | PICTURE_LINK_4 {{COLOR_4}}NAME_4{{/COLOR_4}} (x1) | PICTURE_LINK_5 {{COLOR_5}}NAME_5{{/COLOR_5}} (x1) | CHANCE_1 | PICTURE_FINAL {{FINAL_COLOR}}FINAL_NAME{{/FINAL_COLOR}} (x1) |}
Used style selectors:
.RecipeTable
Weapon Table / E15
Table used to show weapons. Change |WIDTH=
(First collumn) and |WIDTH2=
(Whole table) according to content.
Usable with color templates and {{E15}}
template.
{{WeaponTable |WIDTH1= <!-- 0 120 125 / First collumn width --> |WIDTH2= <!-- 0 190 200 220 / Whole table width --> |PICTURE=PICTURE |NAME= {{COLOR}}NAME{{/COLOR}} |TYPE=<!-- Missile, Budle or other! --> |GEAR TYPE=<!-- B-Gear M-Gear I-Gear A-Gear BG MG IG --> |REQUIRED LEVEL= XXX |ATTACK POWER= (X ~ X) X (X X X) |ATTACK POWER/s=XXX ~ XXX |ACCURACY=XXX.XX% |PIERCE=XX.XX% |RANGE=XXX m |REATTACK TIME=X.XX s |WEAPON_TYPE= {{STD Weapon |OVERHEAT TIME=X.XX s }} {{ADV Weapon |VALID ANGLE=X ° |SPEED=XXX m/s |INDUCTION RATE=X °/s |EXPLOSION RADIUS=X m }} |WEIGHT=XXX kg }}
Preview (including {{E15}}
template):
Template:WeaponTable
Weapon Table used style selectors:
.WeaponTable
E15 used style selectors:
.containerE15 .overlayE15
Armor Table
Table used to show armors. Change |WIDTH=
(First collumn) and |WIDTH2=
(Whole table) according to content.
Usable with color templates and {{E15}}
template.
{{ArmorTable |WIDTH1= <!-- 0 120 --> |WIDTH2= <!-- 0 --> |PICTURE=PICTURE_LINK |NAME= {{COLOR}}ITEM_NAME{{/COLOR}} |GEAR TYPE=B-Gear M-Gear I-Gear A-Gear BG MG IG |REQUIRED LEVEL=LEVEL |WEIGHT= WEIGHT kg }} {{FunctionENG_SHD |ENERGY=+XXXX |SHIELD=+XXXX }} {{FunctionDEF |ADV=+XX.XX% |STD=+XX.XX% }} {{FunctionEVA |ADV=+XX.XX% |STD=+XX.XX% }} {{FunctionMIN-MAX_ADV |MIN=+X% |MAX=+X% }} {{FunctionMIN-MAX_STD |MIN=+X% |MAX=+X% }} {{FunctionPIERCE-STD |STD=+X% }} {{FunctionPIERCE-ADV |ADV=+X% }} {{FunctionACCURACY-STD |STD=+X% }} {{FunctionACCURACY-ADV |ADV=+X% }} |}
Preview:
Template:ArmorTable
Template:FunctionENG SHD
Template:FunctionDEF
Template:FunctionMIN-MAX ADV
Template:FunctionACCURACY-ADV
Template:FunctionPIERCE-ADV
|}