Module:Globals/data

From Old School Near-Reality Wiki
Jump to navigation Jump to search
Module documentation
This documentation is transcluded from Module:Globals/data/doc. [edit] [history] [purge]
Module:Globals/data is required by Module:Globals.
Module:Globals/data is invoked by Template:Globals.

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.

Parameters

  • ca easy tasks — returns the total amount of easy-tier Combat Achievements tasks
  • ca elite tasks — returns the total amount of elite-tier Combat Achievements tasks
  • ca gm tasks — returns the total amount of grandmaster-tier Combat Achievements tasks
  • ca hard tasks — returns the total amount of hard-tier Combat Achievements tasks
  • ca master tasks — returns the total amount of master-tier Combat Achievements tasks
  • ca medium tasks — returns the total amount of medium-tier Combat Achievements tasks
  • ca total tasks — returns the total amount of Combat Achievements tasks
  • latest music release date — returns the date of when the latest music track was released
  • latest quest — returns the name of the latest released quest
  • latest quest f2p — returns the name of the latest released free-to-play quest
  • latest quest p2p — returns the name of the latest released quest exclusive for members
  • latest quest release date — returns the date of the latest released quest
  • latest quest release date f2p — returns the date of the latest released free-to-play quest
  • music tracks — returns the total amount of music tracks
  • quest points — returns the total amount of quest points
  • quest points f2p — returns the total amount of quest points obtained with free-to-play quests
  • quest points p2p — returns the total amount of quest points obtained with pay-to-play quests
  • quests — returns the total amount of quests
  • quests f2p — returns the total amount of free-to-play quests
  • quests p2p — returns the total amount of quests exclusive for members
  • today — returns the date of today
  • total level — returns the absolute maximum total level achievable
  • total level f2p — returns the absolute maximum total level achievable in free-to-play
  • total skills — returns the total amount of skills
  • total skills f2p — returns the total amount of free-to-play skills
  • total skills p2p — returns the total amount of skills exclusive to members

Examples


-- <nowiki>
return
{
	
-- Quests
	['quests'] = {
		'the total amount of quests',
		'154'
	},
	['quests p2p'] = {
		'the total amount of quests exclusive for members',
		'132'
	},
	['quests f2p'] = {
		'the total amount of free-to-play quests',
		'22'
	},
	['quest points'] = {
		'the total amount of quest points',
		'290'
	},
	['quest points f2p'] = {
		'the total amount of quest points obtained with free-to-play quests',
		'44'
	},
	['quest points p2p'] = {
		'the total amount of quest points obtained with pay-to-play quests',
		'243'
	},
	['latest quest'] = {
		'the name of the latest released quest',
		'[[Sleeping Giants]]'
	},
	['latest quest f2p'] = {
		'the name of the latest released free-to-play quest',
		'[[Below Ice Mountain]]'
	},
	['latest quest p2p'] = {
		'the name of the latest released quest exclusive for members',
		'[[Sleeping Giants]]'
	},
	['latest quest release date'] = {
		'the date of the latest released quest',
		'[[8 June]] [[2022]]'
	},
	['latest quest release date f2p'] = {
		'the date of the latest released free-to-play quest',
		'[[14 April]] [[2021]]'
	},
-- Music tracks
	['music tracks'] = {
		'the total amount of music tracks',
		'727'
	},
	['latest music release date'] = {
		'the date of when the latest music track was released',
		'[[24 August]] [[2022]]'
	},

-- Combat achievements
	['ca total tasks'] = {
		'the total amount of Combat Achievements tasks',
		'421'
	},
	['ca easy tasks'] = {
		'the total amount of easy-tier Combat Achievements tasks',
		'33'
	},
	['ca medium tasks'] = {
		'the total amount of medium-tier Combat Achievements tasks',
		'41'
	},
	['ca hard tasks'] = {
		'the total amount of hard-tier Combat Achievements tasks',
		'58'
	},
	['ca elite tasks'] = {
		'the total amount of elite-tier Combat Achievements tasks',
		'112'
	},
	['ca master tasks'] = {
		'the total amount of master-tier Combat Achievements tasks',
		'101'
	},
	['ca gm tasks'] = {
		'the total amount of grandmaster-tier Combat Achievements tasks',
		'76'
	},
	
	
-- Skills
	['total skills'] = {
		'the total amount of skills',
		'23'
	},
	['total skills p2p'] = {
		'the total amount of skills exclusive to members',
		'8'
	},
	['total skills f2p'] = {
		'the total amount of free-to-play skills',
		'15'
	},
	['total level'] = {
		'the absolute maximum total level achievable',
		'2277'
	},
	['total level f2p'] = {
		'the absolute maximum total level achievable in free-to-play',
		'1485'
	},
	
-- Time
	['today'] = {
		'the date of today',
		os.date('%d %B %Y')
	}
}