Aurora is on version 2.5.0 C#, available at the Aurora Forums.
Contact Erik on the forum for a wiki account.
Difference between revisions of "Template:ArticleVersion"
Jump to navigation
Jump to search
m |
m |
||
Line 10: | Line 10: | ||
#vardefine:evan|{{#if:{{#var:e4}}{{#var:e3}}{{#var:e2}}{{#var:e1}}|1}}}} | #vardefine:evan|{{#if:{{#var:e4}}{{#var:e3}}{{#var:e2}}{{#var:e1}}|1}}}} | ||
{{version links | {{version links | ||
− | |theme={{#switch:{{NAMESPACE}}|{{ | + | |theme={{#switch:{{NAMESPACE}}|{{Aurora_Wiki:Current}}=green|Template|Aurora Wiki=blue|#default=orange}} |
|r1={{#if:{{#var:evan}}| | |r1={{#if:{{#var:evan}}| | ||
[[{{#ifeq:{{NAMESPACE}}|6.43|*}}6.43:{{PAGENAME}}|{{current/version}}]] | [[{{#ifeq:{{NAMESPACE}}|6.43|*}}6.43:{{PAGENAME}}|{{current/version}}]] |
Revision as of 04:10, 12 August 2014
{{
- vardefine:PAGE|ArticleVersion}}{{
- vardefine:ecur|}}{{
- vardefine:e4|{{#var:ecur}}}}{{
- vardefine:e3|}}{{
- vardefine:e2|}}{{
- vardefine:e1|}}{{
- vardefine:evan|1}}
{{#vardefine:version_links_theme|blue}}
{{#eval:{{#mreplace:{{#rreplace:6.43
|]][[|Template:)){{#delay:dot}} Template:((version links/link||[[|Template:((version links/link||]]|Template:))||*||selected=1|}}}} This article is in the template namespace. |
[edit] [ ] Template documentation
This template is to be used on all pages that are game version specific.
Usage
To use this template simply add {{ArticleVersion}} or {{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, 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.