Template:Game Jolt/doc
This is a documentation subpage for Template:Game Jolt. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Game Jolt displays an external link to a Game Jolt 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
{{Game Jolt | ID }}
{{Game Jolt | id= ID }}
- Two parameters
{{Game Jolt | ID | NAME }}
{{Game Jolt | id= ID | name= NAME }}
- Using Wikidata
{{Game Jolt}}
{{Game Jolt | name= NAME }}
Examples
[edit]The following examples link to the page for the static speaks my name:
One parameter
[edit]When a name is not specified, the template uses the current page name (without disambiguation) and displays it in italics.
- Usage
{{Game Jolt | /the-static-speaks-my-name/45383 }}
{{Game Jolt | id= /the-static-speaks-my-name/45383 }}
- Output
- Game Jolt/doc at Game Jolt
- Game Jolt/doc at Game Jolt
Two parameters
[edit]When a name is not specified, the template uses the current page name (without disambiguation) and displays it in italics.
- Usage
{{Game Jolt | /the-static-speaks-my-name/45383 | the static speaks my name }}
{{Game Jolt | id= /the-static-speaks-my-name/45383 | name= the static speaks my name }}
No parameters and Wikidata property not defined
[edit]- Usage
* {{Game Jolt}}
- Output
- {{Game Jolt}} template missing ID and not present in Wikidata.
Template data
[edit]TemplateData for Game Jolt
This template displays an external link to a Game Jolt page for a video game.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | 1 id | The ID portion of the URL, such as /the-static-speaks-my-name/45383 in https://www.gamejolt.com/games/the-static-speaks-my-name/45383. This parameter is optional if Wikidata property P12072 exists, but required if not.
| String | optional |
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 |