v50 Steam/Premium information for editors
  • 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.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:ArticleVersion/doc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
(examples)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
===Usage===
 
===Usage===
To use this template simply add {{tl|ArticleVersion}} or {{tl|av}} to the top of an article.
+
To use this template simply add {{tl|av}} to the top of an article.
====Template Warning Text (pink text)====
+
 
* '''NR''': This indicates that the page is missing a redirect page in the main namespace.  Clicking on the link will direct you to the missing page to ease creation of appropriate redirects.
 
 
==="There's a new version! What do I do?"===
 
==="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 [[df:current|this page]] with the newest namespace. This will cause all the templates to show the proper current/outdated message.
+
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 [[df:current|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 [[Template:ArticleVersion|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 [[Template talk:ArticleVersion|talk page]].
 
The second thing to do is update the [[Template:ArticleVersion|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 [[Template talk:ArticleVersion|talk page]].
 +
 +
A list of templates that need to be updated in each major version can be found [[DF:Major version checklist|here]].
 +
 +
===Examples===
 +
{{av|DF2014:Cat}}
 +
 +
{{av|v0.34:Cat}}
 +
 +
{{av|Masterwork:Cat}}
  
 
<includeonly>[[Category:Version templates]]</includeonly>
 
<includeonly>[[Category:Version templates]]</includeonly>
 
<noinclude>[[Category:Template Documentation]]</noinclude>
 
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 22:40, 27 November 2022

This template is to be used on all pages that are game version specific.

Usage[edit]

To use this template simply add {{av}} to the top of an article.

"There's a new version! What do I do?"[edit]

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[edit]

This article is in the template namespace.
This article is in the template namespace.
This article is in the template namespace.