"Canadian Civil Aircraft Register: Quick Search Result for {{{1}}}". Transport Canada.
This template uses Lua: |
Template:TCregister (edit | talk | history | links | watch | logs) is used to create a reference to the Canadian Civil Aircraft Register operated by Transport Canada for the fleet of an airline. It is meant to be used within <ref>...</ref>
tags and it uses {{Cite web}}. The registry can be searched at https://wwwapps.tc.gc.ca/Saf-Sec-Sur/2/CCARCS-RIACC/RchSimp.aspx with the "Owner Name" field corresponding to |1=
of this template.
Parameters edit
|1=
- (required) The owner name used in the registry. The template automatically make this uppercase and replaces spaces with+
for use in the URL, but it should be uppercase when|2=
is supplied. Don't just assume all airlines are in the registry using the name of the airline, if at all.|2=
- (recommended) The friendly name to be displayed in the title of the reference, defaults to|1=
.|3=
- (recommended) The full date when the registry was accessed. Passed directly to {{Cite web}}.
Examples edit
The following 3 examples will all return the same result:
{{TCregister|AIR+CANADA|Air Canada|2020-07-07}}
- "Canadian Civil Aircraft Register: Quick Search Result for Air Canada". Transport Canada. Retrieved 2020-07-07.{{TCregister|AIR CANADA|Air Canada|2020-07-07}}
- "Canadian Civil Aircraft Register: Quick Search Result for Air Canada". Transport Canada. Retrieved 2020-07-07.{{TCregister|Air Canada||2020-07-07}}
- "Canadian Civil Aircraft Register: Quick Search Result for Air Canada". Transport Canada.
TemplateData edit
Used to create a reference to the Canadian Civil Aircraft Register operated by Transport Canada.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Owner name | 1 | The owner name in the registry
| String | required |
Airline name | 2 | The name of the airline/the friendly name
| String | suggested |
Access date | 3 | The date the registry was accessed
| Date | suggested |