Predefinição:Item Combo

De Wiki PrimeRO
Revisão de 00h20min de 26 de fevereiro de 2023 por Tengen (discussão | contribs) (Criou página com '<includeonly> :<nowiki>[</nowiki> {{#ifeq: {{{total|}}} | 0 || + }}{{Item List2 |id={{{id1}}} | item={{{name1}}} | slots={{{slot1|}}}}} {{#if: {{{id2|}}} | + {{Item List2 |id={{{id2}}} | item={{{name2}}} | slots={{{slot2|}}}}}|}} {{#if: {{{id3|}}} | + {{Item List2 |id={{{id3}}} | item={{{name3}}} | slots={{{slot3|}}}}}|}} {{#if: {{{id4|}}} | + {{Item List2 |id={{{id4}}} | item={{{name4}}} | slots={{{slot4|}}}}}|}} {{#if: {{{id5|}}} | + {{Item Lis...')
(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!
}}
[ + Predefinição:Item List2 ]
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!
}}
[ + Predefinição:Item List2Predefinição:Item List2 ]
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!
}}
[ + Predefinição:Item List2Predefinição:Item List2Predefinição:Item List2 ]
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!
}}
[ + Predefinição:Item List2Predefinição:Item List2Predefinição:Item List2Predefinição:Item List2 ]
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!
}}
[ + Predefinição:Item List2Predefinição:Item List2Predefinição:Item List2Predefinição:Item List2Predefinição:Item List2 ]
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%
}}
[ + Predefinição:Item List2Predefinição:Item List2 '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
}}
[ Predefinição:Item List2Predefinição:Item List2 's refine of each >= 9 ]
LUK -20