Template:Requirements: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Undo revision 38589 by Qais (talk))
Line 1: Line 1:
{| cellpadding="4" style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #FFF"
{| cellpadding="4" style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #FFF"
{{#if: {{{1}}} | |-
|-
!style="background-color: #FFAA44; border-style: solid; border-width: 1px; border-color: #FFF; color:#7A4A20"| Minimum supported server
!style="background-color: #FFAA44; border-style: solid; border-width: 1px; border-color: #FFF; color:#7A4A20"| Minimum supported server
!width=60 style="white-space: nowrap; background-color: #FFCC66; border-style: solid; border-width: 1px; border-color: #FFF"| {{{1}}}|}}
!width=60 style="white-space: nowrap; background-color: #FFCC66; border-style: solid; border-width: 1px; border-color: #FFF"| {{{1}}}
{{#if: {{{2}}} | |-|-
|-
!style="background-color: #FF6666; border-style: solid; border-width: 1px; border-color: #FFF; color:#AA0028"| Minimum supported client
!style="background-color: #FF6666; border-style: solid; border-width: 1px; border-color: #FFF; color:#AA0028"| Minimum supported client
!style="white-space: nowrap; background-color: #FFBBBB; border-style: solid; border-width: 1px; border-color: #FFF"| {{{2}}}|}}
!style="white-space: nowrap; background-color: #FFBBBB; border-style: solid; border-width: 1px; border-color: #FFF"| {{{2}}}
|}Note: Using this function requires the resource to have the above minimum version declared in the [[Meta.xml|meta.xml]] '''<min_mta_version>''' section. ''e.g. <min_mta_version {{#ifeq: {{{1}}} |n/a||server="{{{1}}}"}} {{#ifeq: {{{2}}} |n/a||client="{{{2}}}"}} />''
|}Note: Using this function requires the resource to have the above minimum version declared in the [[Meta.xml|meta.xml]] '''<min_mta_version>''' section. ''e.g. <min_mta_version {{#ifeq: {{{1}}} |n/a||server="{{{1}}}"}} {{#ifeq: {{{2}}} |n/a||client="{{{2}}}"}} />''

Revision as of 19:31, 20 January 2014

Minimum supported server {{{1}}}
Minimum supported client {{{2}}}

Note: Using this function requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="{{{1}}}" client="{{{2}}}" />