Template:EnchantInfoBox: Difference between revisions

From Auranogi
mNo edit summary
mNo edit summary
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><nowiki></nowiki>
==={{{Enchants Onto|}}}===
{| class="infotable mw-collapsible mw-collapsed" style="width:100%; max-width:600px; border:3px solid #1195db; margin-top:0px; text-align:center; color:white; background-color:#1195db;"
<nowiki></nowiki>
! style="font-size:16px;"|Enchants List
{| class="wikitable datatable mw-collapsible" style="width:100%; max-width:600px; border:3px solid #1195db; margin-top:0px;"
|-
|-
! style="background-color:#1195db; color:white; border-bottom:3px solid #1195db; border-color:#1195db; width:33%"|Name !!style="background-color:#1195db; color:white; border-bottom:3px solid #1195db; border-color:#1195db; width:33%;"|Type !!style="background-color:#1195db; color:white; border-bottom:3px solid #1195db; border-color:#1195db; width:33%;"|Rank
| style="display:block; overflow-y:auto; scrollbar-color: #1195db #e1f5ff; border-color:transparent; max-height:300px;"|
{| class="wikitable sortable" style="width:100%; max-width:600px; border:3px solid #1195db; margin-top:0px; margin-bottom:0px; margin-right:0px; margin-left:0px; text-align:center;"
|-
! style="background-color:#1195db; color:white; border-bottom:3px solid #1195db; border-color:#1195db; width:45%"|Name !!style="background-color:#1195db; color:white; border-bottom:3px solid #1195db; border-color:#1195db; width:5%;"|Type !!style="background-color:#1195db; color:white; border-bottom:3px solid #1195db; border-color:#1195db; width:45%;"|Enchants Onto !!style="background-color:#1195db; color:white; border-bottom:3px solid #1195db; border-color:#1195db; width:5%;"|Rank
{{{Table Rows|}}}
{{{Table Rows|}}}
|}
|}</includeonly>
|}</includeonly>
<noinclude>[[Category:Templates]]</noinclude>
<noinclude>
{{Documentation}}
[[Category:Templates]]</noinclude>

Latest revision as of 21:43, 7 May 2024


[edit]Template Documentation

Enchants List
Name Type Enchants Onto Rank
Fox Prefix All B
Fox Prefix All B


Description

This is the "EnchantInfoBox" template.

This template is specifically for the Enchants List page. It helps list linked Enchants and allows sorting.

How to Use

It should be called in the following format:

{{EnchantInfoBox
| Table Rows=
<!--- Head, Hands, Clothing, Armor, Feet, Accessories --->
{{EnchantInfoBox/Row|Name= |Prefix/Suffix= |Enchants Onto= |Rank= }}
}}

Parameters

Parameter Usage Example
Table Rows This is the section where the line of code
{{EnchantInfoBox/Row|Name= |Prefix/Suffix= |Enchants Onto= |Rank= }}
is pasted multiple times on separate lines. These rows are for each individual enchant.
| Table Rows=
{{EnchantInfoBox/Row|Name= |Prefix/Suffix= |Enchants Onto= |Rank= }}
{{EnchantInfoBox/Row|Name= |Prefix/Suffix= |Enchants Onto= |Rank= }}
{{EnchantInfoBox/Row|Name= |Prefix/Suffix= |Enchants Onto= |Rank= }}
Name Put the name of the specific enchant. Make sure that it directly links to the page it is going to.
{{EnchantInfoBox/Row|Name= [[Fox (Enchant)|Fox]]|Prefix/Suffix= |Enchants Onto= |Rank= }}
Prefix/Suffix This is for defining whether the enchant is a Prefix or Suffix. Just type one of the two.
{{EnchantInfoBox/Row|Name= |Prefix/Suffix= Suffix|Enchants Onto= |Rank= }}
Enchants Onto This part has a little more limitations than the direct enchant page where you can state the enchantment plainly. These limitations are to help the sorting for the table.
You will need to state where it enchants to (All, Accessories, Clothing, Feet, Hands, Head, Shields.)
When that is determined, if it has wording that is different than the destination (such as Greaves, Footwear, Light Armor, Heavy Armor, etc.)
Try to keep the items in alphabetical order to the best of your ability (to help with sorting.) Make sure that the original wording (not the general, but the specific wording) is set as
<small>( WORDS )</small>
. This is just for looks primarily. Lastly, separate the specific wording onto a separate line by putting a
<br>
line break.
Some examples:
Head<br><small>( Hats )</small>
Feet<br><small>( Greaves )</small>
Armor<br><small>( Light Armor)</small>
{{EnchantInfoBox/Row|Name= |Prefix/Suffix= Suffix|Enchants Onto= Armor<br><small>( Light Armor )</small>|Rank= }}
Multiple:
Armor, Feet, Head<br><small>( Light Armor, Greaves, Helmets )</small>
All, Armor, Accessories<br><small>( Heavy Armor )</small>  ----- For ones like this example, only state the specifics ONLY for the one that has different wording, such as the armor.
{{EnchantInfoBox/Row|Name= |Prefix/Suffix= Suffix|Enchants Onto= Armor, Feet, Head<br><small>( Light Armor, Greaves, Helmets )</small>|Rank= }}
Rank Just state the rank of the enchant itself from Rank F - Rank 1. You only need to state the rank letter or number.
{{EnchantInfoBox/Row|Name= |Prefix/Suffix= Suffix|Enchants Onto= |Rank= F}}