Difference between revisions of "Template:MudletVersion"
Jump to navigation
Jump to search
(Add a 'next version' template/macro to wiki - as per issue #4151) |
m (Layout) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <div class="block | + | <div class="version-block"><span class="version-image">[[File:MudletIcon_256px.png|18px|Mudlet Version|link=]]</span><span class="version-label">Available in Mudlet</span><span class="version-number">{{{1}}}</span><span class="version-label-plus">+</span></div><noinclude> |
− | This template creates a consistent method for listing version information about functions and other Mudlet features. | + | |
+ | |||
+ | This template creates a consistent method for listing version information about functions and other Mudlet features. | ||
+ | |||
+ | CSS for this template can be found in [[MediaWiki:Common.css]] | ||
== Usage == | == Usage == | ||
Specify a Mudlet release version (or other version strings) as the argument to this template. | Specify a Mudlet release version (or other version strings) as the argument to this template. | ||
− | |||
+ | Example markup: | ||
<nowiki>{{MudletVersion|2.1.0}}</nowiki> | <nowiki>{{MudletVersion|2.1.0}}</nowiki> | ||
− | + | How it looks like: | |
+ | {{MudletVersion|2.1.0}} | ||
+ | |||
− | + | == Incorrect usage == | |
+ | Incorrect example, don't do this: | ||
+ | <nowiki>{{MudletVersion|2.1.0+}}</nowiki> | ||
+ | Which would result in double plus signs: | ||
+ | {{MudletVersion|2.1.0+}} | ||
{{Languages|Template:MudletVersion}} | {{Languages|Template:MudletVersion}} |
Latest revision as of 10:53, 5 January 2021
Available in Mudlet{{{1}}}+
This template creates a consistent method for listing version information about functions and other Mudlet features.
CSS for this template can be found in MediaWiki:Common.css
Usage
Specify a Mudlet release version (or other version strings) as the argument to this template.
Example markup:
{{MudletVersion|2.1.0}}
How it looks like:
Available in Mudlet2.1.0+
Incorrect usage
Incorrect example, don't do this:
{{MudletVersion|2.1.0+}}
Which would result in double plus signs:
Available in Mudlet2.1.0++
Language: | English |
---|