Difference between revisions of "Template:Lua Version"

From Mario Fan Games Galaxy Wiki
(see if this works)
 
m
Line 1: Line 1:
5{{{nomajor|.1{{{nominor|.4}}}}}}
+
5{{{nomajor|.1{{{nominor|.4}}}}}}<noinclude>
<noinclude>[[Category:Lua]]</noinclude>
+
 
 +
== Usage ==
 +
Note that the trailing equals after ''nomajor'' and ''nominor'' are required because i have no idea how to do conditional flags and the like with this markup
 +
<nowiki>
 +
{{Current Lua Version}}: show full version number in x.y.z format
 +
{{Current Lua Version|nominor=}}: show just x.y
 +
{{Current Lua Version|nomajor=}}: show just x</nowiki>
 +
 
 +
[[Category:Lua]]</noinclude>

Revision as of 16:20, 26 September 2009

5.1.4

Usage

Note that the trailing equals after nomajor and nominor are required because i have no idea how to do conditional flags and the like with this markup

{{Current Lua Version}}: show full version number in x.y.z format
{{Current Lua Version|nominor=}}: show just x.y
{{Current Lua Version|nomajor=}}: show just x