Template:Added feature/item: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Added a "Syntax" section, added current and next stable versions and cleaned up a little bit)
Line 1: Line 1:
<includeonly>{{#ifexpr: ({{{1|}}}) = {{Next Stable Version}} and ({{{2|}}}) = {{Current Stable Version}}
<includeonly>
{{#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 5: Line 6:
|{{{4}}}
|{{{4}}}
}}
}}
}}</includeonly><noinclude>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.
}}
</includeonly>
 
<noinclude>
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===
===Parameters===
Line 12: Line 17:
#Revision (the build the feature appeared in)
#Revision (the build the feature appeared in)
#Description (the feature main description)
#Description (the feature main description)
[[Category:Utility templates]]</noinclude>
 
==Syntax==
<pre>
{{Added feature/item
| stable version
| beta version
| revision
| description
}}
</pre>
 
Current stable version: <span style='color: #0cc'>'''{{Current Stable Version}}'''</span><br/>
Next stable version: <span style='color: #3b3'>'''{{Next Stable Version}}'''</span>
 
[[Category:Utility templates]]
 
</noinclude>

Revision as of 09:32, 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