More actions
minecraft>Delvin4519 m link to {{infobox}} |
m 1 revision imported |
||
(No difference)
|
Latest revision as of 15:28, 17 October 2024
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 |
doc
{ "title": "doc", "rows": [ { "field": "5 (link to gold ingot article, displayed as gold ingots)", "label": "Description" }, { "field": "\n* 5 (link to iron ingot article, displayed as iron ingots)\n* 1 (link to chest article, displayed as chest)", "label": "Ingedients" }, { "field": "(values exceeds 1000 characters...)", "label": "Block entity data" }, { "field": "<span class=\"nowrap\"><span class=\"sprite-file\" style=\"\">(link to File:ItemSprite stone-pickaxe.png article, displayed as 16x16px|link=Stone Pickaxe|alt=ItemSprite stone-pickaxe.png: Sprite image for stone-pickaxe in Minecraft linking to Stone Pickaxe|class=pixel-image|)</span>(link to Stone Pickaxe article, displayed as <span class=\"sprite-text\">Stone Pickaxe</span>)</span>", "label": "Tool" } ], "invimages": [], "images": [] } | ||||||||
{{#invoke: Infobox | infobox |
doc
{ "title": "doc", "rows": [ { "field": "Fancy text", "label": "Status" } ], "invimages": [], "images": [] } |
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