Template:Globals/doc: Difference between revisions

From [N8]
Jump to navigation Jump to search
Created page with "{{Documentation}} This template is used to display commonly used variables like the total amount of quest points. This way only Module:Globals/data needs to be edited when..."
 
No edit summary
 
Line 1: Line 1:
{{Documentation}}
{{Documentation}}
This template is used to display commonly used variables like the total amount of quest points. This way only [[Module:Globals/data]] needs to be edited when a new update changes one of the values.
This template is used to display commonly used variables like the total amount of missions, and other details. This way only [[Module:Globals/data]] needs to be edited when a new update changes one of the values.


==Parameters==
==Parameters==

Latest revision as of 16:25, 23 March 2021

This is a documentation subpage for Template:Globals.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Globals invokes function main in Module:Globals using Lua.

This template is used to display commonly used variables like the total amount of missions, and other details. This way only Module:Globals/data needs to be edited when a new update changes one of the values.

Parameters

  • latest attribute — returns the name of the latest released attribute
  • latest mission — returns the name of the latest released mission
  • latest mission release date — returns the date of the latest released mission
  • latest patch number — returns the latest patch number of the game
  • mission types — returns the current mission types released
  • missions — returns the total amount of missions
  • today — returns the date of today
  • total attributes — returns the total number of attributes

Examples

  • {{Globals|missions}} produces 76.
  • {{Globals|total attributes}} produces 21.