Difference between revisions of "Template:Bandysidan team/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(create documentation with examples, TemplateData, and categories)
 
imported>John of Reading
m (Typo fixing, replaced: an bandy → a bandy, an bandy → a bandy)
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 an [[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.
+
'''{{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 an bandy team's profile at the Bandysidan.nu website. It is intended for use in the external links section of an article.",
+
   "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

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.

Usage

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Examples

Unnamed parameters

URL:

http://www.bandysidan.nu/team.php?ForID=132

Usage:

Template:Tlcw

Output:

Vetlanda BK at Bandysidan.nu (in Swedish)

Named parameters

URL:

http://www.bandysidan.nu/team.php?ForID=75

Usage:

Template:Tlcw

Output:

Narukerä at Bandysidan.nu (in Swedish)

No parameters

Usage:

Template:Tlcw

Output:

{{Bandysidan team}} template missing ID.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Numberrequired
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking category

See also