Difference between revisions of "Template:Bandysidan team"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(Remove Wikidata related portions since no Wikidata property. Add template to indicate website content is in Swedish.)
imported>Zyxw
m (formatting)
Line 1: Line 1:
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}}
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}}
| [http://www.bandysidan.nu/team.php?ForID={{Trim|{{{1|{{{id<includeonly>|</includeonly>}}}}}}}} {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}}] at Bandysidan.nu {{sv icon}}
+
 
 +
| [http://www.bandysidan.nu/team.php?ForID={{#if:1 | {{{1|{{{id<includeonly>|</includeonly>}}}}}} }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at Bandysidan.nu {{sv icon}}
 +
 
 
| <span class="error">&#123;&#123;[[Template:Bandysidan team|Bandysidan team]]&#125;&#125; template missing ID.</span>{{Main other|[[Category:Bandysidan team template missing ID]]}}
 
| <span class="error">&#123;&#123;[[Template:Bandysidan team|Bandysidan team]]&#125;&#125; template missing ID.</span>{{Main other|[[Category:Bandysidan team template missing ID]]}}
 +
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. -->
 
{{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. -->
 
</noinclude>
 
</noinclude>

Revision as of 15:09, 1 May 2019

{{{name}}} at Bandysidan.nu Template:Sv icon

Template documentation[view] [edit] [history] [purge]

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 Template:Sv icon

Named parameters

URL:

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

Usage:

Template:Tlcw

Output:

Narukerä at Bandysidan.nu Template:Sv icon

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