Difference between revisions of "Template:Hefferon Linear Algebra/doc"

From blackwiki
Jump to navigation Jump to search
imported>2d37
(Create template documentation. COPYWITHIN declaration: this is based on Template:Axler Measure, Integration & Real Analysis/doc, the sole revision of which is by me.)
 
imported>2d37
(Try to make this sound less scary)
 
Line 14: Line 14:
 
This template defaults to identifying the fourth edition. One could specify a different edition either by using the parameter {{para|edition}}, which causes {{para|date}} and {{para|isbn}} and other identifiers to be set accordingly, or by setting {{para|isbn}}, {{para|date}}, etc. directly.
 
This template defaults to identifying the fourth edition. One could specify a different edition either by using the parameter {{para|edition}}, which causes {{para|date}} and {{para|isbn}} and other identifiers to be set accordingly, or by setting {{para|isbn}}, {{para|date}}, etc. directly.
  
Currently, however, {{para|edition|4th}} is the only supported setting for {{para|edition}} (if this parameter is used at all). That is, if another value of {{para|edition}} is used, the date, ISBN, and other fields may need to be filled in at the transclusion site.
+
Currently, however, {{para|edition|4th}} is the only fully-supported setting for {{para|edition}} (if this parameter is used at all); that is, if another value of {{para|edition}} is used, the date, ISBN, and other fields may need to be filled in by the editor using the template.
  
 
=== Using Citation Style 2 ===
 
=== Using Citation Style 2 ===

Latest revision as of 10:52, 30 December 2020

This is a specific-source template for the textbook Linear Algebra by Jim Hefferon. User:2d37/Templates/Specific-source templates DRY plug

Parameters

|page=, |pages=, |no-pp=, |at=, |chapter=, |quote=, |quote-page=, |quote-pages=, |ref=, |mode=, |postscript=, |date=, |isbn=, ...
{{Hefferon Linear Algebra}} is a template wrapper around {{cite book}}. Any CS1/CS2 parameter may be given to {{Hefferon Linear Algebra}}, which will pass the parameter to the underlying template.

Citing a different edition

This template defaults to identifying the fourth edition. One could specify a different edition either by using the parameter |edition=, which causes |date= and |isbn= and other identifiers to be set accordingly, or by setting |isbn=, |date=, etc. directly.

Currently, however, |edition=4th is the only fully-supported setting for |edition= (if this parameter is used at all); that is, if another value of |edition= is used, the date, ISBN, and other fields may need to be filled in by the editor using the template.

Using Citation Style 2

Despite the {{cs1 wrapper}} message box above, this template can be made to use Citation Style 2 by specifying |mode=cs2, as in the following example:

* {{Hefferon Linear Algebra |mode=cs2}}
  • Linear Algebra (4th ed.), Ann Arbor, Michigan: Orthogonal Publishing, 2020, ISBN 978-1-944325-11-4, OCLC 1178900366, OL 30872051M Unknown parameter |author-given= ignored (help); Unknown parameter |author-surname= ignored (help)