Template:Requirements: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table border="0" cellpadding="4" cellspacing="0">
{| cellpadding="4" style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #FFF"
    <tr align="left">
|-
      <th style="background-color: #FFAA44; border-color: #FFF; border-width: 1px; color:#7A4A20;">Minimum supported server</th>
!style="background-color: #FFAA44; border-style: solid; border-width: 1px; border-color: #FFF; color:#7A4A20"| Minimum supported server
      <th style="background-color: #FFCC66; border-color: #FFF; border-width: 1px;">{{{1}}}</th>
!width=60 style="white-space: nowrap; background-color: #FFCC66; border-style: solid; border-width: 1px; border-color: #FFF"| {{{1}}}
    </tr>
|-
    <tr style="border: 5px dotted #0CC;">
!style="background-color: #FF6666; border-style: solid; border-width: 1px; border-color: #FFF; color:#AA0028"| Minimum supported client
      <th style="background-color: #FF6666; border-color: #FFF; border-width: 1px; color:#AA0028;">Minimum supported client</th>
!style="white-space: nowrap; background-color: #FFBBBB; border-style: solid; border-width: 1px; border-color: #FFF"| {{{2}}}
      <th style="background-color: #FFBBBB; border-color: #FFF; border-width: 1px;">{{{2}}}</th>
|}Note: Using this function/event 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}}}"}} />''
    </tr>
</table>

Revision as of 12:38, 18 January 2021

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

Note: Using this function/event 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}}}" />