ਫਰਮਾ:Cite RCDB/doc
ਇਹ ਇੱਕ ਫਰਮਾ:Cite RCDB ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ 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
[ਸੋਧੋ]- Block
{{Cite RCDB
|coaster_name=
|location=
|rcdb_number=
|accessdate=
|url=
}}
- Inline
{{Cite RCDB |coaster_name= |location= |rcdb_number= |accessdate= |url= }}
RefToolbar 2.0
[ਸੋਧੋ]The simplest way to use this template is with RefToolbar. Registered users can enable this option in the Gadgets tab of the My Preferences menu. After this is enabled, the following code needs to be copied to your skin 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.
importScript('User:Mr.Z-man/refToolbar 2.0.js');
$j('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
[ਸੋਧੋ]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 ) | 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=ਨਵੰਬਰ 18, 2024}} |
Marden, Duane. "Fury 325 (Carowinds)". Roller Coaster DataBase. Retrieved ਨਵੰਬਰ 18, 2024. |
|
{{cite RCDB |coaster_name=SLC |rcdb_number=8106 |accessdate=18 ਨਵੰਬਰ 2024}} |
Marden, Duane. "SLC". Roller Coaster DataBase. Retrieved 18 ਨਵੰਬਰ 2024. |
TemplateData
[ਸੋਧੋ]TemplateData for Cite RCDB
A template to create inline citations from the Roller Coaster DataBase (RCDB) to be used within articles.
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
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 |