ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Cite RCDB/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

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.

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.

Example use cases
Conditions Wiki markup Rendered result
  • Coaster name
  • Park name
  • Month–day–year (MDY)
{{cite RCDB |coaster_name=Fury 325 |location=Carowinds |rcdb_number=12273 |accessdate=ਨਵੰਬਰ 17, 2024}} Marden, Duane. "Fury 325  (Carowinds)". Roller Coaster DataBase. Retrieved ਨਵੰਬਰ 17, 2024.
  • Model name
  • Day–month–year (DMY)
{{cite RCDB |coaster_name=SLC |rcdb_number=8106 |accessdate=17 ਨਵੰਬਰ 2024}} Marden, Duane. "SLC". Roller Coaster DataBase. Retrieved 17 ਨਵੰਬਰ 2024.

TemplateData

[ਸੋਧੋ]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Cite RCDB

A template to create inline citations from the Roller Coaster DataBase (RCDB) to be used within articles.

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
Coaster namecoaster_name

Name of the roller coaster in question (page name of the Roller Coaster DataBase (RCDB) website article)

Stringrequired
Locationlocation

Physical location of the roller coaster (amusement park or theme park name)

Stringoptional
RCDB numberrcdb_number

Roller Coaster DataBase (RCDB) number of the roller coaster; it is near the end of the RCDB URL (eg: 397)

Numberrequired
URLurl

Full RCDB website url of the RCDB entry for the roller coaster

Stringoptional
Access dateaccessdate

Date when the RCDB website url for the citation was found, and / or subsequently verified by the editor

Stringoptional