Difference between revisions of "Template:Td/template"
From Maths
m (Changing 0's background) |
m (Not using math-style any more, changed 0 background to red style, trying italicised 1) |
||
Line 5: | Line 5: | ||
-->{{#ifeq:"1"|"{{{2|}}}"<!-- | -->{{#ifeq:"1"|"{{{2|}}}"<!-- | ||
-->|<!-- IF "1" BIT | -->|<!-- IF "1" BIT | ||
− | -->{{!}} style="background:#BDF9D4;text-align:center;width:0.92705098312em;" {{!}} | + | -->{{!}} style="background:#BDF9D4;text-align:center;width:0.92705098312em;" {{!}} ''1'' <!-- |
-->|<!-- ELSE (presumably zero) | -->|<!-- ELSE (presumably zero) | ||
− | -->{{!}} style="background:# | + | -->{{!}} style="background:#F8F9BD;text-align:center;width:0.92705098312em;" {{!}} 0 <!-- |
-->}}<!-- | -->}}<!-- | ||
-->|<!-- ELSE ({{{1}}} != BIT) | -->|<!-- ELSE ({{{1}}} != BIT) |
Revision as of 11:43, 14 August 2018
WTF?
Contents
Notes
- TODO: Expand to use the Template data namespace
- TODO: Expand to use any other TD-like templates that exist
- TODO: Can this be generalised to a format? This just being the format for tables?
Changelog
- See Template:Td/Changelog for changelog