Template:Infobox upgrade: Difference between revisions

From He is Coming Official Wiki
mNo edit summary
mNo edit summary
Tag: Reverted
Line 1: Line 1:
{| class="wikitable infobox-upgrade" style="float:right; clear:right; margin:0 0 1em 1em; width:324px;"
<includeonly>
|-
{{InfoboxFrame
! colspan="3" style="text-align:center; padding:0; background-color:#241319;" |  
| topleft      = {{{topleft|}}}
|-
| topright    = {{{topright|}}}
| style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{image|}}}|108x108px]]
| bottomleft  = {{{bottomleft|}}}
| style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{goldimage|}}}|108x108px]]
| bottomright  = {{{bottomright|}}}
| style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{diamondimage|}}}|108x108px]]
| bordercolor  = {{{bordercolor|#fff}}}
|-
| content =
! Base Stats
  {| class="wikitable infobox-upgrade" style="width:324px; margin:0; background:#241319; box-sizing:border-box;"
| colspan="3" style="text-align:center;" | {{{basestats|}}} <!-- e.g. 2 / 4 / 8 -->
    |-
|-
    ! colspan="3" style="text-align:center; padding:0; background-color:#241319;" |  
! Effect
    |-
| colspan="3" style="text-align:center;" | {{{effect|}}} <!-- e.g. Bleed / Bleed+ / Bleed++ -->
    | style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{image|}}}|108x108px]]
|-
    | style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{goldimage|}}}|108x108px]]
! Tags
    | style="padding:0; background-color:#241319; text-align:center;" | [[File:{{{diamondimage|}}}|108x108px]]
| colspan="3" style="text-align:center;" | {{{tags|}}}
    |-
|-
    ! Base Stats
! Rarity
    | colspan="3" style="text-align:center;" | {{{basestats|}}}
| colspan="3" style="text-align:center;" | {{{rarity|}}}
    |-
|-
    ! Effect
! Found in
    | colspan="3" style="text-align:center;" | {{{effect|}}}
| colspan="3" style="text-align:center;" | {{{foundin|}}}
    |-
|-
    ! Tags
! Region
    | colspan="3" style="text-align:center;" | {{{tags|}}}
| colspan="3" style="text-align:center;" | {{{region|}}}
    |-
|-
    ! Rarity
! Itemsets
    | colspan="3" style="text-align:center;" | {{{rarity|}}}
| colspan="3" style="text-align:center;" | {{{itemsets|}}}
    |-
|}
    ! Found in
    | colspan="3" style="text-align:center;" | {{{foundin|}}}
    |-
    ! Region
    | colspan="3" style="text-align:center;" | {{{region|}}}
    |-
    ! Itemsets
    | colspan="3" style="text-align:center;" | {{{itemsets|}}}
  |}
}}
</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:24, 3 August 2025


Upgrade infobox with flexible border/corner images.

  • Most parameters are passed through to the InfoboxFrame (see its doc).
  • Example:


{