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

Template:MC/Infobox row/doc

Template page
Revision as of 00:27, 8 January 2025 by imported>FireX420 (Examples: fix same typo in source code example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Documentation header This is a skeleton for infobox rows, for use in Template:Tl.

Usage

{{infobox row
| label
| data
}}

Alternatively, you can use the named parameter Template:P as a substitute for Template:P, and Template:P as a substitute for Template:P.

The parameter Template:P 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|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}}}}
}}

Script error: No such module "Infobox".

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

Script error: No such module "Infobox".


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