Difference between revisions of "Template:New items"

From Multi Theft Auto: Wiki
m (white beta)
(Add parameters description)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr:({{{1|}}})>{{Current Version}}|<div style='font-weight: bold;background:black;color:white;padding:2px; padding-left:8px;'><span style="color: #FFFFFF;">[[Beta Features|BETA]]</span>: 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.
+
<includeonly>{{#ifexpr:({{{1|}}})>{{Current Version}}|<div style='font-weight: bold;background:black;color:white;padding:2px; padding-left:8px;'>[[Beta Features|<span style="color: #FFFFFF; text-decoration:underline">BETA</span>]]: FROM VERSION {{{2}}} {{#if:{{{4|}}}|{{r|{{{4}}}}}|}} ONWARDS</div><div style='border: 2px solid black;padding: 3px;'>{{{3}}} </div>| {{{3}}}}}</includeonly>
[[Category:Utility templates]]</noinclude>
+
<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.
 +
=== Parameters ===
 +
# Version float (value is compared with <code>&gt;</code> to <code><nowiki>{{Current Version}}</nowiki> = {{Current Version}}</code>)
 +
# Version text (only visual, example: <code>{{Current Version|full}}</code>)
 +
# Text
 +
# Revision number (only visual)
 +
[[Category:Utility templates]]
 +
</noinclude>

Latest revision as of 18:49, 24 April 2020

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.

Parameters

  1. Version float (value is compared with > to {{Current Version}} = 3.0157)
  2. Version text (only visual, example: 1.5.7)
  3. Text
  4. Revision number (only visual)