More actions
minecraft>MarkusRost No edit summary |
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 |
Infobox row
{ "title": "Infobox row", "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 |
Infobox row
{ "title": "Infobox row", "rows": [ { "field": "Fancy text", "label": "Status" } ], "invimages": [], "images": [] } |
cs:Šablona:Infobox row de:Vorlage:InfoboxZeile es:Plantilla:Infobox row fr:Modèle:Infobox row it:Template:Infobox row ja:テンプレート:Infobox row ko:틀:infobox row lzh:模板:Infobox row nl:Sjabloon:Infobox row pl:Szablon:Infobox row pt:Predefinição:Infobox row ru:Шаблон:Ряд карточки th:แม่แบบ:Infobox row uk:Шаблон:Картка ряд zh:Template:Infobox row