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)
m (23 revisions imported)
 
(2 intermediate revisions by one other user not shown)
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    = {{AllMovie title|id={{{id|{{{2|}}}}}}|title={{{label|{{{3|{{PAGENAMEBASE}}}}}}}}}}
 
  |#default = {{error|Please state the type.}}
 
  |#default = {{error|Please state the type.}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 12:25, 16 October 2020

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