Template:ScriptVariablePage: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:


   -->{{#vardefine:variable_name|{{#var:variable_prefix}}{{#var:variable_name_only}}}}<!--
   -->{{#vardefine:variable_name|{{#var:variable_prefix}}{{#var:variable_name_only}}}}<!--
   -->{{#vardefine:variable_usage|{{Highlight|{{#var:variable_type}}|{{#var:variable_name}}}}}}<!--
   -->{{#vardefine:variable_usage|[[Script:{{PAGENAME}}|{{Highlight|{{#var:variable_type}}|{{#var:variable_name}}}}]]}}<!--
   -->{{#set:usage={{#var:variable_usage}}}}<!--
   -->{{#set:usage={{#var:variable_usage}}}}<!--



Revision as of 19:14, 2 January 2024

The ScriptVariablePage script variable contains .

Usage

Template for script variable pages

Parameters:

  • description (required) - short description of what the variable is used for
  • context (required) - where this variable lives - system, global or entity
  • type (optional) - value type of this variable - int, number or string