Difference between revisions of "Template:AllGame/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
m (Zyxw moved page Template:Allgame/doc to Template:AllGame/doc: match name of source, similar to moves of AllMusic and AllMovie templates)
blackwiki>Zyxw
(update examples)
Line 4: Line 4:
  
 
==Usage==
 
==Usage==
<blockquote><code><nowiki>{{Allgame |326 |The Legend of Zelda: A Link to the Past}}</nowiki></code></blockquote>
+
<blockquote><code><nowiki>{{</nowiki>{{BASEPAGENAME}} |326 |The Legend of Zelda: A Link to the Past<nowiki>}}</nowiki></code></blockquote>
  
 
== Instructions ==
 
== Instructions ==
 
# Search [http://www.allgame.com/ AllGame] for the game title you want, and click on the correct link to go to that game's page.
 
# Search [http://www.allgame.com/ AllGame] for the game title you want, and click on the correct link to go to that game's page.
 
# The page [[URL]] should look like this: <blockquote><code><nowiki>http://allgame.com/game.php?id=</nowiki><span style="background-color: #FFFF88">######</span></code></blockquote> where "######" indicates a number. (If it doesn't, there should be a message under the games's title which says "wrong Result? more matches HERE"; click on this link and reselect the desired game from the list.)
 
# The page [[URL]] should look like this: <blockquote><code><nowiki>http://allgame.com/game.php?id=</nowiki><span style="background-color: #FFFF88">######</span></code></blockquote> where "######" indicates a number. (If it doesn't, there should be a message under the games's title which says "wrong Result? more matches HERE"; click on this link and reselect the desired game from the list.)
# Copy ONLY that number. Add the following text to the '''External links''' section: <blockquote><code><nowiki>{{Allgame |###### |Title}}</nowiki></code></blockquote> where <blockquote><code>######</code> is the number you've copied, and <br><code>Title</code> is the title of the game (default is the article's name.)</blockquote>
+
# Copy ONLY that number. Add the following text to the '''External links''' section: <blockquote><code><nowiki>{{</nowiki>{{BASEPAGENAME}} |###### |Title<nowiki>}}</nowiki></code></blockquote> where <blockquote><code>######</code> is the number you've copied, and <br><code>Title</code> is the title of the game (default is the article's name.)</blockquote>
  
 
== Example ==
 
== Example ==
 
# For ''[[The Legend of Zelda: A Link to the Past]]'', the AllGame page URL is: <blockquote><code>http://allgame.com/game.php?id=326</code></blockquote>
 
# For ''[[The Legend of Zelda: A Link to the Past]]'', the AllGame page URL is: <blockquote><code>http://allgame.com/game.php?id=326</code></blockquote>
# Copy "326" and add it to this template, ''i.e.'': <blockquote><code><nowiki>{{Allgame |326 |The Legend of Zelda: A Link to the Past}}</nowiki></code></blockquote>
+
# Copy "326" and add it to this template, ''i.e.'': <blockquote><code><nowiki>{{</nowiki>{{BASEPAGENAME}} |326 |The Legend of Zelda: A Link to the Past<nowiki>}}</nowiki></code></blockquote>
# This will display as: <blockquote>{{Allgame |326 |The Legend of Zelda: A Link to the Past}}</blockquote>
+
# This will display as: <blockquote>{{{{BASEPAGENAME}} |326 |The Legend of Zelda: A Link to the Past}}</blockquote>
  
 
== See also ==
 
== See also ==

Revision as of 15:20, 20 August 2018

This is a template used to generate external links to AllGame.

Usage

{{AllGame |326 |The Legend of Zelda: A Link to the Past}}

Instructions

  1. Search AllGame for the game title you want, and click on the correct link to go to that game's page.
  2. The page URL should look like this:

    http://allgame.com/game.php?id=######

    where "######" indicates a number. (If it doesn't, there should be a message under the games's title which says "wrong Result? more matches HERE"; click on this link and reselect the desired game from the list.)
  3. Copy ONLY that number. Add the following text to the External links section:

    {{AllGame |###### |Title}}

    where

    ###### is the number you've copied, and
    Title is the title of the game (default is the article's name.)

Example

  1. For The Legend of Zelda: A Link to the Past, the AllGame page URL is:

    http://allgame.com/game.php?id=326

  2. Copy "326" and add it to this template, i.e.:

    {{AllGame |326 |The Legend of Zelda: A Link to the Past}}

  3. This will display as:

    The Legend of Zelda: A Link to the Past[dead link] at AllGame

See also