Difference between revisions of "Template:Td/template"

From Maths
Jump to: navigation, search
m
m (Using math-style 1 and 0, removing the mediawiki bold annotation)
Line 5: Line 5:
 
         -->{{#ifeq:"1"|"{{{2|}}}"<!--
 
         -->{{#ifeq:"1"|"{{{2|}}}"<!--
 
           -->|<!-- IF "1" BIT
 
           -->|<!-- IF "1" BIT
               -->{{!}} style="background:#BDF9D4;text-align:center;" {{!}}'''1'''<!--
+
               -->{{!}} style="background:#BDF9D4;text-align:center;" {{!}} {{m|1}} <!--
 
           -->|<!-- ELSE (presumably zero)
 
           -->|<!-- ELSE (presumably zero)
               -->{{!}} style="background:#E0A6A7;text-align:center;" {{!}}'''0'''<!--
+
               -->{{!}} style="background:#E0A6A7;text-align:center;" {{!}} {{m|0}} <!--
 
         -->}}<!--
 
         -->}}<!--
 
     -->|<!-- ELSE ({{{1}}} != BIT)  
 
     -->|<!-- ELSE ({{{1}}} != BIT)  

Revision as of 11:24, 14 August 2018

WTF?

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

Changelog transclusion

Template:Td/Changelog