Template:Bgg par/doc
This is a documentation subpage for Template:Bgg par. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used by the other BoardGameGeek external link templates:
- {{bgg title}}
- {{BoardGameGeek designer}}
- {{BoardGameGeek publisher}}
- {{BoardGameGeek wiki}}
Usage
changeSingle link
changeUnnamed parameters:
{{Bgg par|SECTION|ID}}
{{Bgg par|SECTION|ID|NAME}}
Named parameters:
{{Bgg par|section=SECTION|id=ID}}
{{Bgg par|section=SECTION|id=ID|name=NAME}}
Multiple links using same section
changeUnnamed parameters:
{{Bgg par|SECTION|ID1|NAME1|ID2|NAME2}}
{{Bgg par|SECTION|ID1|NAME1|ID2|NAME2|ID3|NAME3}}
Named parameters:
{{Bgg par|section=SECTION|id1=ID|name1=NAME|id2=ID2|name2=NAME2}}
{{Bgg par|section=SECTION|id1=ID1|name1=NAME1|id2=ID2|name2=NAME2id3=ID3|name3=NAME3}}
Multiple links using different section
changeNamed parameters:
{{Bgg par|section1=SECTION1|id1=ID1|name1=NAME1|section2=SECTION2|id2=ID2|name2=NAME2}}
{{Bgg par|section1=SECTION1|id1=ID1|name1=NAME1|section2=SECTION2|id2=ID2|name2=NAME2|section3=SECTION3|id3=ID3|name3=NAME3}}
Examples
changeSingle link
changeUsage with article name as link text:
* {{Bgg par|boardgame|2557}}
* {{Bgg par|section=boardgame|id=2557}}
Output:
Usage with name parameter as link text:
* {{Bgg par|boardgame|2557|Castle Risk}}
* {{Bgg par|section=boardgame|id=2557|name=Castle Risk}}
Output:
Multiple links using same section
changeUsage with two links:
* {{Bgg par|boardgame|54|Tikal|855|Java}}
* {{Bgg par|section=boardgame|id1=54|name1=Tikal|id2=855|name2=Java}}
Output:
- Tikal and Java at BoardGameGeek
- Tikal and Java at BoardGameGeek
Usage with three links:
* {{Bgg par|boardgame|54|Tikal|855|Java|2955|Mexica}}
* {{Bgg par|section=boardgame|id1=54|name1=Tikal|id2=855|name2=Java|id3=2955|name3=Mexica}}
Output:
- Tikal, Java and Mexica at BoardGameGeek
- Tikal, Java and Mexica at BoardGameGeek
Multiple links using different section
changeUsage with three links:
* {{Bgg par|section1=boardgamedesigner|id1=11|name1=Klaus Teuber
|section2=boardgamepublisher|id2=49|name2=Columbia Games
|section3=wiki/page|id3=18xx|name3=18XX}}
Output:
- Klaus Teuber, Columbia Games and 18XX at BoardGameGeek