Template:MC/Discontinued
More actions
Template:Documentation header Template:Distinguish This template is intended for pages covering discontinued games, apps, and editions (not their feature pages). It inserts a note saying that the following edition has been discontinued.
Pages using this template are added to Category:Discontinued.
Usage
{{Discontinued|1?|app?|game?|section?|buyable?|playable?|replaced?|reason?|nocat?}}
- The Template:Cd parameter replaces the default message. Use this when a more specific message is needed.
- The
appparameter changes the "edition" word to "app". - The
gameparameter changes the "edition" word to "game". - The
sectionparameter changes the template to a section style. - The Template:Cd parameter specifies the game can still be bought/downloaded.
- The Template:Cd parameter specifies the game can still be played if owned. Only used if Template:Cd is not defined.
- The Template:Cd parameter specifies what other game/edition replaced the game/edition. Text assiagned to this parameter will be inlined in the Template:Tl template.
- The Template:Cd parameter specifies why the game was discontinued.
- The
nocatparameter prevents adding the page to Category:Discontinued. This should normally only be used in examples.
Examples
| Template code | Generates |
|---|---|
| {{Discontinued}} | Template:Discontinued |
| {{Discontinued|This edition was discontinued in Template:Datetime.}} | Template:Discontinued |
| {{Discontinued|replaced=be|reason=it being boring}} | Template:Discontinued |
| {{Discontinued|game=1|playable=1}} | Template:Discontinued |
| {{Discontinued|section=1|buyable=1}} | Template:Discontinued |
| {{Discontinued|app=1}} | Template:Discontinued |
| {{Discontinued|app=1|section=1}} | Template:Discontinued |
TemplateData
<templatedata> { "params": { "1": { "label": "Replace message", "description": "Replaces the default message", "type": "string" }, "section": { "label": "Section?", "description": "Use if the section documents something discontinued", "type": "number", "suggestedvalues": [ "1" ] }, "app": { "label": "App?", "description": "Changes all instances of \"edition\" to \"app\"", "type": "number", "suggestedvalues": [ "1" ] }, "game": { "label": "Game?", "description": "Changes all instances of \"edition\" to \"game\"", "type": "number", "suggestedvalues": [ "1" ] }, "reason": { "label": "Reason", "description": "The reason why the game was discontinued", "type": "content", "suggested": true }, "buyable": { "label": "Buyable?", "description": "Specifies if the game can still be acquired/downloaded", "type": "number", "suggestedvalues": [ "1" ], "suggested": true }, "playable": { "label": "Playable?", "description": "Specifies if the game is playable (do not use with buyable)", "type": "number", "suggestedvalues": [ "1" ] }, "replaced": { "label": "Replaced by edition", "description": "Specifies which edition replaced the other edition", "example": "java, bedrock", "type": "string" }, "nocat": { "type": "number" }
}, "description": "Inserts a note saying that the following edition has been discontinued", "format": "inline" } </templatedata>
ja:テンプレート:Discontinued pt:Predefinição:Descontinuado ru:Шаблон:Снято с производства th:แม่แบบ:Discontinued
uk:Шаблон:ЗакінченаIf you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Discontinued/doc. (View all subpages of this page.)