Template:New items: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Changed formatting) |
||
Line 1: | Line 1: | ||
<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'>ADDED/UPDATED IN VERSION {{{2}}} {{#if:{{{4|}}}|{{r|{{{4}}}}}|}}:</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. | <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'> | |||
ADDED/UPDATED IN VERSION {{{2}}} {{#if:{{{4|}}}|{{r|{{{4}}}}}|}}: | |||
</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>></code> to <code><nowiki>{{Current Version}}</nowiki> = {{Current Version}}</code>) | # Version float (value is compared with <code>></code> to <code><nowiki>{{Current Version}}</nowiki> = {{Current Version}}</code>) | ||
Line 5: | Line 15: | ||
# Text | # Text | ||
# Revision number (only visual) | # Revision number (only visual) | ||
[[Category:Utility templates]]</noinclude> | [[Category:Utility templates]] | ||
</noinclude> |
Revision as of 20:29, 24 February 2022
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
- Version float (value is compared with
>
to{{Current Version}} = 3.0160
) - Version text (only visual, example:
1.6.0
) - Text
- Revision number (only visual)