Predefinição:Item Combo

De Wiki PrimeRO
Revisão de 00h21min de 26 de fevereiro de 2023 por Tengen (discussão | contribs)
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)
Ir para navegação Ir para pesquisar

Used to add combo of items to description of items. Best used in combination with Template:Desc Item.

Syntax

{{Item Combo|id1=|name1=|slot1=|id2=|name2=|slot2=|id3=|name3=|slot3=|id4=|name4=|slot4=|id5=|name5=|slot5=|allref=|sum=|total=|desc=}}

Parameter
id1
id of the first item
name1
name of the first item
idn (optional)
id of the nth item
namen (optional)
name of the nth item
slotn (optional)
number of slots present in the nth item
allref (optional)
if you want to add a specification based on the refine of each item
sum (optional)
if you want to add a specification based on refine of the entire combo
total (optional)
if you don't want the + appear at the begin of the combo, add a 0 here
desc
bonuses you get from the combo, use :: to add bonuses in another line as seen in the examples.

Usage

Use it to make descriptions follow a standard and easy to use format.

Supports up to 5 different items (I don't think there is more than that but since it's a basic switch to do the loop, it's easy to add more).

id, name, and slot need to be used like in the examples to show more than a single item.

Examples

Example #1
Combo with 1 single item.
{{Item Combo
|id1=15212
|name1=YSF01 Plate
|slot1=1
|desc=Combo from the past!
::Gives a ton of cool stuff!
}}
[ + 15212.png YSF01 Plate [1] ]
Combo from the past!
Gives a ton of cool stuff!
Example #2
Combo with 2 items.
{{Item Combo
|id1=15212
|name1=YSF01 Plate
|slot1=1
|id2=22141
|name2=YSF01 Greaves
|slot2=1
|desc=Less Complex Combo from the past!
::Gives a ton of cool stuff!
}}
[ + 15212.png YSF01 Plate [1]22141.png YSF01 Greaves [1] ]
Less Complex Combo from the past!
Gives a ton of cool stuff!
Example #3
Combo with 3 items.
{{Item Combo
|id1=15212
|name1=YSF01 Plate
|slot1=1
|id2=22141
|name2=YSF01 Greaves
|slot2=1
|id3=20856
|name3=YSF01 Manteau
|slot3=1
|desc=Uber Complex Combo from the past!
::Gives a ton of cool stuff!
::And I don't know what it's because it's a huge wall of text!
}}
[ + 15212.png YSF01 Plate [1]22141.png YSF01 Greaves [1]20856.png YSF01 Manteau [1] ]
Uber Complex Combo from the past!
Gives a ton of cool stuff!
And I don't know what it's because it's a huge wall of text!
Example #4
Combo with 4 items.
{{Item Combo
|id1=15212
|name1=YSF01 Plate
|slot1=1
|id2=22141
|name2=YSF01 Greaves
|slot2=1
|id3=20856
|name3=YSF01 Manteau
|slot3=1
|id4=2115
|name4=Valkyrja's Shield
|slot4=1
|desc=Combo that doesn't exist!
::Gives a ton of impossible things!
::And I don't know what it's because it's doesn't exist!
}}
[ + 15212.png YSF01 Plate [1]22141.png YSF01 Greaves [1]20856.png YSF01 Manteau [1]2115.png Valkyrja's Shield [1] ]
Combo that doesn't exist!
Gives a ton of impossible things!
And I don't know what it's because it's doesn't exist!
Example #5
Combo with 5 items. Last item doesn't have a slot so we didn't add any info related to that.
{{Item Combo
|id1=15212
|name1=YSF01 Plate
|slot1=1
|id2=22141
|name2=YSF01 Greaves
|slot2=1
|id3=20856
|name3=YSF01 Manteau
|slot3=1
|id4=2115
|name4=Valkyrja's Shield
|slot4=1
|id5=513
|name5=Banana
|slot5=0
|desc=Combo that doesn't exist but makes use of 5 marvelous items!
::Gives a ton of impossible things with the power of bananas!
::Don't ask me why this doesn't exist because I don't have any idea either!
}}
[ + 15212.png YSF01 Plate [1]22141.png YSF01 Greaves [1]20856.png YSF01 Manteau [1]2115.png Valkyrja's Shield [1]513.png Banana ]
Combo that doesn't exist but makes use of 5 marvelous items!
Gives a ton of impossible things with the power of bananas!
Don't ask me why this doesn't exist because I don't have any idea either!
Example #6
Combo with 2 items and forced a refine to exist in total.
{{Item Combo
|id1=20963
|name1=Cool Item #23
|slot1=1
|id2=22006
|name2=Cool Item #24
|slot2=1
|sum=16
|desc=ATK +20%
}}
[ + 20963.png Cool Manteau #23 [1]22006.png Cool Item #24 [1] 's sum refine >= 9 ]
ATK +20%
Example #7
Combo with 2 items where each has at least the same refine. Since this appears in one of the items from the combo, we also make use of total to hide the + in the begin of the combo.
{{Item Combo
|id1=2408
|name1=Shackles
|id2=2655
|name2=Bloodied Shackle Ball
|total=0
|allref=9
|desc=LUK -20
}}
[ 2408.png Shackles2655.png Bloodied Shackle Ball 's refine of each >= 9 ]
LUK -20