Difference between revisions of "Template:AMG"
Jump to navigation
Jump to search
blackwiki>Mr. Stradivarius m (Removed protection from "Template:AMG": only 11 transclusions) |
blackwiki>Mr. Stradivarius (link to archive.org per protected edit request by User:Elegie) |
||
| Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1|}}}}} | {{#switch:{{lc:{{{1|}}}}} | ||
| − | |game = [http://allgame.com/game.php?id={{{id|{{{2|}}}}}} {{{label|{{{3|{{PAGENAMEBASE}}}}}}}}] at [[AllGame]] | + | |game = [//web.archive.org/web/20141210131006/http://allgame.com/game.php?id={{{id|{{{2|}}}}}} {{{label|{{{3|{{PAGENAMEBASE}}}}}}}}] at [[AllGame]] |
|movie = [http://www.allmovie.com/work/{{{id|{{{2|}}}}}} {{{label|{{{3|{{PAGENAMEBASE}}}}}}}}] at [[AllMovie]] | |movie = [http://www.allmovie.com/work/{{{id|{{{2|}}}}}} {{{label|{{{3|{{PAGENAMEBASE}}}}}}}}] at [[AllMovie]] | ||
|#default = {{error|Please state the type.}} | |#default = {{error|Please state the type.}} | ||
Revision as of 08:35, 11 June 2015
Please state the type.
This 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 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 AllMovie
- 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. |