Difference between revisions of "Template:Dictionary of Australian Biography/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(CS1 wrapper)
imported>Billinghurst
(update for shortlink to override link parameter)
Line 8: Line 8:
 
  |first=firstname
 
  |first=firstname
 
  |last=lastname
 
  |last=lastname
  |link=http://gutenberg.net.au/dictbiog/xxxx.html#yyyy
+
  |shortlink = xxxx.html#yyyy
 
  |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>
 
  |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>
}}</nowiki>
+
}}</nowiki> <!-- |link=http://gutenberg.net.au/dictbiog/xxxx.html#yyyy --><!-- url change, updated underlying template remove this instruction -->
  
The {{Para|link}} argument should be determined by copying the link location from the dictionary's [http://gutenberg.net.au/ebooks15/1500721h.html index].
+
The {{Para|shortlink}} argument should be determined by copying the link location component from the dictionary's [http://gutenberg.net.au/ebooks15/1500721h.html index].
 +
 
 +
'''Example''' for the link http://gutenberg.net.au/ebooks15/1500721h/0-dict-biogP-Q.html#paterson1
  
'''Example'''
 
 
  <nowiki>{{Dictionary of Australian Biography
 
  <nowiki>{{Dictionary of Australian Biography
 
  |first=Andrew Barton "Banjo"
 
  |first=Andrew Barton "Banjo"
 
  |last=Paterson
 
  |last=Paterson
  |link=http://gutenberg.net.au/ebooks15/1500721h/0-dict-biogP-Q.html#paterson1
+
  |shortlink=0-dict-biogP-Q.html#paterson1
 
  |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>
 
  |accessdate=</nowiki>{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>
}}</nowiki>
+
}}</nowiki><!--  |link=http://gutenberg.net.au/ebooks15/1500721h/0-dict-biogP-Q.html#paterson1 -->
produces: {{Dictionary of Australian Biography|first=Andrew Barton "Banjo"|last=Paterson|link=http://gutenberg.net.au/ebooks15/1500721h/0-dict-biogP-Q.html#paterson1|accessdate={{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
+
produces: {{Dictionary of Australian Biography|first=Andrew Barton "Banjo"|last=Paterson|shortlink=0-dict-biogP-Q.html#paterson1|accessdate={{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 +
 
 +
<!-- note that the {{para|link}} parameter is still in place and where {{para|shortlink}} is not utilised, then link will -->
  
 
== See also ==
 
== See also ==

Revision as of 09:47, 4 November 2016

This is a template for citations from the Dictionary of Australian Biography; it uses {{Cite encyclopedia}} to do the formatting.

Usage

{{Dictionary of Australian Biography
 |first=firstname
 |last=lastname
 |shortlink = xxxx.html#yyyy
 |accessdate=23 March 2026
}} 

The |shortlink= argument should be determined by copying the link location component from the dictionary's index.

Example for the link http://gutenberg.net.au/ebooks15/1500721h/0-dict-biogP-Q.html#paterson1

{{Dictionary of Australian Biography
 |first=Andrew Barton "Banjo"
 |last=Paterson
 |shortlink=0-dict-biogP-Q.html#paterson1
 |accessdate=23 March 2026
}}

produces: Serle, Percival (1949). "Paterson, Andrew Barton "Banjo"". Dictionary of Australian Biography. Sydney: Angus and Robertson. Retrieved 23 March 2026.


See also