Jump to content

User:Ernestvoice/vector.js

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Ernestvoice (talk | contribs) at 07:44, 20 December 2010 (added press release template). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
importScript('User:AzaToth/twinkle.js');
importScript('User:Henrik/js/automod.js');
importScript('User:Mr.Z-man/refToolbar 2.0.js');

{{cite press release
 | language = 
 | trans_title =
 | accessdate = 
 | archiveurl = 
 | archivedate = 
 | quote = 
 | ref =
 }}

// Custom cite template definitions
new citeTemplate('cite press release', 'Press Release',
[ // Basic fields
{"field": "url", "label":"URL"},
{"field": "title", "label":"Title"}, 
{"field": "publisher", "label":"Publisher"},
{"field": "date", "label":"Date"},
{"field": "accessdate", "label":"Access Date"},
],
[ // Expanded fields
{"field": "format", "tooltip":"HTML is default"},
{"field": "language", "label":"Language", "tooltip":"English is default"},
{"field": "trans_title", "label":"Translated Title"},
{"field": "archiveurl", "label":"Archive URL"},
{"field": "archivedate", "label":"Archive Date"},
{"field": "quote"},
{"field": "ref"}
]);