Template:Version/doc

From MC Public Wiki
< Template:Version
Revision as of 17:01, 14 October 2011 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}

Template-info.png Documentation

Because this template is used on the main page, it must be modified by an Administrator or Bureaucrat. If you have noticed that the version has changed but this template hasn't been updated, it is best to leave a note on an Administrator talk page.

To update the version number, modify the vardefines at the top of the template.

Current version

Current Classic version: 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:beta|1.8.1}}{{#vardefine:beta-server|1.8.1}}{{#vardefine:pocket|0.1}}{{#vardefine:pre|1.9pre4}}{{#vardefine:pre-server|1.9pre4}}{{#var:classic}}
Current Classic server version: 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:beta|1.8.1}}{{#vardefine:beta-server|1.8.1}}{{#vardefine:pocket|0.1}}{{#vardefine:pre|1.9pre4}}{{#vardefine:pre-server|1.9pre4}}{{#var:classic-server}}
Current Beta version: 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:beta|1.8.1}}{{#vardefine:beta-server|1.8.1}}{{#vardefine:pocket|0.1}}{{#vardefine:pre|1.9pre4}}{{#vardefine:pre-server|1.9pre4}}{{#var:beta}}
Current Beta server version: 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:beta|1.8.1}}{{#vardefine:beta-server|1.8.1}}{{#vardefine:pocket|0.1}}{{#vardefine:pre|1.9pre4}}{{#vardefine:pre-server|1.9pre4}}{{#var:beta-server}}
Current Pocket version: 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:beta|1.8.1}}{{#vardefine:beta-server|1.8.1}}{{#vardefine:pocket|0.1}}{{#vardefine:pre|1.9pre4}}{{#vardefine:pre-server|1.9pre4}}{{#var:pocket}}
Current Pre-release version: 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:beta|1.8.1}}{{#vardefine:beta-server|1.8.1}}{{#vardefine:pocket|0.1}}{{#vardefine:pre|1.9pre4}}{{#vardefine:pre-server|1.9pre4}}{{#var:pre}}
Current Pre-release server version: 0.30}}{{#vardefine:classic-server|1.1.2}}{{#vardefine:beta|1.8.1}}{{#vardefine:beta-server|1.8.1}}{{#vardefine:pocket|0.1}}{{#vardefine:pre|1.9pre4}}{{#vardefine:pre-server|1.9pre4}}{{#var:pre-server}}

Usage

  • To output the current Classic version, simply put {{v|c=1}}
  • To output the current Classic server version, simply put {{v|c=1|s=1}}
  • To output the current Beta version, simply put {{v|b=1}}
  • To output the current Beta server version, simply put {{v|b=1|s=1}}
  • To output the current Pocket version, simply put {{v|p=1}}
  • To output the current Pre-release version, simply put {{v|pre=1}}
  • To output the current Pre-release server version, simply put {{v|pre=1|s=1}}

Usage in tables

When used in a table, the template will compare the version you specify with the latest version, and mark the cell green if it is the latest version, and red if it isn't.

To make the template use table mode, simply put |t=1 plus the version you want.

For example, {{v|b=1|t=1|B1.3_01}}

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

fr:Modèle:Version/doc pl:Szablon:Wersja/doc