Template:Software version/doc

From Linux Web Expert

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Software version/doc

<templatedata> { "params": { "version2": { "label": { "en": "Version 2", "pl": "Wersja 2", "tr": "Sürüm 2" }, "description": { "en": "To display a range of versions (e.g. 1.20 - 1.25), enter the first version in the “version” parameter and the second version in the “version2” parameter." }, "type": "string" }, "version": { "label": { "en": "Version", "pl": "Wersja", "ja": "バージョン", "tr": "Sürüm" }, "description": { "en": "The version number to display." }, "type": "string", "required": true }, "comment": { "label": { "en": "Comment", "pl": "Komentarz", "tr": "Yorum" }, "description": { "en": "If set to “and before” or “and after”, places a less-than-or-equal (≤) or greater-than-or-equal (≥) sign before the version number; otherwise adds the comment to the right of the version number box." }, "type": "string", "suggested": true }, "compact": { "label": { "en": "Compact", "pl": "Kompaktowo", "tr": "Kavram" }, "description": { "en": "If set, hides the software name." }, "type": "boolean" }, "software": { "label": "Software", "description": "The name of the software.", "example": "PHP", "type": "string", "required": true }, "version-status": { "label": "Version status", "description": "The status of the first version.", "type": "string", "suggestedvalues": [ "unsupported", "legacy", "stable", "future", "unknown" ], "default": "unknown", "suggested": true }, "version2-status": { "label": "Version 2 status", "description": "The status of the second version.", "type": "string", "suggestedvalues": [ "unsupported", "legacy", "stable", "future", "unknown" ], "default": "unknown" } }, "description": { "en": "This template shows the valid versions for the specified software for the paragraph. It appears on the right side of the window in a bordered text field." }, "paramOrder": [ "software", "version", "version2", "version-status", "version2-status", "comment", "compact" ] } </templatedata>