Template:Whatsnew: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
add conditional version links |
update |
||
Line 7: | Line 7: | ||
<!-- each of these lines only displays if the page name is NOT the same as the one we show, | <!-- each of these lines only displays if the page name is NOT the same as the one we show, | ||
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. | release on top. Needs the parser function extension, which isnot yet installed | ||
{{#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]] }} | ||
{{#ifeq: {{PAGENAME}} | What's new in TDM 1.01 | | [[What's new in TDM 1.01]] }} | {{#ifeq: {{PAGENAME}} | What's new in TDM 1.01 | | * [[What's new in TDM 1.01]] }} | ||
--> | |||
* [[What's new in TDM 1.03]] | |||
* [[What's new in TDM 1.02]] | |||
* [[What's new in TDM 1.01]] | |||
* [http://thedarkmod.com/downloads.php Download TDM] | * [http://thedarkmod.com/downloads.php Download TDM] | ||
[[Category:What's New|{{{sort|{{PAGENAME}}}}}]] | [[Category:What's New|{{{sort|{{PAGENAME}}}}}]] | ||
</includeonly> | </includeonly> |
Revision as of 06:41, 11 June 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") |