Difference between revisions of "Template:AMG"

From blackwiki
Jump to navigation Jump to search
blackwiki>Edokter
m (Reverted edits by M777 (talk) to last version by Mr. Stradivarius)
Line 1: Line 1:
 
{{#switch:{{lc:{{{1|}}}}}
 
{{#switch:{{lc:{{{1|}}}}}
  |game    = [//web.archive.org/web/20141210131006/http://allgame.com/game.php?id={{{id|{{{2|}}}}}} {{{label|{{{3|{{PAGENAMEBASE}}}}}}}}] at [[AllGame]]
+
  |game    = {{Allgame|id={{{id|{{{2|}}}}}}|name={{{label|{{{3|{{PAGENAMEBASE}}}}}}}}}}
 
  |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 23:14, 9 February 2017

Please state the type.

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

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.

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