Template:Infobox block/doc: Difference between revisions

m Typo "onlyinclue"
No edit summary
Line 11: Line 11:
<pre width="30px">
<pre width="30px">
&lt;onlyinclude&gt;{{ {{{1|Block}}}
&lt;onlyinclude&gt;{{ {{{1|Block}}}
|title=
|image=
|image=
|image2=
|image2=
Line 38: Line 39:
! Default value
! Default value
|-
|-
| <code>name</code> || Only needed to change the name from the page name || <code><nowiki>{{BASEPAGENAME}}</nowiki></code>
| <code>title</code> || Only needed to change the title from the page name || <code><nowiki>{{BASEPAGENAME}}</nowiki></code>
|-
|-
| <code>image</code> || Image of the block (should be approx. 150x150px) || [[:File:No block image.png|No block image.png]]
| <code>image</code> || Image of the block (should be approx. 150x150px) || <code><nowiki>{{BASEPAGENAME}}.png</nowiki></code> if it exists, otherwise [[:File:No block image.png|No block image.png]]
|-
|-
| <code>image2</code> || Second image for two-state blocks (also approx. 150x150px) || ''None''
| <code>image2</code> || Second image for two-state blocks (also approx. 150x150px) || ''None''
Line 46: Line 47:
| <code>image3</code> || Third image for three-state blocks (also approx. 150x150px) || ''None''
| <code>image3</code> || Third image for three-state blocks (also approx. 150x150px) || ''None''
|-
|-
| <code>invimage</code> || Image for object in inventory (should be approx. 36x36px) || ''None''
| <code>invimage</code> || Image for object in inventory. Can use '''None''' to force no invimage.  Uses styling and images from [[Template:Grid/Available images]] || <code><nowiki>Grid {{BASEPAGENAME}}.png</nowiki></code> if it exists, otherwise ''None''
|-
|-
| <code>invimage2</code> || Second image for two-state objects in inventory (should be approx. 36x36px) || ''None''
| <code>invimage2</code> || Second image for two-state objects in inventory. Uses styling and images from [[Template:Grid/Available images]] || ''None''
|-
|-
| <code>invimage3</code> || Third image for three-state objects in inventory (should be approx. 36x36px) || ''None''
| <code>invimage3</code> || Third image for three-state objects in inventory. Uses styling and images from [[Template:Grid/Available images]] || ''None''
|-
|-
| <code>invimage4</code> || Fourth image for four-state objects in inventory (should be approx. 36x36px) || ''None''
| <code>invimage4</code> || Fourth image for four-state objects in inventory. Uses styling and images from [[Template:Grid/Available images]] || ''None''
|-
|-
| <code>type</code> || Type (solid block, solid, block, or fluid) || ?
| <code>type</code> || Type (solid block, solid, block, or fluid) || ?