Mudanças entre as edições de "Predefinição:Desc Item"
Ir para navegação
Ir para pesquisar
(Criou página com '<includeonly> :{{#if: {{{desc|}}} | {{{desc}}}|''Someone forgot to add a description here!<br/>Maybe someone like you should add one.''}} :{{#if: {{{class|}}} | '''Class''' : {{{class}}} | }} :{{#if: {{{prop|}}} | '''Property''' : {{#switch: {{{prop|}}} |neutral='''Neutral''' |water=<span style="color:blue">'''Water'''</span> |earth=<span style="color:brown">'''Earth'''</span> |fire=<span style="color:red">'''Fire'''</span> |wind=<span style="color:green">'''Wind'''</sp...') |
|||
| (Uma revisão intermediária pelo mesmo usuário não está sendo mostrada) | |||
| Linha 2: | Linha 2: | ||
:{{#if: {{{desc|}}} | {{{desc}}}|''Someone forgot to add a description here!<br/>Maybe someone like you should add one.''}} | :{{#if: {{{desc|}}} | {{{desc}}}|''Someone forgot to add a description here!<br/>Maybe someone like you should add one.''}} | ||
:{{#if: {{{class|}}} | ''' | :{{#if: {{{class|}}} | '''Tipo''' : {{{class}}} | }} | ||
:{{#if: {{{prop|}}} | '''Property''' : {{#switch: {{{prop|}}} | :{{#if: {{{prop|}}} | '''Property''' : {{#switch: {{{prop|}}} | ||
|neutral='''Neutral''' | |neutral='''Neutral''' | ||
| Linha 15: | Linha 15: | ||
|undead=<span style="color:grey">'''Undead'''</span> | |undead=<span style="color:grey">'''Undead'''</span> | ||
}}| }} | }}| }} | ||
:{{#if: {{{atk|}}} | ''' | :{{#if: {{{atk|}}} | '''Ataque''' : {{{atk|}}} | }} | ||
:{{#if: {{{def|}}} | ''' | :{{#if: {{{def|}}} | '''Defesa''' : {{{def|}}} | }} | ||
:{{#if: {{{weight|}}} | ''' | :{{#if: {{{weight|}}} | '''Peso''' : {{{weight}}} | }} | ||
:{{#if: {{{wlvl|}}} | ''' | :{{#if: {{{wlvl|}}} | '''Nível da Arma''' : {{{wlvl|}}} | }} | ||
:{{#if: {{{level|}}} | '''Level''' : {{{level}}} | }} | :{{#if: {{{level|}}} | '''Level''' : {{{level}}} | }} | ||
:{{#if: {{{jobs|}}} | ''' | :{{#if: {{{jobs|}}} | '''Classes''' : {{{jobs}}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Edição atual tal como às 01h49min de 26 de fevereiro de 2023
Desc Item aims to bring descriptions to every page in a more standard way by adding automatic format to them.
Everything is full flexible and optional besides the description part because it's the reason of its existence.
Template:Item Combo can be used with it to provide cleaner descriptions when the item combos with others to provide more bonuses.
Syntax
{{Desc Item|desc=|class=|weight=|level=|jobs=}}
- Parameter
- desc
- description of the item; what it does, bonus offered, etc. Add a line break after the description and use
:to add item bonuses effects as seen in the examples.- For combos with items, it's suggested to use Template:Item Combo.
- When this isn't available, this template warns the user about it.
- class
- (Optional) slot where the item goes.
- prop
- (Optional) element of the item.
- Case sensitive, name of the element needs to be added in lowercase.
- To check which ones are available, check Elements.
- atk
- (Optional) the attack value of the item.
- wlvl
- (Optional) the weapon level of the weapon
- def
- (Optional) the defense value of the item.
- weight
- (Optional) weight of the item.
- level
- (Optional) level required to equip the item.
- jobs
- (Optional) jobs that can equip the item.
Examples
- Example #1
- Displays attack of a one handed sword
{{Desc Item
|desc=Give me the power to display attack!
|class=One Hand Sword
|atk=21054
|weight=200
|level=170
|jobs=Novice & Evolutions
}}
- Give me the power to display attack!
- Tipo : One Hand Sword
- Ataque : 321
- Peso : 200
- Level : 170
- Classes : Novice & Evolutions
- Example #2
- Description of an item that combos with another and has 400 def.
{{Desc Item
|desc=
I combo with the item below!
{{Item Combo
|combo=1
|id1=15212
|name1=YSF01 Plate
|slot1=1
|desc=Combo from the past!
::Gives a ton of cool stuff!
}}
|class=Garment
|def=400
|weight=10
|level=170
|jobs=Novice, Ninja
}}
- I combo with the item below!
- [ +
YSF01 Plate [1] ]
- Combo from the past!
- Gives a ton of cool stuff!
- Tipo : Garment
- Defesa : 400
- Peso : 10
- Level : 170
- Classes : Novice, Ninja
- Example #3
- Description of an item that misses info about it.
{{Desc Item
|class=Shadow Weapon
|weight=1
|level=101
|jobs=Kagerou
}}
- Someone forgot to add a description here!
Maybe someone like you should add one.
- Tipo : Shadow Weapon
- Peso : 1
- Level : 101
- Classes : Kagerou
- Example #4
- Description of an item with multiple combos.
{{Desc Item
|desc=
Makes a lot of cool stuff below when you equip the following:
{{Item Combo
|combo=1
|id1=15212
|name1=YSF01 Plate
|slot1=1
|desc=Combo from the past!
::Gives a ton of cool stuff!
}}
{{Item Combo
|combo=1
|id1=2115
|name1=Amazing Shield that shines!!
|slot1=1
|desc=Does something cool!
:More bonuses!
}}
|class=Mid Headgear
|weight=10
|level=170
|jobs=Royal Guard
}}
- Makes a lot of cool stuff below when you equip the following:
- [ +
YSF01 Plate [1] ]
- Combo from the past!
- Gives a ton of cool stuff!
- Does something cool!
- More bonuses!
- Tipo : Mid Headgear
- Peso : 10
- Level : 170
- Classes : Royal Guard
- Example #5
- Description of an item with multiple effects.
{{Desc Item
|desc=Item from another dimension! It has the power to make things break!
:ALL STATS +20
:Melee Damage +200%
:Flee +500
:Perfect Dodge -100
|class=Low Headgear
|weight=10
|level=100
|jobs=Novice
}}
- Item from another dimension! It has the power to make things break!
- ALL STATS +20
- Melee Damage +200%
- Flee +500
- Perfect Dodge -100
- Tipo : Low Headgear
- Peso : 10
- Level : 100
- Classes : Novice
- Example #6
- Description of an item.
{{Desc Item
|desc=I'm an item, yes! Let's have some fun!
}}
- I'm an item, yes! Let's have some fun!
- Example #7
- Description of a weapon with atk, weight, weapon level, level, weapon property, and the jobs that can use it.
{{Desc Item
|desc=I'm a strong sword
|class=Two Hand Sword
|prop=fire
|atk=400
|wlvl=4
|weight=600
|level=190
|jobs=Royal Guard
}}
- I'm a strong sword
- Tipo : Two Hand Sword
- Property : Fire
- Ataque : 400
- Peso : 600
- Nível da Arma : 4
- Level : 190
- Classes : Royal Guard