Template:Added feature/item: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Added a "Syntax" section, added current and next stable versions and cleaned up a little bit)
m (Fixed spacing)
Line 1: Line 1:
<includeonly>
<includeonly>{{#ifexpr: ({{{1|}}}) = {{Next Stable Version}} and ({{{2|}}}) = {{Current Stable Version}}
{{#ifexpr: ({{{1|}}}) = {{Next Stable Version}} and ({{{2|}}}) = {{Current Stable Version}}
|<div style='border: 2px solid #1b2027; border-radius: 10px; margin: 14px 0; overflow: hidden'><div style='background: #1b2027; color: #fff; font-weight: bold; padding: 4px 8px'>[[Beta Features|<span style="color: #fff; text-decoration: underline">BETA</span>]]: NEW FEATURE (BUILD: {{{2}}} {{r|{{{3}}}}})</div><div style='padding: 4px 8px'>{{{4}}}</div></div>
|<div style='border: 2px solid #1b2027; border-radius: 10px; margin: 14px 0; overflow: hidden'><div style='background: #1b2027; color: #fff; font-weight: bold; padding: 4px 8px'>[[Beta Features|<span style="color: #fff; text-decoration: underline">BETA</span>]]: NEW FEATURE (BUILD: {{{2}}} {{r|{{{3}}}}})</div><div style='padding: 4px 8px'>{{{4}}}</div></div>
|{{#ifexpr: {{Next Stable Version}} > ({{{1|}}}) and ({{{1|}}}) = {{Current Stable Version}}
|{{#ifexpr: {{Next Stable Version}} > ({{{1|}}}) and ({{{1|}}}) = {{Current Stable Version}}
Line 6: Line 5:
|{{{4}}}
|{{{4}}}
}}
}}
}}
}}</includeonly>
</includeonly>


<noinclude>
<noinclude>

Revision as of 09:57, 8 April 2023


This template is used for highlighting beta and features introduced in the latest version of MTA: San Andreas. The highlighted appearance will automatically disappear when a newer version is released.

Parameters

  1. Stable version (the stable version the feature will appear in)
  2. Beta version (the beta version the feature appeared in)
  3. Revision (the build the feature appeared in)
  4. Description (the feature main description)

Syntax

{{Added feature/item
| stable version
| beta version
| revision
| description
}}

Current stable version: 1.6.0
Next stable version: 1.6.1