Difference between revisions of "Template:AMG/sandbox"

From blackwiki
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.

Template documentation[view] [edit] [history] [purge]

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.

Usage

  • {{AMG|type|id|label}}
  • {{AMG|type|id=id|label=label}}

Parameters

  1. type - either movie or game
  2. id - the ID number for the page on the AllGame website
  3. 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)

Movie (with named parameters)

See also