Difference between revisions of "Template:British-Museum-object"
Jump to navigation
Jump to search
imported>Nihiltres (Converted raw italics to use {{rellink}} instead, because it seems to be that particular sort of metadata…) |
imported>Steel1943 (Template name update) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Hatnote|1=This article is about an item held in the [[British Museum]]. {{#if:{{{1|}}}|Object reference:|}} <!-- |
if 2 -->{{#if: {{{2|}}} |[{{{2|}}}|<!-- | if 2 -->{{#if: {{{2|}}} |[{{{2|}}}|<!-- | ||
else url -->{{#if: {{{url|}}}|[{{{url|}}}|<!-- | else url -->{{#if: {{{url|}}}|[{{{url|}}}|<!-- | ||
Revision as of 01:50, 27 May 2014
Usage
This template takes two parameters, both optional.
The first, unnamed parameter has the text that is shown:
{{British-Museum-object|EA 32751}}→
Then parameter |url= can be used to create an external link:
{{British-Museum-object|The Ringlemere gold cup|url=http://www.britishmuseum.org/explore/highlights/highlight_objects/pe_prb/t/the_ringlemere_gold_cup.aspx}}→
{{British-Museum-object||url=https://www.britishmuseum.org/explore/highlights/highlight_objects/pe_prb/t/the_ringlemere_gold_cup.aspx}}→
Parameter |id=, can be used for the database number instead of the full url. This automatically generates the url for the BM collection database record, with "objectid=" in the url. (This number is not to be confused with the British Museum "registration number", department based "big number" or the image identification numbers shown on photographs).
{{British-Museum-object|EA 32751|id=117645}}→
Note that if |url=, this will have no effect.
Using no parameters may be trivial:
{{British-Museum-object}}→
Notes
- The examples are from Ringlemere Cup and Ginger (mummy).
See also
- {{British Museum}}
- {{British-Museum-100}}
- User:Fæ/BM refs (essay)
| The above documentation is transcluded from Template:British-Museum-object/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |