Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Difference between revisions of "Template:Custom option"
(Created page with "<includeonly> {{#set:Has game context=Custom option}} ;File:Custom Option Tag.png Option - Level 1 : '''Damage Value''' {{{damage value}}} : '''Buff Power''' {{{buff power...") |
m |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#set:Has game context=Custom option}}{{#if:{{{tags|}}}|{{#arraymap:{{{tags|}}}|;|@@@|{{#set:Has tag=@@@}}|}}}}{{#set:Source={{#ifeq:{{{is common|}}}|n|{{#replace:{{#replace:{{PAGENAME}}|/|-}}|:|-}}|any}}}}{{#set:In slot={{#if:{{{slot|}}}|{{{slot}}}|any}}}}{{DFOBox|width={{#if:{{{width|}}}|{{{width}}}}}|[[File:Custom Option Tag.png|link=]] {{DFOColor|color=subheader|Option - Level}} {{DFOColor|color=value|1}} {{DFOColor|color=subheader|(EXP 0.00%)}} |
− | {{#set:Has game context=Custom option}} | + | : {{DFOColor|color=parameter|Damage Value}} {{DFOColor|color=value|{{{damage value}}}}}{{#set:Damage Value={{{damage value}}}}} |
− | + | : {{DFOColor|color=parameter|Buff Power}} {{DFOColor|color=value|{{{buff power}}}}}{{#set:Buff Power={{{buff power}}}}} | |
− | + | : {{{effect}}}}}{{#set:Effect={{{effect}}}}} | |
− | |||
− | |||
− | {{#if:{{{tags|}}}|{{#arraymap:{{{tags|}}}|;|@@@|{{#set:Has tag=@@@}}|}}}} | ||
− | {{#set: | ||
− | {{#set:In slot={{#if:{{{slot|}}}|{{{slot}}}|any}}}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Usage == | == Usage == | ||
<pre>{{Custom option | <pre>{{Custom option | ||
− | | | + | | is common = |
| slot = | | slot = | ||
| damage value = | | damage value = | ||
Line 24: | Line 19: | ||
== Usage == | == Usage == | ||
− | ; | + | ;width : Can be used to change the default width of the textbox. |
+ | ;is common : Denotes whether or not an option only appears on specific equipment or if it can appear on multiple equipment (not including Legendaries). Allowable values: '''y''' (default) or '''n'''. | ||
;slot : Denotes the equipment slot(s) the option can appear on. Leave blank if it can appear on any slot. | ;slot : Denotes the equipment slot(s) the option can appear on. Leave blank if it can appear on any slot. | ||
;damage value : The base damage value provided. | ;damage value : The base damage value provided. | ||
Line 43: | Line 39: | ||
| effect = Displays an example of a custom option. | | effect = Displays an example of a custom option. | ||
}} | }} | ||
+ | |||
+ | [[Category:Formatting_Templates]] | ||
+ | </noinclude> |
Latest revision as of 22:12, 29 June 2023
Contents
Usage
{{Custom option | is common = | slot = | damage value = | buff power = | effect = | tags = }}
Description
This template defines and displays a custom option.
Usage
- width
- Can be used to change the default width of the textbox.
- is common
- Denotes whether or not an option only appears on specific equipment or if it can appear on multiple equipment (not including Legendaries). Allowable values: y (default) or n.
- slot
- Denotes the equipment slot(s) the option can appear on. Leave blank if it can appear on any slot.
- damage value
- The base damage value provided.
- buff power
- The base buff power provided.
- effect
- The effect of the custom option.
- tags
- Tags associated with the custom option, separated by a semi-colon (;). Do not include the hashtag symbol.
Example
{{Custom option | damage value = 1000 | buff power = 900 | effect = Displays an example of a custom option. }}
Option - Level 1 (EXP 0.00%)
|