Difference between revisions of "Template:AMG/sandbox"
Jump to navigation
Jump to search
blackwiki>PC78 (begin) |
blackwiki>PC78 (www) |
||
| Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1|}}}}} | {{#switch:{{lc:{{{1|}}}}} | ||
| − | |game = [http://allgame.com/game.php?id={{{id|{{{2|}}}}}} {{{label|{{{3|{{PAGENAME}}}}}}}}] at [[Allgame]] | + | |game = [http://www.allgame.com/game.php?id={{{id|{{{2|}}}}}} {{{label|{{{3|{{PAGENAME}}}}}}}}] at [[Allgame]] |
| − | |music = [http://allmusic.com/cg/amg.dll?p=amg&sql={{{id|{{{2|}}}}}} {{{label|{{{3|{{PAGENAME}}}}}}}}] at [[Allmusic]] | + | |music = [http://www.allmusic.com/cg/amg.dll?p=amg&sql={{{id|{{{2|}}}}}} {{{label|{{{3|{{PAGENAME}}}}}}}}] at [[Allmusic]] |
|movie = [http://www.allmovie.com/work/{{{id|{{{2|}}}}}} {{{label|{{{3|{{PAGENAME}}}}}}}}] at [[Allmovie]] | |movie = [http://www.allmovie.com/work/{{{id|{{{2|}}}}}} {{{label|{{{3|{{PAGENAME}}}}}}}}] at [[Allmovie]] | ||
|#default = {{error|Please state the type.}} | |#default = {{error|Please state the type.}} | ||
Revision as of 18:42, 13 October 2010
Please state the type.
| This is the template sandbox page for Template:AMG (diff). |
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/movie/v6231
See also
- {{AllGame}}
- {{AllMovie title}}
- {{AllMovie name}}
- {{AllMusic}}
| The above documentation is transcluded from Template:AMG/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |