Bahaipedia
Bahaipedia
Menu
About Bahaipedia
Ask a question
General help
Random page
Recent changes
In other projects
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Template
Discussion
View history
Talk
Contributions
Create account
Log in
Navigation
About Bahaipedia
Ask a question
General help
Random page
Recent changes
In other projects
Learn more
Core topics
Bahá’í Faith
Central Figures
Teachings
Practices
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Translations

Template:Harvnb

From Bahaipedia
(Redirected from Template:Harvard citation no brackets)
Jump to:navigation, search

[[#CITEREF|]]

Template documentation[view] [edit] [history] [purge]
This documentation is transcluded from Template:Harvnb/doc. (edit | history)

Usage[edit]

{{Harvard citation no brackets 
  | ''Last name of author(s)'' 
  | ''Year'' 
  | ''Location in the text'' 
}}

Alternative to using Location, you may also use the following parameters:

p = page pp = pages

Notes
  • The abbreviation Harvnb may be used.
  • The first parameter is the author's last name.
  • The second parameter is the year of publication.
  • The third parameter is the location of the cited material within the reference. This parameter is optional.
  • The parameter p is an optional page parameter (e.g., "{{ Harvnb | Smith | 2006 | p=25 }}" yields Smith 2006, p. 25.
  • The parameter pp is an optional page range parameter (e.g., "{{ Harvnb | Smith | 2006 | pp=25–26 }}" yields Smith 2006, pp. 25–26.

If Ref=none, then no hyperlink is created.

Examples[edit]

  • {{Harvard citation no brackets | Smith | 2006 | loc=ch. 100}}
  • {{Harvnb | Smith | 2006 | p=25}}
  • {{Harvnb | Smith | 2006 | pp=25–26}}
  • {{Harvnb | Smith | 2006 | pp=25–26 | Ref=none}}
  • {{Harvnb | Smith | Jones | 2006 | p=25}}
  • {{Harvnb | Smith | Jones | Brown | 2006 | p=25}}
  • {{Harvnb | Smith | Jones | Brown | Black | 2006 | p=25}}

yields:

  • Smith 2006, ch. 100
  • Smith 2006, p. 25
  • Smith 2006, pp. 25–26
  • Smith 2006, pp. 25–26
  • Smith & Jones 2006, p. 25
  • Smith, Jones & Brown 2006, p. 25
  • Smith et al. 2006, p. 25

Purpose[edit]

There are limited situations in which it is undesirable to surround a Harvard citation by brackets. An example may be where the citation has been formatted as an inline citation using cite.php. See also Template:Harvard citation.


This template employs intricate features of template syntax.
Please do not alter it unless you understand its setup and parser functions and are ready to repair or revert all collateral damage if results are unexpected.
Any experiments should be conducted and all improvements tested in either the template sandbox or your user space before changing anything here.


Template:Hprotected

The above documentation is transcluded from Template:Harvnb/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://bahaipedia.org/index.php?title=Template:Harvnb&oldid=31146"
Categories:
  • Intricate templates
  • Citation templates
This page was last edited on 24 January 2009, at 09:09.
Text is available under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.
Privacy policy
About Bahaipedia
Disclaimers
Powered by MediaWiki