Difference between revisions of "Template:FFR profile/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(create)
 
imported>Zyxw
(add link, update examples)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- 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 -->
 +
{{Template redirect|RFF profile}}
 +
{{Template shortcut|FFR}}
 
{{Uses Wikidata|P7092}}
 
{{Uses Wikidata|P7092}}
 
{{Lua|Module:EditAtWikidata}}
 
{{Lua|Module:EditAtWikidata}}
  
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a [[fencing|fencer's]] profile at [http://rusfencing.ru/ RusFencing.ru], the official website of the [[Russian Fencing Federation]] (FFR). It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
+
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a [[fencing|fencer's]] profile at [http://rusfencing.ru/ RusFencing.ru], the official website of the [[Russian Fencing Federation]] ({{lang-ru|Федерация Фехтования России|translit=Federatsiya Fekhtovaniya Rossii}} or ''FFR''). It is intended for use in the [[Wikipedia:External links|external links]] section of an article.
  
 
== Usage ==
 
== Usage ==
Line 29: Line 31:
  
 
; Current URL
 
; Current URL
: <kbd>[http://www.rusfencing.ru/sportsmen_card.php?ID=187456 http://www.rusfencing.ru/sportsmen_card.php?ID={{Hilite|187456}}]</kbd>
+
: <kbd>[http://rusfencing.ru/sportsmen_card.php?ID=187456 http://rusfencing.ru/sportsmen_card.php?ID={{Hilite|187456}}]</kbd>
  
 
; Former URL
 
; Former URL
: <kbd>http://<nowiki/>www.rusfencing.ru/cntnt/sbornye_ko/files31/profajly/{{Hilite|aida_shana}}.html</kbd> ([https://web.archive.org/web/20150924092841/http://www.rusfencing.ru/cntnt/sbornye_ko/files31/profajly/aida_shana.html archived 2015-09-24])
+
: <kbd>http://<nowiki/>www.rusfencing.ru/cntnt/sbornye_ko/files31/profajly/{{Hilite|aida_shana}}.html</kbd> ([https://web.archive.org/web/20171201105528/http://www.rusfencing.ru/cntnt/sbornye_ko/files31/profajly/aida_shana.html archived 2017-12-01])
  
 
=== Named parameters ===
 
=== Named parameters ===
Line 42: Line 44:
  
 
; Current URL
 
; Current URL
: <kbd>[http://www.rusfencing.ru/sportsmen_card.php?ID=182828 http://www.rusfencing.ru/sportsmen_card.php?ID={{Hilite|182828}}]</kbd>
+
: <kbd>[http://rusfencing.ru/sportsmen_card.php?ID=182828 http://rusfencing.ru/sportsmen_card.php?ID={{Hilite|182828}}]</kbd>
  
 
; Former URL
 
; Former URL

Revision as of 18:52, 15 February 2020

Template:Template redirect

Template:Uses Wikidata

Template:FFR profile displays an external link to a fencer's profile at RusFencing.ru, the official website of the Russian Fencing Federation (Russian: Федерация Фехтования России, romanized: Federatsiya Fekhtovaniya Rossii or FFR). It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{FFR profile | ID }}
{{FFR profile | ID | NAME }}

Named parameters:

{{FFR profile | id= ID }}
{{FFR profile | id= ID | name= NAME }}

Using Wikidata property P7092:

{{FFR profile}}
{{FFR profile | name= NAME }}

Examples

Unnamed parameters

Usage
* {{FFR profile | 187456 | Aida Shanaeva }}
Output
Current URL
http://rusfencing.ru/sportsmen_card.php?ID=187456
Former URL
http://www.rusfencing.ru/cntnt/sbornye_ko/files31/profajly/aida_shana.html (archived 2017-12-01)

Named parameters

Usage
* {{FFR profile | id= 182828 | name= Alexey Cheremisinov }}
Output
Current URL
http://rusfencing.ru/sportsmen_card.php?ID=182828
Former URL
http://www.rusfencing.ru/cntnt/sbornye_ko/files31/profajly/aleksej_ch.html (archived 2014-03-01)

No parameters and Wikidata property not defined

Usage
* {{FFR profile}}
Output

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 FFR profile

This template displays an external link to a fencer's profile at RusFencing.ru, the official website of the Russian Fencing Federation (FFR). 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: 182828 is the ID portion of http://www.rusfencing.ru/sportsmen_card.php?ID=182828. This parameter is optional if Wikidata property P7092 exists, but required if not.

Default
Wikidata property P7092
Numberoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the fencer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(fencer)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also