模板:Bgg title
与指向[1]的链接数量相比,此外部链接模板未得到充分利用(请在此处查看)。请帮助转换这些链接以使用此模板,以便于跟踪以及与维基数据的互操作性。 |
维基数据上的相关属性:
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:
- BoardGameGeek上的Tikal and Java
- BoardGameGeek上的Tikal, Java and Mexica