Difference between revisions of "Template:Bgg title/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(create)
 
imported>Zyxw
(add category)
 
Line 54: Line 54:
 
[[Category:Board game templates]]
 
[[Category:Board game templates]]
 
[[Category:Game external link templates]]
 
[[Category:Game external link templates]]
 +
[[Category:Templates containing multiple external links]]
  
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 15:27, 20 August 2018

Template:Underused external link template Template:Wikidata property

This template displays an external link to a page for a game at the BoardGameGeek website.

Usage

Unnamed parameters:

{{Bgg title|ID}}
{{Bgg title|ID|NAME}}
{{Bgg title|ID|NAME|ID2|NAME2}}
{{Bgg title|ID|NAME|ID2|NAME2|ID3|NAME3}}

Named parameters:

{{Bgg title|id=ID}}
{{Bgg title|id=ID|name=NAME}}

Examples

Single link

Usage in the article Castle Risk, with article name as link text:

* {{Bgg title|2557}}
* {{Bgg title|id=2557}}

Usage with name parameter as link text:

* {{Bgg title|2557|Castle Risk}}
* {{Bgg title|id=2557|name=Castle Risk}}

Output:

URLs:

https://www.boardgamegeek.com/boardgame/2557 (used in template)
https://www.boardgamegeek.com/boardgame/2557/castle-risk (redirect at website)

Multiple links

Usage:

* {{Bgg title|54|Tikal|855|Java}}
* {{Bgg title|54|Tikal|855|Java|2955|Mexica}}

Output:

See also