Difference between revisions of "Template:Cite Racing Post horse profile/doc"

From blackwiki
Jump to navigation Jump to search
imported>Colonies Chris
imported>Colonies Chris
Line 6: Line 6:
  
 
==Usage==
 
==Usage==
Two parameters are required; the first (positional, unnamed) is the horse identifer (1–6 digits); named parameter {{para|title}} is also required: {{para|date}} is optional:
+
Two parameters are required; {{para|horse-id}} is the horse identifer (1–6 digits); {{para|title}} is also required: {{para|date}} is optional:
{{demo|<nowiki>{{cite Racing Post horse profile|304543|title=Port Etienne stud record}}</nowiki>}}
+
{{demo|<nowiki>{{cite Racing Post horse profile|horse-id=304543|title=Port Etienne stud record}}</nowiki>}}
  
The syntax with typical parameters is as follows:
+
The syntax with all parameters is as follows:
 
{{demo|<nowiki>{{cite Racing Post horse profile
 
{{demo|<nowiki>{{cite Racing Post horse profile
   |300543
+
   |horse-id=304543
 
   |title = Port Etienne stud record
 
   |title = Port Etienne stud record
 
   |date = 15 February 2012
 
   |date = 15 February 2012

Revision as of 22:09, 20 September 2020

This template provides a quick, standard method of citing Racing Post's database of horse profiles for racehorse-related articles in Wikipedia.

It is a wrapper around the standard citation template {{cite web}}. As such it fills out some {{cite web}} parameters, but the full range of parameters provided by WP:CS1 are available. To change the appearance of the output to that of {{citation}} use the parameter |mode=cs2.

Usage

Two parameters are required; |horse-id= is the horse identifer (1–6 digits); |title= is also required: |date= is optional:

{{cite Racing Post horse profile|horse-id=304543|title=Port Etienne stud record}}


"Port Etienne stud record". Racing Post.

The syntax with all parameters is as follows:

{{cite Racing Post horse profile
  |horse-id=304543
  |title = Port Etienne stud record
  |date = 15 February 2012
  }}


"Port Etienne stud record". Racing Post. 15 February 2012.

Maintenance categories

See also