Template:Object infobox: Difference between revisions

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

Navigation menu