- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
Difference between revisions of "Template:ArticleVersion"
(shorten older version numbers in different namespaces) |
(fix ns-name) |
||
Line 18: | Line 18: | ||
|theme={{#switch:{{NAMESPACE}}|{{DF:Current}}=green|Template|Dwarf Fortress Wiki=blue|Masterwork=purple|#default=orange}} | |theme={{#switch:{{NAMESPACE}}|{{DF:Current}}=green|Template|Dwarf Fortress Wiki=blue|Masterwork=purple|#default=orange}} | ||
|r1={{#if:{{#var:evan}}| | |r1={{#if:{{#var:evan}}| | ||
− | [[{{#ifeq:{{#var:NSID}}|5|*}}{{ns-name|5}}:{{PAGENAME}}|v{{current/version}}]] | + | [[{{#ifeq:{{#var:NSID}}|5|*}}{{ns-name|id=5}}:{{PAGENAME}}|v{{current/version}}]] |
− | [[{{#ifeq:{{#var:NSID}}|4|*}}{{ns-name|4}}:{{PAGENAME}}|v0.34.11]] | + | [[{{#ifeq:{{#var:NSID}}|4|*}}{{ns-name|id=4}}:{{PAGENAME}}|v0.34.11]] |
− | [[{{#ifeq:{{#var:NSID}}|3|*}}{{ns-name|3}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|3|0.31.25|0.31}}]] | + | [[{{#ifeq:{{#var:NSID}}|3|*}}{{ns-name|id=3}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|3|0.31.25|0.31}}]] |
− | [[{{#ifeq:{{#var:NSID}}|2|*}}{{ns-name|2}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|2|0.28.181.40d|0.28}}]] | + | [[{{#ifeq:{{#var:NSID}}|2|*}}{{ns-name|id=2}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|2|0.28.181.40d|0.28}}]] |
− | [[{{#ifeq:{{#var:NSID}}|1|*}}{{ns-name|1}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|1|0.23.130.23a|0.23}}]] | + | [[{{#ifeq:{{#var:NSID}}|1|*}}{{ns-name|id=1}}:{{PAGENAME}}|v{{#ifeq:{{#var:NSID}}|1|0.23.130.23a|0.23}}]] |
}} | }} | ||
<!--|r2={{#if:{{#var:emod}}| | <!--|r2={{#if:{{#var:emod}}| |
Revision as of 04:08, 28 November 2015
This article is in the template namespace. |
(view - edit - history - purge) Documentation
This template is to be used on all pages that are game version specific.
Usage
To use this template simply add {{av}} to the top of an article.
"There's a new version! What do I do?"
If the version is major enough to warrant a new namespace (this will have been determined by the community), then the most important thing to do is update this page with the newest namespace. This will cause all the templates to show the proper current/outdated message.
The second thing to do is update the ArticleVersion template. This template is widely used and quite complicated; please do not attempt to modify it unless you are very familiar with wiki template code. Instead, please post an update request on its talk page.
A list of templates that need to be updated in each major version can be found here.
Examples
This article is in the template namespace. |
This article is in the template namespace. |
This article is in the template namespace. |