Template:Infoboxupgradetest: Difference between revisions

From He is Coming Official Wiki
mNo edit summary
mNo edit summary
Line 7: Line 7:
  | bordercolor  = {{{bordercolor|#fff}}}
  | bordercolor  = {{{bordercolor|#fff}}}
  | content =
  | content =
{| class="wikitable infobox-upgrade" style="width:324px; margin:0; background:#241319; box-sizing:border-box;"
  {| class="wikitable infobox-upgrade" style="width:324px; margin:0; background:#241319; box-sizing:border-box;"
|-
    |-
! colspan="3" style="text-align:center; padding:0; background-color:#241319;" |  
    ! colspan="3" style="text-align:center; padding:0; background-color:#241319;" |  
|-
    |-
| style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{image|}}}|108x108px]]
    | style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{image|}}}|108x108px]]
| style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{goldimage|}}}|108x108px]]
    | style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{goldimage|}}}|108x108px]]
| style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{diamondimage|}}}|108x108px]]
    | style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{diamondimage|}}}|108x108px]]
|-
    |-
! Base Stats
    ! Base Stats
| colspan="3" style="text-align:center;" | {{{basestats|}}}
    | colspan="3" style="text-align:center;" | {{{basestats|}}}
|-
    |-
! Effect
    ! Effect
| colspan="3" style="text-align:center;" | {{{effect|}}}
    | colspan="3" style="text-align:center;" | {{{effect|}}}
|-
    |-
! Tags
    ! Tags
| colspan="3" style="text-align:center;" | {{{tags|}}}
    | colspan="3" style="text-align:center;" | {{{tags|}}}
|-
    |-
! Rarity
    ! Rarity
| colspan="3" style="text-align:center;" | {{{rarity|}}}
    | colspan="3" style="text-align:center;" | {{{rarity|}}}
|-
    |-
! Found in
    ! Found in
| colspan="3" style="text-align:center;" | {{{foundin|}}}
    | colspan="3" style="text-align:center;" | {{{foundin|}}}
|-
    |-
! Region
    ! Region
| colspan="3" style="text-align:center;" | {{{region|}}}
    | colspan="3" style="text-align:center;" | {{{region|}}}
|-
    |-
! Itemsets
    ! Itemsets
| colspan="3" style="text-align:center;" | {{{itemsets|}}}
    | colspan="3" style="text-align:center;" | {{{itemsets|}}}
|}
  |}
}}
}}
</includeonly>
</includeonly>
<noinclude>
Upgrade infobox with flexible border/corner images.
* Most parameters are passed through to the InfoboxFrame (see its doc).
* Example:
{{Infobox upgrade
| image = Frostbite Trap 16x.png
| goldimage = Frostbite Trap Gold 16x.png
| diamondimage = Frostbite Trap Diamond 16x.png
| basestats = -
| effect = [[Wounded]]: Give the enemy 3 / 6 / 12 [[Freeze]] [[File:Icon freeze.png]]
| tags = [[ItemTags/Freeze|Freeze]] [[File:Icon freeze.png]]
| rarity = Common [[File:Rarity common.png]]
| foundin = [[DropSources/Treasure Chests|Treasure Chests]] [[File:Chest.png]]
| region = [[Woodland_items|Woodland]] [[File:Banner Bundle 3.png]]
| itemsets = –
| topleft = [[File:Border neutral corner topleft 4xv2.png|24x24px|class=infobox-corner-topleft]]
| topright = [[File:Rarity Common 16x.png|24x24px|class=infobox-corner-topright]]
| bottomleft = [[File:Border neutral corner bottomleft 4xv2.png|24x24px|class=infobox-corner-bottomleft]]
| bottomright = [[File:Border neutral corner bottomright 4xv2.png|24x24px|class=infobox-corner-bottomright]]
| bordercolor = #fff
}}
</noinclude>

Revision as of 15:55, 3 August 2025


Upgrade infobox with flexible border/corner images.

  • Most parameters are passed through to the InfoboxFrame (see its doc).
  • Example:
Base Stats -
Effect Wounded: Give the enemy 3 / 6 / 12 Freeze
Tags Freeze
Rarity Common
Found in Treasure Chests
Region Woodland
Itemsets –