Template:MobyGames/sandbox
MobyGames/sandbox at MobyGames
This is the template sandbox page for Template:MobyGames (diff). See also the companion subpage for test cases. |
This template is used on approximately 9,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Template:MobyGames displays an external link to a MobyGames page for a video game.
Please only add it in instances where it provides additional or strongly-supporting information to the article.
Usage
[edit]One parameter:
{{MobyGames | ID }}
{{MobyGames | id= ID }}
Two parameters:
{{MobyGames | ID | NAME }}
{{MobyGames | id= ID | name= NAME }}
Template data
[edit]TemplateData for MobyGames
This template displays an external link to a MobyGames page for a video game.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | 1 id | ID string used in the URL. | String | required |
Name | 2 name | Name displayed in the link text. If not specified it defaults to the current page name (without disambiguation) and is displayed in italics. | String | optional |
Examples
[edit]One parameter
[edit]When a name is not specified, the template uses the current page name (without disambiguation) and displays it in italics.
The following examples link to a page for the first Heroes of Might and Magic game:
https://www.mobygames.com/game/heroes-of-might-and-magic
Usage:
{{MobyGames | /heroes-of-might-and-magic }}
{{MobyGames | id= /heroes-of-might-and-magic }}
Results:
Two parameters
[edit]When a name is specified, the template will not italicize it, so include any wikimarkup as needed.
The following examples link to a page for the Heroes of Might and Magic series:
https://www.mobygames.com/game-group/heroes-of-might-and-magic-series
Usage:
{{MobyGames | -group/heroes-of-might-and-magic-series | ''Heroes of Might and Magic'' series }}
{{MobyGames | id= -group/heroes-of-might-and-magic-series | name= ''Heroes of Might and Magic'' series }}
Results:
See also
[edit]- {{MobyGames developer}} for linking to developer profiles at the MobyGames website
- {{MobyGames company}} for linking to company profiles at the MobyGames website
- There have been discussions on whether or not a link to MobyGames is suitable for inclusion in an article (Wikipedia talk:WikiProject Video games/Archive 79#Moby Games ext. links removal Wikipedia talk:WikiProject Video games/Archive 76#MobyGames paid Wikipedia? Wikipedia talk:WikiProject Video games/Article guidelines/Archive 2#Moving MobyGames to "Inappropriate" since it almost always is?), though these discussions are in no way definitive.