Template:RCDB/testcases

1a. called from page Twisted Colossus without parameters: should get id=12282 from Wikidata and description=Twisted Colossus from pagename

1b. called from page No such coaster without parameters: should fail to get id from Wikidata (error) and link to os.htm; description=No such coaster from pagename

1c. called from page Medusa Steel Coaster without parameters: should get id=640 from Wikidata and description=Twisted Colossus from pagename

2a. called from page Twisted Colossus with parameter 1: should accept id 26 overriding id=12282 from Wikidata and description=Twisted Colossus from pagename

2b. called from page No such coaster without parameters: should accept given id and link to 26.htm; description=No such coaster from pagename

2c. called from page Medusa Steel Coaster with parameter 1: should accept id 26 overriding id=640 from Wikidata and description=Twisted Colossus from pagename

3a. called from page Twisted Colossus without parameters: should get id=12282 from Wikidata and description=Colossus from parameter

3b. called from a page with no Wikidata rcid without parameters: should fail to get id from Wikidata (error) and link to os.htm; description=Colossus from parameter

3c. called from page Medusa Steel Coaster without parameters: should get id=640 from Wikidata and description=Colossus from parameter

4a. called from page Twisted Colossus with parameter 1: should accept id 26 overriding id=12282 from Wikidata and description=Colossus from parameter

4b. called from a page with no Wikidata rcid without parameters: should accept given id and link to 26.htm; description=Colossus from parameter

4c. called from page Medusa Steel Coaster with parameter 1: should accept id 26 overriding id=640 from Wikidata and description=Colossus from parameter