Difference between revisions of "Template:Bandysidan team/doc"
imported>Zyxw (create documentation with examples, TemplateData, and categories) |
imported>John of Reading |
||
| Line 2: | Line 2: | ||
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
| − | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to | + | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a [[bandy]] team's profile at the [http://www.bandysidan.nu/ Bandysidan.nu] website. It is intended for use in the [[Wikipedia:External links|external links]] section of an article. |
== Usage == | == Usage == | ||
| Line 46: | Line 46: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| − | "description": "This template displays an external link to | + | "description": "This template displays an external link to a bandy team's profile at the Bandysidan.nu website. It is intended for use in the external links section of an article.", |
"params": { | "params": { | ||
"id": { | "id": { | ||
Revision as of 14:52, 23 February 2019
| This is a documentation subpage for Template:Bandysidan team. It contains usage information, categories and other content that is not part of the original template page. |
Template:Bandysidan team displays an external link to a bandy team's profile at the Bandysidan.nu website. It is intended for use in the external links section of an article.
Contents
Usage
Unnamed parameters:
Named parameters:
Examples
Unnamed parameters
URL:
Usage:
Output:
- Vetlanda BK at Bandysidan.nu (in Swedish)
Named parameters
URL:
Usage:
Output:
- Narukerä at Bandysidan.nu (in Swedish)
No parameters
Usage:
Output:
- {{Bandysidan team}} template missing ID.
TemplateData
TemplateData for Bandysidan team
This template displays an external link to a bandy team's profile at the Bandysidan.nu website. It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 132 is the ID portion of http://www.bandysidan.nu/team.php?ForID=132. | Number | required |
| name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the team. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(bandy)".
| String | optional |
Tracking category
See also