Template:Utility functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (remove deprecated funcs)
m (Fix function in wrong category (wiki cleaning))
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
     <li>[[createTrayNotification]]</li>
     <li>[[createTrayNotification]]</li>
     <li>[[downloadFile]]</li>
     <li>[[downloadFile]]</li>
    <li>[[getDevelopmentMode]]</li>
     <li>[[getKeyboardLayout]]</li>
     <li>[[getKeyboardLayout]]</li>
     <li>[[getLocalization]]</li>
     <li>[[getLocalization]]</li>
Line 16: Line 15:
     <li>[[isShowSoundEnabled]]</li>
     <li>[[isShowSoundEnabled]]</li>
     <li>[[isTransferBoxAlwaysVisible]]</li>
     <li>[[isTransferBoxAlwaysVisible]]</li>
    <li>[[isTransferBoxVisible]]</li>
     <li>[[isTrayNotificationEnabled]]</li>
     <li>[[isTrayNotificationEnabled]]</li>
     <li>[[setClipboard]]</li>
     <li>[[setClipboard]]</li>
    <li>[[setDevelopmentMode]]</li>
    <li>[[setTransferBoxVisible]]</li>
     <li>[[setWindowFlashing]]</li>
     <li>[[setWindowFlashing]]</li>
     <li>[[showCol]]</li>
     <li>[[showCol]]</li>
Line 26: Line 22:
  | {{#ifeq: {{lc:{{{1}}}}} | server
  | {{#ifeq: {{lc:{{{1}}}}} | server
  |
  |
    <!-- SERVER functions -->
    <li>[[setServerConfigSetting]]</li>
    <li>[[getServerConfigSetting]]</li>
     }}
     }}
   }}
   }}

Latest revision as of 15:03, 10 November 2025


The template contains a list of functions. It accepts 1 parameter, which specifies whether the functions should be displayed for server or client. Regardless of the parameter, a list of shared functions will also be displayed

Example: {{Camera functions|client}} will display a list of client-side functions, and below it a list of shared functions, similarly for the server.