Template:UserContentVersion: Difference between revisions
From Melvor Idle
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<!--Version template (V) is included in here for the meantime. It will eventually be removed from user content versioning.--> | |||
<includeonly> | <includeonly> | ||
{{#if:{{{1|}}} | {{#if:{{{1|}}} | ||
| | |{{#ifeq:{{{1}}} | ||
|{{CurrentVersion}} | |{{CurrentVersion}} | ||
|<!--Version matches, no category--> | |<!--Version matches, no category--> | ||
|[[Category:Outdated user content pages]]}} | |{{Messagebox|img=[[File:Rock Carving (item).png|35x35px|center|link=]] | ||
|This page is possibly not up to date. It was last updated for {{{1}}} | |||
|You can help with bringing this page up to date by [[Special:EditPage/{{FULLPAGENAME}}|contributing]]. | |||
}}[[Category:Outdated user content pages]]}} | |||
{{V|{{{1}}}}}<!-- Place V template after category/this template--> | |||
|{{V}}[[Category:Pages without a version]]}} | |{{V}}[[Category:Pages without a version]]}} | ||
</includeonly><noinclude>{{/doc}}[[Category:Maintenance Templates]]</noinclude> | </includeonly><noinclude>{{/doc}}[[Category:Maintenance Templates]]</noinclude> |
Revision as of 13:56, 16 June 2024
This template is to replace Template:V ONLY for user created content pages (such as guides). The version parameter is no longer going to be optional for this template, as to force someone having to manually evaluate the page, in order to remove the page from the list of outdated pages. The template will compare against the Template:CurrentVersion template to determine if the page is outdated or not. In case the page is outdated, a banner will be shown indicated that the page is in need of re-evaluating.
If a page is outdated, Category:Outdated user content pages is added to the page. In case a version is omitted, Category:Pages without a version is added to the page instead.