Template:Camera functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Documentation)
mNo edit summary
Line 43: Line 43:
<span style='font-size: 1.25em;'>
<span style='font-size: 1.25em;'>
The template contains a list of functions.  
The template contains a list of functions.  
The template accepts 1 parameter that determines for which page the functions should be displayed, it can be '''server''' or '''client'''. Regardless of the parameter, a list of shared functions will also be displayed.</br></br>
The template accepts 1 parameter that determines for which side the functions should be displayed, it can be '''server''' or '''client'''. Regardless of the parameter, a list of shared functions will also be displayed.</br></br>
Example: '''<nowiki>{{Camera functions|client}}</nowiki>''' will display a list of client-side functions, and below it a list of shared functions, similarly for the server.</span>
Example: '''<nowiki>{{Camera functions|client}}</nowiki>''' will display a list of client-side functions, and below it a list of shared functions, similarly for the server.</span>


[[Category:Functions templates]]</noinclude>
[[Category:Functions templates]]</noinclude>

Revision as of 14:46, 6 September 2024


The template contains a list of functions. The template accepts 1 parameter that determines for which side the functions should be displayed, it can be 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.