Template:Infobox row/doc

From Tensura Wiki
Revision as of 10:55, 25 September 2026 by imported>Merge (merge.py)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{infobox row
| label
| data
}}

Alternatively, you can use the named parameter |label= as a substitute for |1=, and |field= as a substitute for |2=.

The parameter |class= can be added to add a class to the contents of the row.

Examples

Wikitext source code Visual result

{{#invoke: Infobox2 | infobox
|rows =
{{infobox row|Description|5 [[gold ingot]]s}}
{{infobox row|Ingredients|
* 5 [[iron ingot]]s
* 1 [[chest]]
}}
{{infobox row|Block entity data|
<div class{{=}}"treeview">
* {{nbt|compound}} Block entity data
** {{nbt|list|Items}}: List of items in this container.
*** {{nbt|compound}}: An item, including the slot tag.
** {{nbt|int|TransferCooldown}}: Time until the next transfer in [[game tick]]s, naturally between 1 and 8 or 0 if there is no transfer.
</div>
}}
{{infobox row|Tool|{{ItemLink|Stone Pickaxe}}}}
}}

doc
Description

5 gold ingots

Ingredients
Block entity data
Tool

Invicon Stone Pickaxe.png: Sprite image for Stone Pickaxe in Minecraft linking to Stone Pickaxe Stone Pickaxe

{{#invoke: Infobox2 | infobox
|rows={{infobox row|Status|Fancy text |class=mcwiki-header mcwiki-header-grass}}
}}

doc
Status

Fancy text