Difference between revisions of "Template:MudletVersion"

From Mudlet
Jump to navigation Jump to search
m (Formatting update - following previous markup change and CSS additions.)
m (Layout)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="version-block"><span class="version-image">[[File:MudletIcon_256px.png|18px|Mudlet Version|link=]]</span><span class="version-label">Available Since Version:</span><span class="version-number">{{{1}}}</span></div><noinclude>
+
<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 ==
Line 9: Line 11:
 
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:   
+
Example markup:   
 
  <nowiki>{{MudletVersion|2.1.0}}</nowiki>
 
  <nowiki>{{MudletVersion|2.1.0}}</nowiki>
 +
How it looks like:
 +
{{MudletVersion|2.1.0}}
  
Example Display: 
 
  
{{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

Mudlet VersionAvailable 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:

Mudlet VersionAvailable in Mudlet2.1.0+


Incorrect usage

Incorrect example, don't do this:

{{MudletVersion|2.1.0+}}

Which would result in double plus signs:

Mudlet VersionAvailable in Mudlet2.1.0++
Language: English