Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox row/doc

Template page
Revision as of 15:20, 25 July 2024 by minecraft>Delvin4519 (link to {{infobox}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page. It should be transcluded into Template:Infobox row. See Template:Documentation for more information.

This is a skeleton for infobox rows, for use in {{infobox}}.

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: Infobox | infobox
|rows =
{{infobox row|Description|5 [[gold ingot]]s}}
{{infobox row|Ingedients|
* 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

Ingedients
Block entity data
  • Block entity data
    •  Items: List of items in this container.
      • : An item, including the slot tag.
    •  TransferCooldown: Time until the next transfer in game ticks, naturally between 1 and 8 or 0 if there is no transfer.
Tool

ItemSprite stone-pickaxe.png: Sprite image for stone-pickaxe in Minecraft linking to Stone PickaxeStone Pickaxe

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

doc
Status

Fancy text


cs:Šablona:Infobox row/doc de:Vorlage:InfoboxZeile/Dokumentation es:Plantilla:Infobox row/doc fr:Modèle:Infobox row/doc it:Template:Infobox row/doc ja:テンプレート:Infobox row/doc ko:틀:infobox row/doc lzh:模板:Infobox row/doc nl:Sjabloon:Infobox row/doc pl:Szablon:Infobox row/opis pt:Predefinição:Infobox row/doc ru:Шаблон:Ряд карточки/док th:แม่แบบ:Infobox row/doc uk:Шаблон:Картка ряд/док zh:Template:Infobox row/doc