12345678910111213141516171819202122232425 |
- <includeonly>[[Template:#switch: {{{1|]]}
- | = ''unknown''
- | 0.1 = style="background: #e0ffe0; color: #006000;" [[Template:!]] [[Template:#if: {{{2|]]} | [[Template:{2]]} | stable}}
- | 0.3 = style="background: #ffffd0; color: #303000;" [[Template:!]] [[Template:#if: {{{2|]]} | [[Template:{2]]} | unstable}}
- | 0.4 = style="background: #ffe0e0; color: #600000;" [[Template:!]] [[Template:#if: {{{2|]]} | [[Template:{2]]} | development}}
- | Milestone 2 = style="background: #ffffd0; color: #303000;" [[Template:!]] [[Template:#if: {{{2|]]} | [[Template:{2]]} | in development}}
- | Milestone 3 = style="background: #ffe0e0; color: #600000;" [[Template:!]] [[Template:#if: {{{2|]]} | [[Template:{2]]} | future}}
- | [[Template:#if: {{{2|]]} | [[Template:{2]]} | unknown}} [[Category:Version unknown]]
- }}</includeonly><noinclude>The '''Version to status cell''' template adds a tinted table cell to a table, based on the version specified as the only argument.
- == Example usage ==
- This template must be used inside tables as follows:
- <nowiki>{|</nowiki>
- ! Key
- ! Value
- |-
- | Status
- <nowiki>| [[Template:Version to status cell|0.3]]</nowiki>
- <nowiki>|}</nowiki>
- [[Category:Templates]]
- </noinclude>
|