Template:PT-BR/New items: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifexpr:({{{1|}}})>{{Current Version}}|<div style='font-weight: bold;background:black;color:white;padding:2px; padding-left:8px;'>Beta Features|<span style="c...")
 
m (Correction to HTML)
 
(2 intermediate revisions by the same 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;'>[[Beta Features|<span style="color: #FFFFFF; text-decoration:underline">BETA</span>]]: DA VERSÃO {{{2}}} {{#if:{{{4|}}}|{{r|{{{4}}}}}|}} ADIANTE</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='border: 2px solid #232933; border-radius: 10px; margin: 14px 0; overflow: hidden'><div style='background: #232933; color: #fff; font-weight: bold; padding: 4px 8px'>[[Beta Features|<span style="color: #fff; text-decoration: underline">BETA</span>]]: DA VERSÃO <span style="font-size: 125%">{{{2}}} {{#if:{{{4|}}}|{{r|{{{4}}}}}|}}</span> ADIANTE</div><div style='padding: 4px 8px'>{{{3}}} </div></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.
 
=== Parameters ===
=== Parameters ===
# Version float (value is compared with <code>&gt;</code> to <code><nowiki>{{Current Version}}</nowiki> = {{Current Version}}</code>)
# Version float (value is compared with <code>&gt;</code> to <code><nowiki>{{Current Version}}</nowiki> = {{Current Version}}</code>)

Latest revision as of 22:48, 19 August 2021

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.0160)
  2. Version text (only visual, example: 1.6.0)
  3. Text
  4. Revision number (only visual)