Template:Infobox item/auto/doc: Difference between revisionsGive feedback
Created page with "== Usage == This template automatically generates an item infobox with default and enhanced versions with Template:Infobox item using Module:Infobox item. It automatically categorizes the pages it is transcluded onto in Category:Items. == Examples == {| class="wikitable" ! Code !! Output |- | <pre>{{Infobox item/auto|Close Quarters}}</pre> | {{Infobox item/auto|Close Quarters}} |- | <pre>{{Infobox item/auto|Mystical Piano| sound1 = Mystical piano cast 01.mp..." |
created templatedata |
||
| Line 12: | Line 12: | ||
| {{Infobox item/auto|Mystical Piano| sound1 = Mystical piano cast 01.mp3 | sound2 = Mystical piano aoe warning.mp3 | sound3 = Mystical piano impact.mp3}} | | {{Infobox item/auto|Mystical Piano| sound1 = Mystical piano cast 01.mp3 | sound2 = Mystical piano aoe warning.mp3 | sound3 = Mystical piano impact.mp3}} | ||
|} | |} | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"description": "Item name", | |||
"example": "Close Quarters", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"sound1": { | |||
"description": "Sound 1", | |||
"example": "Mystical piano impact.mp3", | |||
"type": "wiki-file-name" | |||
}, | |||
"sound2": { | |||
"description": "Sound 2", | |||
"type": "wiki-file-name" | |||
}, | |||
"sound3": { | |||
"description": "Sound 3", | |||
"type": "wiki-file-name" | |||
} | |||
} | |||
} | |||
</templatedata> | |||