Template:Object infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (i have no idea if this will work) |
||
Line 4: | Line 4: | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image}}}]] | {{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image}}}]] | ||
}} | |||
|- | |||
{{#if: {{{gallery|}}} | | |||
{{!}}- | |||
{{!}} colspan=2 style="text-align:center;" {{!}} <gallery>{{{gallery}}}</gallery> | |||
}} | }} | ||
|- | |- | ||
Line 95: | Line 100: | ||
}}</pre></div> | }}</pre></div> | ||
*image – an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax. | *image – an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax. | ||
*gallery – the contents of a <code><gallery></code> tag | |||
*title – default pagename, just in case can be changed | *title – default pagename, just in case can be changed | ||
*hitbox_type – Set to N/A for no collision, surface for objects with surfaces, or cylinder for cylindrical hitboxes. | *hitbox_type – Set to N/A for no collision, surface for objects with surfaces, or cylinder for cylindrical hitboxes. |