Template:Infobox item: Difference between revisions
m oh PLEASE don't start doing this new line nonsense again. temporarily added html comment fix |
m UNDO!! |
||
Line 7: | Line 7: | ||
{{infobox row|label=Type|field={{{type|?}}}}} | {{infobox row|label=Type|field={{{type|?}}}}} | ||
{{infobox row|label=Durability|field={{{durability|None}}}}} | {{infobox row|label=Durability|field={{{durability|None}}}}} | ||
{{infobox row|label=Stackable|field={{{stackable|?}}}}} | {{infobox row|label=Stackable|field={{{stackable|?}}}}} | ||
{{#if: {{{data1|}}} | {{infobox row|label=[[Data values|Data value]]{{#if:{{{data2|}}}|s|}}|field={{{data|{{#if:{{{datadec|}}}|<!-- | |||
---->|{{#if:{{{data1name|}}}|'''{{{data1name|}}}'''<br />| }}<!-- | ---->|{{#if:{{{data1name|}}}|'''{{{data1name|}}}'''<br />| }}<!-- | ||
----><sub>dec:</sub> {{{data1|00}}} <sub>hex:</sub> {{dec-hex|{{{data1|00}}} }}<br /><!-- | ----><sub>dec:</sub> {{{data1|00}}} <sub>hex:</sub> {{dec-hex|{{{data1|00}}} }}<br /><!-- | ||
Line 16: | Line 16: | ||
------><sub>dec:</sub> {{{data2}}} <sub>hex:</sub> {{dec-hex|{{{data2}}} }}<!-- | ------><sub>dec:</sub> {{{data2}}} <sub>hex:</sub> {{dec-hex|{{{data2}}} }}<!-- | ||
---->|}}<!-- | ---->|}}<!-- | ||
-->}} }}} }} }} | -->}} }}} }} }} | ||
{{#if: {{{data|}}} | {{infobox row|label=[[Data_Values|Data value]]|field={{dv|{{{data}}} }} }} }} | |||
{{#if: {{{multipledata|}}} | {{infobox row|label=[[Data_Values|Data values]]|field={{{multipledata}}} }} }} | |||
}}<noinclude> | }}<noinclude> | ||
== Documentation == | == Documentation == |