Template:Cite RCDB/doc
This is a documentation subpage for Template:Cite RCDB. It may contain usage information, categories and other content that is not part of the original template page. |
This Cite RCDB template is used to create standardized inline citations from individual article pages on the Roller Coaster DataBase (RCDB) website, at https://RCDB.com. Based upon the existing template:Cite web, this specific RCDB template, created for simplicity, is pre-filled with the author of the RCDB website and the wikilinked publisher.
Usage
[edit]- Block
{{Cite RCDB
|coaster_name=
|location=
|rcdb_number=
|accessdate=
|url=
}}
- Inline
{{Cite RCDB |coaster_name= |location= |rcdb_number= |accessdate= |url= }}
RefToolbar 2.0
[edit]The simplest way to use this template is with RefToolbar. The following code needs to be copied to your user Javascript file. You will then notice a new Cite tab when editing a page. By clicking on the templates drop down you will find RCDB. Fill in the details and click insert.
$('head').one('reftoolbarbase', function() {
new citeTemplate('Cite RCDB', 'Cite RCDB',
[ // Basic fields
{"field": "coaster_name", "label":"Coaster name"},
{"field": "location", "label":"Park name"},
{"field": "rcdb_number", "label":"RCDB number"},
{"field": "accessdate", "label":"Access date"},
{"field": "url", "label":"URL"}
],
[ // Expanded fields
]);
});
Parameters
[edit]field parameter | description | example |
---|---|---|
coaster_name | Name of the roller coaster as listed on its page on the Roller Coaster DataBase (RCDB) website | Raptor |
location | Amusement park or theme park where the roller coaster is located | Cedar Point |
rcdb_number | Roller Coaster DataBase (RCDB) number of the roller coaster; it is near the end of the RCDB URL | 1 |
accessdate | Date the RCDB website was accessed (and verified) by the editor, in local format (see MOS:DATETIES) | January 1, 2010 |
url | Full URL of RCDB webpage; can be used when referencing search results | https://RCDB.com/1.htm |
Note: The full URL is automatically generated by the |rcdb_number=
field. Use |url=
for RCDB URLs that are not based on the RCDB number, such as with search results.
The examples below show common use cases, with the first citing a coaster and the second citing a coaster model without the |location=
field. Like all citation templates, the markup below must be wrapped with <ref></ref>
tags.
Conditions | Wiki markup | Rendered result |
---|---|---|
|
{{cite RCDB |coaster_name=Fury 325 |location=Carowinds |rcdb_number=12273 |accessdate=December 20, 2024}} |
Marden, Duane. "Fury 325 (Carowinds)". Roller Coaster DataBase. Retrieved December 20, 2024. |
|
{{cite RCDB |coaster_name=SLC |rcdb_number=8106 |accessdate=20 December 2024}} |
Marden, Duane. "SLC". Roller Coaster DataBase. Retrieved 20 December 2024. |
TemplateData
[edit]TemplateData for Cite RCDB
A template to create inline citations from the Roller Coaster DataBase (RCDB) to be used within articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Coaster name | coaster_name | Name of the roller coaster in question (page name of the Roller Coaster DataBase (RCDB) website article) | String | required |
Location | location | Physical location of the roller coaster (amusement park or theme park name) | String | optional |
RCDB number | rcdb_number | Roller Coaster DataBase (RCDB) number of the roller coaster; it is near the end of the RCDB URL (eg: 397) | Number | required |
URL | url | Full RCDB website url of the RCDB entry for the roller coaster | String | optional |
Access date | accessdate | Date when the RCDB website url for the citation was found, and / or subsequently verified by the editor | String | optional |