Difference between revisions of "Template:Bgg title"
Jump to navigation
Jump to search
imported>Zyxw (move documentation and categories to /doc) |
imported>Trivialist (adding {{EditAtWikipedia}}) |
||
| Line 1: | Line 1: | ||
| − | {{bgg par|boardgame|{{{1|{{{id<includeonly>|</includeonly>}}}}}}|{{{2|{{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}}}<noinclude> | + | {{bgg par|boardgame|{{{1|{{{id<includeonly>|</includeonly>}}}}}}|{{{2|{{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}}}{{EditAtWikidata|pid=P2339|{{{1|{{{id|}}}}}}}}<noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:02, 4 July 2020
{{{name}}} at BoardGameGeekScript error: No such module "EditAtWikidata".
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:
- Castle Risk at BoardGameGeekScript error: No such module "EditAtWikidata".
- Castle Risk at BoardGameGeekScript error: No such module "EditAtWikidata".
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:
- Tikal and Java at BoardGameGeekScript error: No such module "EditAtWikidata".
- Tikal, Java and Mexica at BoardGameGeekScript error: No such module "EditAtWikidata".
See also
| The above documentation is transcluded from Template:Bgg title/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |