Jump to content

Template:Parkz/doc

From Wikipedia, the free encyclopedia

This template is used to cite Parkz database entries. It must be wrapped with <ref> tags.

Usage

[edit]
{{Parkz
|ride_name=
|location=
|parkz_number=
|accessdate=
}}

RefToolbar 2.0

[edit]

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('Parkz', 'Parkz',
[ // Basic fields
{"field": "ride_name", "label":"Ride name"},
{"field": "location", "label":"Park name"}, 
{"field": "parkz_number", "label":"Parkz Number"},
{"field": "accessdate", "label":"Access date"}
],
[ // Expanded fields
]);
});

Parameters

[edit]
Parameter Description Example
ride_name The name of the ride as listed on its Parkz page. Reef Diver
location The park where the roller coaster is located. Dreamworld
parkz_number The number of the ride. It appears in the URL. 1
accessdate The date the database was accessed. In local format. 1 January 2010

Example

[edit]
Wiki Markup Result
{{Parkz|ride_name=Reef Diver|location=Dreamworld|parkz_number=1|accessdate=1 January 2010}} "Reef Diver (Dreamworld)". Parkz. Retrieved 1 January 2010.