Template:Addon Version: Difference between revisions

From TerraFirmaCraft Plus Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
}}</includeonly>
}}</includeonly>
<noinclude>
<noinclude>
{{Addon Version/doc}}
{{/doc}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 23:06, 10 August 2021


This template makes a table row which background is set according to whether the version is equal to the current version (which is set in Template:Version).

Parameter Meaning
1 A version number (e.g. 0.85.2). Defaults to "?"
2 "incompatible" if this addon is incompatible with the current version.

Example

Code Result
{{Addon Version|{{Version}}}} 0.89.1
{{Addon Version|0.85.2}} 0.85.2
{{Addon Version|0.83.0|incompatible}} 0.83.0