Template:EnchantInfoBox/List: Difference between revisions

From Auranogi
mNo edit summary
Tag: Manual revert
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><!--- --->
==={{{Enchant Name|}}}===
==={{{Enchant Name|}}}===  
{| class="wikitable wikitable" style="width:100%; max-width:600px; border:3px solid #1195db; margin-top:0px;"
{| class="wikitable wikitable" style="width:100%; max-width:600px; border:3px solid #1195db; margin-top:0px;"
| rowspan="2" style="background-color:#e1f5ff; color:#1195db; width:33%; border-right:3px solid #1195db; border-bottom:3px solid #1195db; text-align:center;"|<span style="color:black;">'''{{{Prefix/Suffix|}}}, {{{Rank|}}}</span><br>{{{Enchants Onto|}}}'''<br>{{#ifeq:{{{Enabled Regardless of Rank|}}}|YES|<span style="color:#9845E0; font-weight:bold; font-size:12px;">Enabled Regardless of Rank</span>|}}<br>{{#ifeq:{{{Personalize|}}}|YES|<span style="color:#EF30E3; font-weight:bold; font-size:12px;">Personalize</span>|}}||style="text-align:center; border-bottom:2px solid #e1f5ff; padding-top:15px; padding-bottom:10px;"|{{{Effects|}}}
| rowspan="2" style="background-color:#e1f5ff; color:#1195db; width:33%; border-right:3px solid #1195db; border-bottom:3px solid #1195db; text-align:center; vertical-align:middle; padding-top:15px; padding-bottom:15px;"|<span style="color:black;">'''{{{Prefix/Suffix|}}}, {{{Rank|}}}</span><br><br>{{{Enchants Onto|}}}'''{{#ifeq:{{{Enabled Regardless of Rank|}}}|YES|<br><span style="color:#9845E0; font-weight:bold; font-size:12px;">Enabled Regardless of Rank</span>|}}<br>{{#ifeq:{{{Personalize|}}}|YES|<br><span style="color:#EF30E3; font-weight:bold; font-size:12px;">Personalize</span>|}}||style="text-align:center; border-bottom:2px solid #e1f5ff; padding-top:15px; padding-bottom:10px;"|{{{Effects|}}}
|-
|-
| style="font-size:12px; color:#1195db; display:block; overflow-y:auto; scrollbar-color: #1195db #e1f5ff; border-color:transparent; max-height:50px;"|{{{Obtained From List|}}}
| style="font-size:12px; color:#1195db; display:block; overflow-y:auto; scrollbar-color: #1195db #e1f5ff; border-color:transparent; max-height:50px;"|{{{Obtained From List|}}}
|}</includeonly>
|}</includeonly><noinclude>
<noinclude>[[Category:Templates]]</noinclude>
{{Documentation}}
[[Category:Templates]]</noinclude>

Latest revision as of 20:59, 8 May 2024

[edit]Template Documentation

Rank F

Random Ench

Prefix, 1

Armor

Enabled Regardless of Rank

Personalize
When Level is 6 or higher
Balance +5%

Some Critical +5%
Max HP -20
Max Stamina -20

Enchant Scroll ( Alby Normal Dungeon - End Chest )

Wooden Stick ( Alby Normal Dungeon - End Chest )

Description

This is the "EnchantInfoBox/List" template.

Useful for adding enchants directly onto the Prefix Enchants List and Suffix Enchants List pages. This one utilizes multiple templates in one for each individual aspect of the list (from rank, enchants, and effects.) Once the gist of it is understood, it becomes much easier to work with. The main one to focus on is the enchant template rather than the rank one since the rank template is already set up on the pages.

When adding enchants to their respective lists, make sure to update the Enchants List page and add the enchant(s).

The enchant link on that page should be set to
[[Enchant Name]]
unless it is an existing animal or item, type
[[Enchant Name (Enchant)|Enchant Name]]

How to Use

It should be called in the following format:
Before the start of a section, a rank is needed to be defined. This is where line of code below comes into play.

{{EnchantInfoBox/Rank|Rank= F}}

However, you will not need this line of code as it is already displayed on the pages that need this template. I only mention this for clarity.

Here is the one that you need to focus on. This one is for every enchant (Prefix/Suffix). This template is what I will be primarily focusing on for this documentation:

<!--- --->
{{EnchantInfoBox/List|Enchant Name= |Enabled Regardless of Rank= |Personalize= |Prefix/Suffix= |Rank= |Enchants Onto= 
| Effects=
{{EnchantInfoBox/Effects|+/-=+|Effect= }}
{{EnchantInfoBox/Effects|+/-=-|Effect= }}
| Obtained From List=
{{EnchantInfoBox/ObtainedList|Item Name= |From Where= }}
}}

Parameters

Parameter Usage Example
Enchant Name For enchant name, put the exact name of the enchant. No need to make the enchant a link as it is the page to be linked to. Just leave as-is.
{{EnchantInfoBox/List|Enchant Name= Example Enchant|Enabled Regardless of Rank= |Personalize= |Prefix/Suffix= |Rank= |Enchants Onto= 
Enabled Regardless of Rank For this section, leave it blank unless the enchant you are inputting is enabled regardless of rank. If it is, put YES (exactly as typed.)
{{EnchantInfoBox/List|Enchant Name= Example Enchant|Enabled Regardless of Rank= YES|Personalize= |Prefix/Suffix= |Rank= |Enchants Onto= 
Personalize Similar to the previous 'Enabled Regardless of Rank', just leave blank if the enchant doesn't Personalize the gear it enchants to. If it does, write YES.
{{EnchantInfoBox/List|Enchant Name= Random Enchant|Enabled Regardless of Rank= YES|Personalize= YES|Prefix/Suffix= |Rank= |Enchants Onto= 
Prefix/Suffix Here, we define whether the enchant is a prefix or a suffix. Just write which one it is. Just type Prefix or Suffix. (Case-sensitive)
{{EnchantInfoBox/List|Enchant Name= Example Enchant|Enabled Regardless of Rank= YES|Personalize= YES|Prefix/Suffix= Prefix|Rank= |Enchants Onto= 
Rank Now, put the rank of the enchant. Just the letter or number will do. Not need to write 'Rank'.
{{EnchantInfoBox/List|Enchant Name= Example Enchant|Enabled Regardless of Rank= YES|Personalize= YES|Prefix/Suffix= Prefix|Rank= F|Enchants Onto= 
Enchants Onto Here, you type exactly what the enchant itself enchants to. You do not need to organize it. Just state exactly each part the enchant can be enchanted to (as it is defined in-game.) Just separate each part by a comma.
{{EnchantInfoBox/List|Enchant Name= Example Enchant|Enabled Regardless of Rank= YES|Personalize= YES|Prefix/Suffix= Prefix|Rank= F|Enchants Onto= Armor, Clothing, Helmets, Greaves
Effects For effects, there will be two lines: one for positive effects and one for negative effects that the enchant applies to your equipment. The positive effects is the top line and the bottom line is the negative effect (symbolized by the +/- = + (positive), +/-= - (negative).) Here, you will list each line of the enchant effects based on whether they are positive or negative effects and then split each line via a
<br>
line break. Try to keep the line for stats / skill rank requirements on separate lines for clarity.
{{EnchantInfoBox/Effects|+/-=+|Effect= If Smash is Rank A or higher<br>Str +10<br>Critical +5%}} <----- Positive Effects
{{EnchantInfoBox/Effects|+/-=-|Effect= Stamina -15<br>Repair Cost +5%}} <----- Negative Effects
Obtained From List Here, we will need this line of code:
{{EnchantInfoBox/ObtainedList|Item Name= |From Where= }}
. This line of code is needed for every item that the enchant can appear on from drops/other sources. This can be Enchant Scroll, Broad Stick, Wooden Stick, Popo's Skirt, Gathering Knife, etc. (IF YOU ARE WRITING A NEW ENCHANT LISTING, MAKE SURE TO UPDATE THE DUNGEON PAGE THAT IT COMES FROM / SOURCE PAGE.)
Lastly, just copy the line of code as many times as needed for the amount of items that the enchant naturally appears on.
| Obtained From List=
{{EnchantInfoBox/ObtainedList|Item Name= Enchant Scroll|From Where= [[Alby Normal Dungeon|Alby Normal]] - End Chest}}
{{EnchantInfoBox/ObtainedList|Item Name= Broad Stick|From Where= [[Ciar Normal Dungeon|Ciar Normal]] - End Chest}}
{{EnchantInfoBox/ObtainedList|Item Name= Wizard Hat|From Where= [[Kobold]]}}
Item Name Item name is just the name of the item that the enchant is on.
| Item Name= Enchant Scroll
From Where This is where it can get a little tricky, especially if one item has many locations where it can drop from. Here is a general explanation on how I try to write it out:
For dungeons, I write a link that states the name of the page it is going to, but shorten the dungeon link name by taking out the word "Dungeon" or "Ruins" and add an - End Chest at the end. Example:
[[Alby Normal Dungeon|Alby Normal]] - End Chest

For Monsters, just type their name as a link:
[[Kobold]]


Make sure that each location the item (with the enchant) can come from is separated by a '/'.
| From Where= [[Alby Normal Dungeon|Alby Normal]] - End Chest / [[Kobold]] / [[Kobold Archer]] / [[Iria Exploration Chests]]