Difference between revisions of "Template:ISU competition/doc"
imported>Txrazy |
imported>Zyxw (merge existing categories, add category, update formatting) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
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. | 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. | ||
| Line 13: | Line 13: | ||
Be careful of extraneous spaces when using the template without the parameter names. | Be careful of extraneous spaces when using the template without the parameter names. | ||
| − | + | == Examples == | |
| − | + | === World Championships === | |
<pre>* {{ISU competition | domain= isufs.org | id= wc2008 | name= 2008 World Championships }}</pre> | <pre>* {{ISU competition | domain= isufs.org | id= wc2008 | name= 2008 World Championships }}</pre> | ||
| Line 21: | Line 21: | ||
* {{ISU competition | domain= isufs.org | id= wc2008 | name= 2008 World Championships }} | * {{ISU competition | domain= isufs.org | id= wc2008 | name= 2008 World Championships }} | ||
| − | + | === World Junior Championships === | |
<pre>* {{ISU competition|isufs.org|wjc2008|2008 World Junior Championships}}</pre> | <pre>* {{ISU competition|isufs.org|wjc2008|2008 World Junior Championships}}</pre> | ||
| Line 28: | Line 28: | ||
* {{ISU competition|isufs.org|wjc2008|2008 World Junior Championships}} | * {{ISU competition|isufs.org|wjc2008|2008 World Junior Championships}} | ||
| − | + | === European Championships === | |
<pre>* {{ISU competition | domain= isuresults.com | id= ec2009 | name= 2009 European Championships }}</pre> | <pre>* {{ISU competition | domain= isuresults.com | id= ec2009 | name= 2009 European Championships }}</pre> | ||
| Line 35: | Line 35: | ||
* {{ISU competition | domain= isuresults.com | id= ec2009 | name= 2009 European Championships }} | * {{ISU competition | domain= isuresults.com | id= ec2009 | name= 2009 European Championships }} | ||
| − | + | === Four Continents Championships === | |
<pre>* {{ISU competition|isuresults.com|fc2008| name=2008 Four Continents Championships}}</pre> | <pre>* {{ISU competition|isuresults.com|fc2008| name=2008 Four Continents Championships}}</pre> | ||
| Line 42: | Line 42: | ||
* {{ISU competition|isuresults.com|fc2008| name=2008 Four Continents Championships}} | * {{ISU competition|isuresults.com|fc2008| name=2008 Four Continents Championships}} | ||
| − | + | === Grand Prix === | |
<pre>* {{ISU competition | domain= isufs.org | id= gpusa07 | name= 2007 Skate America }}</pre> | <pre>* {{ISU competition | domain= isufs.org | id= gpusa07 | name= 2007 Skate America }}</pre> | ||
| Line 49: | Line 49: | ||
* {{ISU competition | domain= isufs.org | id= gpusa07 | name= 2007 Skate America }} | * {{ISU competition | domain= isufs.org | id= gpusa07 | name= 2007 Skate America }} | ||
| − | + | === Junior Grand Prix === | |
<pre>* {{ISU competition | domain= isufs.org | id= jgpusa2007 | name= 2007 Junior Grand Prix Lake Placid }}</pre> | <pre>* {{ISU competition | domain= isufs.org | id= jgpusa2007 | name= 2007 Junior Grand Prix Lake Placid }}</pre> | ||
| Line 56: | Line 56: | ||
* {{ISU competition | domain= isufs.org | id= jgpusa2007 | name= 2007 Junior Grand Prix Lake Placid }} | * {{ISU competition | domain= isufs.org | id= jgpusa2007 | name= 2007 Junior Grand Prix Lake Placid }} | ||
| − | + | === Grand Prix Final === | |
<pre>* {{ISU competition | domain= isufs.org| id= gpf0708 | name= 2007-2008 Grand Prix Final }}</pre> | <pre>* {{ISU competition | domain= isufs.org| id= gpf0708 | name= 2007-2008 Grand Prix Final }}</pre> | ||
| Line 63: | Line 63: | ||
* {{ISU competition | domain= isufs.org| id= gpf0708 | name= 2007-2008 Grand Prix Final }} | * {{ISU competition | domain= isufs.org| id= gpf0708 | name= 2007-2008 Grand Prix Final }} | ||
| − | + | === Junior Grand Prix Final === | |
<pre>* {{ISU competition | domain= isufs.org| id= jgpf0708| name= 2007-2008 Junior Grand Prix Final }}</pre> | <pre>* {{ISU competition | domain= isufs.org| id= jgpf0708| name= 2007-2008 Junior Grand Prix Final }}</pre> | ||
| Line 107: | Line 107: | ||
|- | |- | ||
|} | |} | ||
| + | |||
== See also == | == See also == | ||
* [[Template:ISU name]] | * [[Template:ISU name]] | ||
| − | <includeonly> | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| |
| − | <!-- | + | <!-- Categories go here, and interwikis go in Wikidata --> |
| − | [[Category:Figure skating templates]] | + | [[Category:Figure skating external link templates]] |
| − | [[Category: | + | [[Category:People and person external link templates]] |
| − | + | }}</includeonly> | |
| − | |||
| − | </includeonly> | ||
Revision as of 00:57, 23 April 2014
| 40px | This is a documentation subpage for Template:ISU competition. It contains usage information, categories and other content that is not part of the original template page. |
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