Template:Infobox block: Difference between revisions
m Take 2 |
You know what, I think it'll be easier to just write data1 instead of data... I really don't understand why it refuses to work when it's called data instead of data1. :/ |
||
| Line 34: | Line 34: | ||
{{Block/row|label=Speed of fluid movement|field={{{fluidspeed|?}}}}} | {{Block/row|label=Speed of fluid movement|field={{{fluidspeed|?}}}}} | ||
{{Block/row2|label=Speed of walking through|field={{{movespeed|?}}}}}}} | {{Block/row2|label=Speed of walking through|field={{{movespeed|?}}}}}}} | ||
{{Block/row|label=Data value|field={{#if:{{{ | {{Block/row|label=Data value{{#if:{{{data2|}}}|s|}}|field={{{data|{{#if:{{{datadec|}}}|<!-- | ||
---->|{{#if:{{{ | ---->|{{#if:{{{data1name|}}}|'''{{{data1name|}}}'''<br />| }}<!-- | ||
----><sub>dec:</sub> {{{ | ----><sub>dec:</sub> {{{data1|00}}} <sub>hex:</sub> {{dec-hex|{{{data1|00}}} }}<br /><!-- | ||
The optional second data value. | The optional second data value. | ||
| Line 45: | Line 45: | ||
------><sub>dec:</sub> {{{data2}}} <sub>hex:</sub> {{dec-hex|{{{data2}}} }}<!-- | ------><sub>dec:</sub> {{{data2}}} <sub>hex:</sub> {{dec-hex|{{{data2}}} }}<!-- | ||
---->|}}<!-- | ---->|}}<!-- | ||
-->}} }} | -->}} }}} }} | ||
</table><noinclude><!--- | </table><noinclude><!--- | ||
---> | ---> | ||
| Line 65: | Line 65: | ||
| tool = | | tool = | ||
| stackable = | | stackable = | ||
| | | data1name = | ||
| | | data1 = | ||
| data2name = | | data2name = | ||
| data2 = | | data2 = | ||
| Line 103: | Line 103: | ||
| <code>stackable</code> || Stackable || ? | | <code>stackable</code> || Stackable || ? | ||
|- | |- | ||
| <code> | | <code>data1name</code> || If using multiple data values, specify a name || ''None'' | ||
|- | |- | ||
| <code> | | <code>data1</code> || Decimal Data Value 1 || 00 | ||
|- | |- | ||
| <code>data2name</code> || Data 2's name || ''None'' | | <code>data2name</code> || Data 2's name || ''None'' | ||