Jump to content

Template:Reprezentacija/doc

From Wikipedia, the free encyclopedia

Template:Reprezentacija displays an external link to an association football player's page at Reprezentacija.rs, the official website of the Serbia national football team. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{Reprezentacija | ID }}
{{Reprezentacija | ID | NAME }}
Named parameters
{{Reprezentacija | id= ID }}
{{Reprezentacija | id= ID | name= NAME }}
Using Wikidata property
{{Reprezentacija}}
{{Reprezentacija | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{Reprezentacija | andjelkovic-dusan | Dušan Anđelković }}
Output
Current URL
https://www.reprezentacija.rs/andjelkovic-dusan/
Former URLs with numeric ID
http://www.reprezentacija.rs/statistika/reprezentativci/865
http://www.reprezentacija.rs/index.php/statistika/reprezentativci/865-andjelkovic-dusan (archived)
http://www.reprezentacija.rs/home/865
http://www.reprezentacija.rs/component/content/article/865
http://www.reprezentacija.rs/index.php?option=com_content&view=article&id=865

Named parameters

[edit]
Usage
* {{Reprezentacija | id= kralj-ivica | name= Ivica Kralj }}
* {{Reprezentacija | id= 1201 | name= Ivica Kralj }}
Output
Current URL
https://www.reprezentacija.rs/kralj-ivica/
Former URLs with numeric ID
http://www.reprezentacija.rs/statistika/reprezentativci/1201 (archived)
http://www.reprezentacija.rs/index.php/statistika/reprezentativci/1201
http://www.reprezentacija.rs/home/1201
http://www.reprezentacija.rs/component/content/article/1201
http://www.reprezentacija.rs/index.php?option=com_content&view=article&id=1201

No parameters and Wikidata property not defined

[edit]
Usage
* {{Reprezentacija}}
Output

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Reprezentacija in articles based on its TemplateData.

TemplateData for Reprezentacija

This template displays an external link to an association football (soccer) player's page at Reprezentacija.rs, the official website of the Serbia national football team. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID portion of the URL, such as kralj-ivica in https://www.reprezentacija.rs/kralj-ivica/ or 1201 in http://www.reprezentacija.rs/statistika/reprezentativci/1201. This parameter is optional if Wikidata property P3908 exists, but required if not.

Default
Wikidata property P3908
Stringoptional
namename 2

The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]
[edit]