Template:New items: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Test fix #3)
(added 4th argument which is revision like in Template:New_feature/item (added after description arg so it shouldn't break compatibility))
Line 1: Line 1:
<includeonly>{{#ifexpr:({{{1|}}})>{{Current Version}}|<div style='font-weight: bold;background:black;color:white;padding:2px; padding-left:8px;'>FROM VERSION {{{2}}} ONWARDS</div><div style='border: 2px solid black;padding: 3px;'>{{{3}}} </div>| {{{3}}}}}</includeonly><noinclude>Use this template for functions/events lists. In function and event pages use <nowiki>{{New feature/item}}</nowiki>. This will prevent wrong pages appear in changelog category.
<includeonly>{{#ifexpr:({{{1|}}})>{{Current Version}}|<div style='font-weight: bold;background:black;color:white;padding:2px; padding-left:8px;'>FROM VERSION {{{2}}} {{#if:{{{4}}}|{{r|{{{4}}}}}|}} ONWARDS</div><div style='border: 2px solid black;padding: 3px;'>{{{3}}} </div>| {{{3}}}}}</includeonly><noinclude>Use this template for functions/events lists. In function and event pages use <nowiki>{{New feature/item}}</nowiki>. This will prevent wrong pages appear in changelog category.
[[Category:Utility templates]]</noinclude>
[[Category:Utility templates]]</noinclude>

Revision as of 14:49, 10 July 2015

Use this template for functions/events lists. In function and event pages use {{New feature/item}}. This will prevent wrong pages appear in changelog category.