Template:Whatsnew: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Tels (talk | contribs)
update
Tels (talk | contribs)
m add v1.04
Line 8: Line 8:
     so we suppress v1.02 on the v1.02 changelog page automatically. Add more lines for each
     so we suppress v1.02 on the v1.02 changelog page automatically. Add more lines for each
     release on top. Needs the parser function extension, which isnot yet installed
     release on top. Needs the parser function extension, which isnot yet installed
{{#ifeq: {{PAGENAME}} | What's new in TDM 1.04 | | * [[What's new in TDM 1.04]] }}
{{#ifeq: {{PAGENAME}} | What's new in TDM 1.03 | | * [[What's new in TDM 1.03]] }}  
{{#ifeq: {{PAGENAME}} | What's new in TDM 1.03 | | * [[What's new in TDM 1.03]] }}  
{{#ifeq: {{PAGENAME}} | What's new in TDM 1.02 | | * [[What's new in TDM 1.02]] }}  
{{#ifeq: {{PAGENAME}} | What's new in TDM 1.02 | | * [[What's new in TDM 1.02]] }}  
Line 13: Line 14:
-->
-->


* [[What's new in TDM 1.04]]
* [[What's new in TDM 1.03]]
* [[What's new in TDM 1.03]]
* [[What's new in TDM 1.02]]
* [[What's new in TDM 1.02]]

Revision as of 07:59, 3 December 2010

This template displays a "See also" section with links to other changelogs. Also:

This template sorts the including article into the right Whatsnew category.

Usage

Include this template at the bottom of editing-related articles like so:

{{editing}}

Parameters

The sort parameter for this template influences the place where the article will be sorted in the category:

Example Description
{{editing}} default sorting order based on article name
{{editing|sort=Doors}} an article named "Creating a Door" goes under "D" (specifically "Doors")