Difference between revisions of "Template:AMG/doc"
Jump to navigation
Jump to search
blackwiki>Zyxw (update documentation and add examples) |
|||
| Line 22: | Line 22: | ||
* Code: <code><nowiki>{{AMG|game|2492|Final Fantasy III}}</nowiki></code> | * Code: <code><nowiki>{{AMG|game|2492|Final Fantasy III}}</nowiki></code> | ||
* Output: {{AMG|game|2492|Final Fantasy III}} | * Output: {{AMG|game|2492|Final Fantasy III}} | ||
| − | * URL: http://allgame.com/game.php?id=2492 | + | * URL: http://www.allgame.com/game.php?id=2492 |
=== Movie (with named parameters) === | === Movie (with named parameters) === | ||
Revision as of 18:38, 10 February 2017
| 40px | This is a documentation subpage for Template:AMG. It contains usage information, categories and other content that is not part of the original template page. |
The {{AMG}} template is designed for linking to two of the websites owned by All Media Guide:
Note: Links to AllMusic are not supported; instead please use {{AllMusic}} specifically designed for that purpose.
Contents
Usage
{{AMG|type|id|label}}{{AMG|type|id=id|label=label}}
Parameters
- type - either movie or game
- id - the ID number for the page on the AllGame website
- label - an optional label to display the link, which defaults to name of the article where this template is used
Examples
Game (with unnamed parameters)
- Code:
{{AMG|game|2492|Final Fantasy III}} - Output: Final Fantasy III[dead link] at AllGame
- URL: http://www.allgame.com/game.php?id=2492
Movie (with named parameters)
- Code:
{{AMG|movie|id=6231|label=The Blue Bird}} - Output: The Blue Bird at AllMovieScript error: No such module "EditAtWikidata".Template:Ns0
- URL: http://www.allmovie.com/work/6231
See also
- {{AllGame}}
- {{AllMovie title}}
- {{AllMovie name}}
- {{AllMusic}}