Difference between revisions of "Template:Cite mac/doc"

From blackwiki
Jump to navigation Jump to search
imported>NerdyScienceDude
(→‎Usage: closing brackets)
imported>HereToHelp
m (bold)
Line 17: Line 17:
  
 
* '''model''' is a [[String (computer science)|string]] that is used to identify the specific Macintosh being cited.
 
* '''model''' is a [[String (computer science)|string]] that is used to identify the specific Macintosh being cited.
* '''appleNumber refers to the 5-character identifier, listed after "Article", on the tech spec page you are citing. [http://support.apple.com/specs/ Search] for articles.
+
* '''appleNumber''' refers to the 5-character identifier, listed after "Article", on the tech spec page you are citing. [http://support.apple.com/specs/ Search] for articles.
 
* '''everyURL''' refers to the ''second half'' of the URL from EveryMac.com, beginning immediately after <code>system/apple/</code>. [http://www.everymac.com/ultimate-mac-lookup/ Find] articles.
 
* '''everyURL''' refers to the ''second half'' of the URL from EveryMac.com, beginning immediately after <code>system/apple/</code>. [http://www.everymac.com/ultimate-mac-lookup/ Find] articles.
 
* '''accessdate''' is today's date.
 
* '''accessdate''' is today's date.

Revision as of 23:18, 23 June 2010

Usage

This is an experimental way to cite the technical specifications of Macintosh models in a uniform way from developer Apple Inc. and third party EveryMac.com. Apple, as a primary source, is the most reliable, but its information is often sparse. EveryMac.com was selected as the least commercial and most reliable of a handful of sites dedicated to legacy Macintosh specifications.

Installation

All users should add the following to their monobook.js or vector.js pages for use with refToolbar 2.0:

importScript('User:Mr.Z-man/refToolbar 2.0.js');
new citeTemplate('cite mac', 'Macintosh',
[ // Basic fields
{"field": "model", "label":"Model name"},
{"field": "appleNumber", "label":"Apple number"}, 
{"field": "everyURL", "label":"EverMac URL", "tooltip": "Only from after /apple/"},
{"field": "accessdate"}
], [ ]);
Parameters
{{cite mac |model= |appleNumber= |everyURL= |accessdate= }}
  • model is a string that is used to identify the specific Macintosh being cited.
  • appleNumber refers to the 5-character identifier, listed after "Article", on the tech spec page you are citing. Search for articles.
  • everyURL refers to the second half of the URL from EveryMac.com, beginning immediately after system/apple/. Find articles.
  • accessdate is today's date.
Example

{{cite mac |model=[[iMac G3]] |appleNumber=SP136 |everyURL=imac/stats/imac_ab.html |accessdate=24 May, 2010}}

yields

Technical specifications of iMac G3 from Apple's knowledge base and from EveryMac.com. Retrieved 24 May, 2010.


See also