Difference between revisions of "Template:Block"

From Project Eden
Jump to navigation Jump to search
m (Wakka moved page Template:Block Template to Template:Block)
Line 1: Line 1:
<onlyinclude>{{ {{{1|Block}}}
<infobox>
|title=       ''Name of the block, takes the page name if not set.''
  <title source="title1"/>
|image=       ''Image of the block.''
  <image source="image1">
|image2=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
    <caption source="caption1"/>
|image3=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
  </image>
|invimage=       ''Image of the block in your inventory''
  <image source="image2">
|invimage2=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
    <caption source="caption2"/>
|invimage3=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
  </image>
|invimage4=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
  <data source="tool">
|invimage5=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
    <label>Tool</label>
|invimage6=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
  </data>
|invimage7=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
  <data source="found_in">
|invimage8=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
    <label>Found In</label>
|invimage9=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
  </data>
|invimage10=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
  <data source="craftable">
|invimage11=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
    <label>Craftable</label>
|invimage12=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
  </data>
|invimage13=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
  <data source="renewable">
|invimage14=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
    <label>Renewable </label>
|invimage15=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
  </data>
|invimage16=       ''Optional, some blocks have more then one state, (on and off, green or yellow)''
  <data source="stackable">
|type=         ''Solid or fluid etc.''
    <label>Stackable</label>
|gravity=       ''Affected Yes/No''
  </data>
|dirt=         ''Requires sunlight/dirt? When not set, it is set to: None''
  <data source="blast_resistence">
|transparent=       ''Yes/No''
    <label>Blast Resistance </label>
|light=         ''Emits light? Yes/No, if yes add light level like this: Yes, 9''
  </data>
|tntres=       ''Resistance against tnt, value from MC coding''
  <data source="hardness">
|tool=         ''Name of the tool to use'' ?Format?
    <label>Hardness</label>
|stackable=       ''Yes/No''
  </data>
|data=         ''Single decimal data value''
  <data source="rotatable">
|fluidspeed=       ''Speed of fluid movement. only if it is fluid''
    <label>Rotatable</label>
|movespeed=       ''How fast a player can walk trough it, only if possible.
  </data>
|firstver=      ''First version it was added''
  <data source="luminant">
|notes=       ''stuff you want to say''
    <label>Luminant </label>
}}</onlyinclude>,
  </data>
  <data source="transparent">
    <label>Transparent </label>
  </data>
  <data source="flamable">
    <label>Flammable </label>
  </data>
  <data source="catches_fire_from_lava">
    <label>Lava Resistance</label>
  </data>
  <data source="fluids_break">
    <label>Fluids Break</label>
  </data>
</infobox>
<noinclude>
Example usage:
<pre>
{{Block Template
 
  | title1=Example
 
  | image1=Example
 
  | caption1=Example
 
  | image2=Example
 
  | caption2=Example
 
  | renewable=Example
 
  | stackable=Example
 
  | tool=Example
 
  | blast_resistence=Example
 
  | hardness=Example
 
  | rotatable=Example
 
  | luminant=Example
 
  | transparent=Example
 
  | flamable=Example
 
  | catches_fire_from_lava=Example
 
  | fluids_break=Example
}}
</pre>
</noinclude>

Revision as of 17:17, 9 May 2022

<infobox>

 <title source="title1"/>
 <image source="image1">

</image> <image source="image2"> </image> <label>Tool</label> <label>Found In</label> <label>Craftable</label> <label>Renewable </label> <label>Stackable</label> <label>Blast Resistance </label> <label>Hardness</label> <label>Rotatable</label> <label>Luminant </label> <label>Transparent </label> <label>Flammable </label> <label>Lava Resistance</label> <label>Fluids Break</label> </infobox> Example usage:

{{Block Template

  | title1=Example

  | image1=Example

  | caption1=Example

  | image2=Example

  | caption2=Example

  | renewable=Example

  | stackable=Example

  | tool=Example

  | blast_resistence=Example

  | hardness=Example

  | rotatable=Example

  | luminant=Example

  | transparent=Example

  | flamable=Example

  | catches_fire_from_lava=Example

  | fluids_break=Example
}}