跳转到内容

Template:Bgg title/doc

维基百科,自由的百科全书

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英语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[编辑]