Template:Edition Switch/doc

Usage


takes many different abbreviations and short spellings of different editions and normalizes them into one set of options, this makes it very convenient for templates that need to work for many different editions and allows editors to use short hand forms for editions instead of having to spell out the full name.

List of Edition Codes
case insensitive codes for each edition

Template Data
{	"description": "Takes many different abbreviations and short spellings of different editions and normalizes them into one set of options", "params": { "1": {			"label": "Edition", "description": "A string that represents an edition can be: JE, BE, CE, PE and many others. Defaults to namespace when ommitted", "type": "string", "required": true },       "default": { "label": "Default output", "description": "Output used when an edition could not be determined, uses java parameter when omitted", "type": "string", "required": false },       "java": { "label": "Output for Java Edition", "description": "What is outputted when the template determines the edition is Java Edition", "type": "string", "required": false },       "bedrock": { "label": "Output for Bedrock Edition", "description": "What is outputted when the template determines the edition is Bedrock Edition", "type": "string", "required": false },       "console": { "label": "Output for Java Edition", "description": "What is outputted when the template determines the edition is Console Edition", "type": "string", "required": false },       "pocket": { "label": "Output for Pocket Edition", "description": "What is outputted when the template determines the edition is Pocket Edition, uses bedrock parameter when omitted", "type": "string", "required": false }	} }