Template:RCDB/doc

This template is used to add links to Roller Coaster Database (RCDB) pages at the bottom of articles.

Usage
This template belongs in the external links section of a roller coaster article. The first parameter is mandatory with the second parameter being optional. If the second parameter is not filled, it will default to the article's name. The template will check to see if the article's Wikidata entry has a single RCDB id (note that if it has multiple RCDB's listed, you must put the specific one in the template). If it does, it will use that for the RCDB number without needing to place it in the template itself. If not, the template will require the RCDB number.

Template Data
{ "description": "This template is used to add links to Roller Coaster Database (RCDB) pages at the bottom of articles", "params": { "2": {   "label": "Coaster Name", "description": "Gives the name of the roller coaster in question. If left blank, this parameter will default to the article's name", "type": "string", "required": false }, "1": {    "label": "RCDB Number", "description": "The number found within the url of the roller coasters entry at RCDB.", "type": "number", "required": true } }}