Difference between revisions of "Template:Bandysidan team"

From blackwiki
Jump to navigation Jump to search
imported>Smartskaft
(Created page with '{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:}} |[http://www.bandysidan.nu/team.php?ForID={{Trim|{{{1|{{{id<includeonly>|{{#property:}}</incl...')
 
imported>Zyxw
(Remove Wikidata related portions since no Wikidata property. Add template to indicate website content is in Swedish.)
Line 1: Line 1:
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:}}
+
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}}
|[http://www.bandysidan.nu/team.php?ForID={{Trim|{{{1|{{{id<includeonly>|{{#property:}}</includeonly>}}}}}}}} {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}}] at Bandysidan<includeonly>{{EditAtWikidata|pid=|{{{1|{{{id|}}}}}}}}{{WikidataCheck|property=|value={{{1|{{{id|}}}}}}|category=Bandysidan team ID}}</includeonly>
+
| [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}}
|<span class="error">&#123;&#123;[[Template:Bandysidan team|Bandysidan team]]&#125;&#125; template missing ID and not present in Wikidata.</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 23:54, 4 October 2018

{{{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