Difference between revisions of "Template:Datum"

From Grid Sage Wiki
Jump to navigation Jump to search
(show default value in dark green)
m (Category:Templates)
Line 21: Line 21:
 
}}
 
}}
 
</nowiki>
 
</nowiki>
 +
</noinclude>
 +
 +
<noinclude>
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 21:10, 2 December 2019

Utility template for making a line-item in a Template:Databox.

First argument is the left-hand side label. Second argument is the right-hand side value. Third argument is the default value. If the value is equal to its default, it will be shown in dark green.

Example

/Data/
Rating
6


Rating
0
X
{{Databox|content=
  {{Datum|Rating|6}}
  {{Datum|Rating|0|0}}
}}