Difference between revisions of "Template:ISU competition"
imported>Zyxw m (formatting and note) |
imported>WOSlinker (use PAGENAMEBASE) |
||
| Line 1: | Line 1: | ||
| − | [http://www.{{{1|{{{domain}}}}}}/results/{{{2|{{{id}}}}}} {{{3|{{{name|{{ | + | [http://www.{{{1|{{{domain}}}}}}/results/{{{2|{{{id}}}}}} {{{3|{{{name|{{PAGENAMEBASE}}}}}}}}] at the [[International Skating Union]]<noinclude> |
{{Documentation}} | {{Documentation}} | ||
<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | <!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 09:47, 30 November 2014
Template:PAGENAMEBASE at the International Skating Union
This will create an external link to a results details/start orders page for an ISU competition. This will work for results pages that follow the convention of 'http://www.DOMAINNAME.EXT/results and so will work for most competitions from roughly the 2003-2004 season onward.
Contents
Usage
* {{ISU competition | domain= | id= | name= }}
or
* {{ISU competition |[domain here]|[id here]|[name here]}}
Be careful of extraneous spaces when using the template without the parameter names.
Examples
World Championships
* {{ISU competition | domain= isufs.org | id= wc2008 | name= 2008 World Championships }}
returns
World Junior Championships
* {{ISU competition|isufs.org|wjc2008|2008 World Junior Championships}}
returns
European Championships
* {{ISU competition | domain= isuresults.com | id= ec2009 | name= 2009 European Championships }}
returns
Four Continents Championships
* {{ISU competition|isuresults.com|fc2008| name=2008 Four Continents Championships}}
returns
Grand Prix
* {{ISU competition | domain= isufs.org | id= gpusa07 | name= 2007 Skate America }}
returns
Junior Grand Prix
* {{ISU competition | domain= isufs.org | id= jgpusa2007 | name= 2007 Junior Grand Prix Lake Placid }}
returns
Grand Prix Final
* {{ISU competition | domain= isufs.org| id= gpf0708 | name= 2007-2008 Grand Prix Final }}
returns
Junior Grand Prix Final
* {{ISU competition | domain= isufs.org| id= jgpf0708| name= 2007-2008 Junior Grand Prix Final }}
returns
Parameters
| Parameter | Explanation |
|---|---|
| domain | This is the domain name of the results url. The two main URLs used are isufs.org (approx 2003 through 2008) and isuresults.com |
| id | This is the competition identifier. It will contain both letters and numbers. It is what follows the / in the competition URL. The URL for the ISU results page for the 2008 World Championships was http://www.isufs.org/results/wc2008, and so the competition identifier was "wc2008". The naming convention the ISU uses
|
| name | The name of the competition. It defaults to the name of the article. |
See also
| The above documentation is transcluded from Template:ISU competition/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |