Template:Infobox block: Difference between revisions

Automated hex values with new system, the new system is used by default, but is overridden with data or datadec
m missed a <!-- also, making me preview something when preview doesnt actually show if its working is a ballache and the same for viewing changes.
Line 37: Line 37:
The optional second data value in the new formatting.
The optional second data value in the new formatting.


---->{{#if:{{{data2|}}}|
---->{{#if:{{{data2|}}}|<!--
------>{{#if:{{{data2name|}}}|'''{{{data2name|}}}'''<br />| }}<!--
------>{{#if:{{{data2name|}}}|'''{{{data2name|}}}'''<br />| }}<!--
------><sub>dec:</sub> {{{data2}}} <sub>hex:</sub> {{dec-hex|{{{data2}}} }}<!--
------><sub>dec:</sub> {{{data2}}} <sub>hex:</sub> {{dec-hex|{{{data2}}} }}<!--