Template:Infobox SetItem: differenze tra le versioni
Da Xhodon.
Riga 2: | Riga 2: | ||
{| cellpadding="0" cellspacing="0" rules="all" style="width:300px; border:1px solid #{{ColorBorder|808080}}; background-color:#{{ColorBackground|F9F9F9}};" | {| cellpadding="0" cellspacing="0" rules="all" style="width:300px; border:1px solid #{{ColorBorder|808080}}; background-color:#{{ColorBackground|F9F9F9}};" | ||
! colspan="2" style="background:#{{ColorTitleBox|FFCC99}}; " | | ! colspan="2" style="background:#{{ColorTitleBox|FFCC99}}; " | | ||
− | ==== {{{Set_Name| | + | ==== {{{Set_Name|(unknownes Set)}}} ==== |
|- | |- | ||
− | | style="width:50%; padding-left:10px; " | | + | | style="width:50%; padding-left:10px; " | Level: |
− | | style="width:50%; padding-left:10px; " | {{{ | + | | style="width:50%; padding-left:10px; " | {{{Level|unknown}}} |
|- | |- | ||
− | | style="width:50%; padding-left:10px; " | | + | | style="width:50%; padding-left:10px; " | Alignment: |
− | | style="width:50%; padding-left:10px; " | {{{ | + | | style="width:50%; padding-left:10px; " | {{{Alignment|unknown}}} |
|- | |- | ||
− | | style="width:50%; padding-left:10px; " | | + | | style="width:50%; padding-left:10px; " | Requirement: |
− | | style="width:50%; padding-left:10px; " | {{{ | + | | style="width:50%; padding-left:10px; " | {{{Requirement|unknown}}} |
|- | |- | ||
− | | colspan="2" style="padding-left:10px; " | | + | | colspan="2" style="padding-left:10px; " | Set-Bonus: |
− | :''{{{ | + | :''{{{Set_Bonus|unknown}}}'' |
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{Headgear_Name|}}} | |
− | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{ | + | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{Headgear_Name}}}: |
− | :''{{{ | + | :''{{{Headgear_Values|unknown}}}'' |
{{!-}} }} | {{!-}} }} | ||
− | {{#if: {{{ | + | {{#if: {{{Amulet_Name|}}} | |
− | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{ | + | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{Amulet_Name}}}: |
− | :''{{{ | + | :''{{{Amulet_Values|unknown}}}'' |
{{!-}} }} | {{!-}} }} | ||
− | {{#if: {{{ | + | {{#if: {{{Torso_Name|}}} | |
− | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{ | + | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{Torso_Name}}}: |
− | :''{{{ | + | :''{{{Torso_Values|unknown}}}'' |
{{!-}} }} | {{!-}} }} | ||
− | {{#if: {{{ | + | {{#if: {{{Weapon_Name|}}} | |
− | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{ | + | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{Weapon_Name}}}: |
− | :''{{{ | + | :''{{{Weapon_Values|unknown}}}'' |
{{!-}} }} | {{!-}} }} | ||
− | {{#if: {{{ | + | {{#if: {{{Hands_Name|}}} | |
− | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{ | + | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{Hands_Name}}}: |
− | :''{{{ | + | :''{{{Hands_Values|unknown}}}'' |
{{!-}} }} | {{!-}} }} | ||
− | {{#if: {{{ | + | {{#if: {{{Ring_Name|}}} | |
− | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{ | + | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{Ring_Name}}}: |
− | :''{{{ | + | :''{{{Ring_Values|unknown}}}'' |
{{!-}} }} | {{!-}} }} | ||
− | {{#if: {{{ | + | {{#if: {{{Shoes_Name|}}} | |
− | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{ | + | {{!}} colspan="2" style="padding-left:10px; " {{!}} {{{Shoes_Name}}}: |
− | :''{{{ | + | :''{{{Shoes_Values|unknown}}}'' |
{{!-}} }} | {{!-}} }} | ||
|} | |} | ||
</div><div style="position:relative"> | </div><div style="position:relative"> | ||
− | <div style="margin-bottom:1em;">{{#ifeq: {{{ | + | <div style="margin-bottom:1em;">{{#ifeq: {{{Alignment}}}|[[Light]]|[[Image:Mage_background_light.png|The Magician]]|[[Image:Mage_background_shadow.png|The Magician]]}}</div> |
<div style="width: 70px; height: 85px; top: 45px; left: 355px; z-index:2; position: absolute; "> | <div style="width: 70px; height: 85px; top: 45px; left: 355px; z-index:2; position: absolute; "> | ||
− | {{#if:{{{ | + | {{#if:{{{Headgear_Image|}}}|[[{{{Headgear_Image}}}|{{{Headgear_Name|Unknown}}}]]}}</div> |
<div style="width: 70px; height:123px; top:149px; left: 355px; z-index:2; position: absolute; "> | <div style="width: 70px; height:123px; top:149px; left: 355px; z-index:2; position: absolute; "> | ||
− | {{#if:{{{ | + | {{#if:{{{Weapon_Image|}}}|[[{{{Weapon_Image}}}|{{{Weapon_Name|Unknown}}}]]}}</div> |
<div style="width: 70px; height: 65px; top:284px; left: 355px; z-index:2; position: absolute; "> | <div style="width: 70px; height: 65px; top:284px; left: 355px; z-index:2; position: absolute; "> | ||
− | {{#if:{{{ | + | {{#if:{{{Shoes_Image|}}}|[[{{{Shoes_Image}}}|{{{Shoes_Name|Unknown}}}]]}}</div> |
<div style="width: 42px; height: 41px; top: 64px; left:588px; z-index:2; position: absolute; "> | <div style="width: 42px; height: 41px; top: 64px; left:588px; z-index:2; position: absolute; "> | ||
− | {{#if:{{{ | + | {{#if:{{{Ring_Image|}}}|[[{{{Ring_Image}}}|{{{Ring_Name|Unknown}}}]]}}</div> |
<div style="width: 42px; height: 63px; top: 43px; left:645px; z-index:2; position: absolute; "> | <div style="width: 42px; height: 63px; top: 43px; left:645px; z-index:2; position: absolute; "> | ||
− | {{#if:{{{ | + | {{#if:{{{Amulet_Image|}}}|[[{{{Amulet_Image}}}|{{{Amulet_Name|Unknown}}}]]}}</div> |
<div style="width: 88px; height:123px; top:117px; left:597px; z-index:2; position: absolute; "> | <div style="width: 88px; height:123px; top:117px; left:597px; z-index:2; position: absolute; "> | ||
− | {{#if:{{{ | + | {{#if:{{{Torso_Image|}}}|[[{{{Torso_Image}}}|{{{Torso_Name|Unknown}}}]]}}</div> |
<div style="width: 88px; height: 95px; top:257px; left:597px; z-index:2; position: absolute; "> | <div style="width: 88px; height: 95px; top:257px; left:597px; z-index:2; position: absolute; "> | ||
− | {{#if:{{{ | + | {{#if:{{{Hands_Image|}}}|[[{{{Hands_Image}}}|{{{Hands_Name|Unknown}}}]]}}</div> |
</div><br clear="all"> | </div><br clear="all"> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
− | {{ | + | {{translate|→ In den Beispielen richtige Itemnamen einfügen}} |
− | Infobox for Set [[ | + | Infobox for Set [[Items]] |
== Preview example == | == Preview example == | ||
{{Infobox_SetItem | {{Infobox_SetItem | ||
− | |Set_Name= | + | |Set_Name=unknown |
− | | | + | |Level=3 |
− | | | + | |Alignment=Light |
− | | | + | |Requirement=Light Magic 3 |
− | | | + | |Set_Bonus=+5% Mana |
− | | | + | |Headgear_Name=unknown |
− | | | + | |Headgear_Image=Image:Setitem_light_2b-1.png |
− | + | ||
− | | | + | |Weapon_Name=unknown |
− | | | + | |Weapon_Values=+6% Crystal Splinters |
− | | | + | |Weapon_Image=Image:Setitem_light_2b-4.png |
− | | | + | |Shoes_Name=unknown |
− | | | + | |Shoes_Values=+6% Herb Essences |
− | | | + | |Shoes_Image=Image:Setitem_light_2b-6.png |
− | | | + | |Amulet_Name=unknown |
− | | | + | |Amulet_Image=Image:Setitem_light_2b-2.png |
− | + | ||
− | | | + | |Torso_Name=unknown |
− | | | + | |Torso_Values=+3% Mana |
− | | | + | |Torso_Image=Image:Setitem_light_2b-3.png |
}} | }} | ||
+ | |||
== Code example == | == Code example == | ||
<code><nowiki>{{Infobox_SetItem</nowiki><br> | <code><nowiki>{{Infobox_SetItem</nowiki><br> | ||
Riga 100: | Riga 99: | ||
<nowiki>|Alignment=[[Light]]</nowiki><br> | <nowiki>|Alignment=[[Light]]</nowiki><br> | ||
<nowiki>|Requirement=Light Magic Level 1</nowiki><br> | <nowiki>|Requirement=Light Magic Level 1</nowiki><br> | ||
− | <nowiki>|Set_Bonus=+5% | + | <nowiki>|Set_Bonus=+5% Mana</nowiki><br> |
<br> | <br> | ||
<nowiki>|Weapon_Name=unknown</nowiki><br> | <nowiki>|Weapon_Name=unknown</nowiki><br> | ||
Riga 145: | Riga 144: | ||
[[de:Vorlage:Infobox Setitem]] | [[de:Vorlage:Infobox Setitem]] | ||
− | + | [[Category:Template:Infobox|SetItem]]</noinclude> | |
− | [[ | + |
Versione delle 21:03, 20 apr 2010
Template:Translate Infobox for Set Items
Preview example
unknown | |
---|---|
Livello: | Sconosciuto |
Orientamento: | Sconosciuto |
Requisiti: | Sconosciuto |
Bonus per set completo:
|
Code example
{{Infobox_SetItem
|Set_Name=Example
|Level=1
|Alignment=[[Light]]
|Requirement=Light Magic Level 1
|Set_Bonus=+5% Mana
|Weapon_Name=unknown
|Weapon_Values=+6% Herb Essences
|Weapon_Image=Image:Setitem_light_2b-4.png
}}
Syntax
{{Infobox_SetItem
|Set_Name=
|Level=
|Alignment=
|Requirement=
|Set_Bonus=
|Headgear_Name=
|Headgear_Values=
|Headgear_Image=
|Amulet_Name=
|Amulet_Values=
|Amulet_Image=
|Torso_Name=
|Torso_Values=
|Torso_Image=
|Weapon_Name=
|Weapon_Values=
|Weapon_Image=
|Hands_Name=
|Hands_Values=
|Hands_Image=
|Shoes_Name=
|Shoes_Values=
|Shoes_Image=
|Ring_Name=
|Ring_Values=
|Ring_Image=
}}