Template:UserContentVersion: Difference between revisions

Add V template more decently
(Add categories)
(Add V template more decently)
Line 1: Line 1:
<!--{{MainOnly|[[Category:Outdated user content pages]]}}-->{{V|{{{1|}}}}}
<!--{{MainOnly|[[Category:Outdated user content pages]]}}-->
<!--This template is to replace the V template 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 if outdated pages. The template will compare against the {{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-eveluating-->
<!--This template is to replace the V template 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 if outdated pages. The template will compare against the {{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-eveluating-->
<includeonly>
<includeonly>
{{#if:{{{1|}}}
{{#if:{{{1}}}<!--Version template (V) is included in here for the meantime. It will eventually be removed from user content versioning.-->
|{{#ifeq:{{{1}}}
|{{V|{{{1}}}}}{{#ifeq:{{{1}}}
     |{{CurrentVersion}}
     |{{CurrentVersion}}
     |<!--Version matches, no category-->
     |<!--Version matches, no category-->
     |[[Category:Outdated user content pages]]}}
     |[[Category:Outdated user content pages]]}}
|[[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>
2,875

edits