Template:Version: Difference between revisions
From Against the Storm Official Wiki
m (updated with example) |
m (more example text) |
||
Line 7: | Line 7: | ||
Place this template at the top of every page. | Place this template at the top of every page. | ||
Example | == Example == | ||
{{Version|0.39.2}} | {{Version|0.39.2}} | ||
Then when the page text follows the call to the template, the version message box will appear nicely above the text. | |||
</noinclude> | </noinclude> |
Revision as of 02:42, 17 February 2023
{{#invoke:VersionMessageBox|checkVersion|updated={{{1|{{{updated|}}} }}}|currentVersion={{CurrentVersion}} }}
This template references {{CurrentVersion}}
, which is currently 1.4.17.
Place this template at the top of every page.
Example
Script error: The function "checkVersion" does not exist.
Then when the page text follows the call to the template, the version message box will appear nicely above the text.