Difference between revisions of "Template:British-Museum-object"

From blackwiki
Jump to navigation Jump to search
(shhh)
imported>Spinningspark
(Removing image and table format as discussed)
Line 1: Line 1:
{| class="metadata plainlinks" style="background: transparent;"
+
''This article is about an item held in the [[British Museum]]. {{#if: {{{1|}}} | Object reference:|}} <!--
|-
 
| [[File:Rosetta Stone BW.jpeg|20px|alt=British Museum item]]
 
| ''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|}}}|<!--
Line 9: Line 6:
 
else url -->{{#if: {{{url|}}}|]|<!--
 
else url -->{{#if: {{{url|}}}|]|<!--
 
else id  -->{{#if: {{{id|}}}|]|}}<!--end id-->}}<!--end url-->}}<!--end 2-->''
 
else id  -->{{#if: {{{id|}}}|]|}}<!--end id-->}}<!--end url-->}}<!--end 2-->''
|}<includeonly>[[Category:British Museum-related articles]]</includeonly>
+
<includeonly>[[Category:British Museum-related articles]]</includeonly>
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 23:09, 6 June 2010

This article is about an item held in the British Museum.


Template documentation[view] [edit] [history] [purge]

Usage

This template takes two parameters, both optional.

The first, unnamed parameter has the text that is shown:

  • {{British-Museum-object|EA 32751}}This article is about an item held in the British Museum. Object reference: 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}}This article is about an item held in the British Museum. Object reference: The Ringlemere gold cup.


  • {{British-Museum-object||url=https://www.britishmuseum.org/explore/highlights/highlight_objects/pe_prb/t/the_ringlemere_gold_cup.aspx}}This article is about an item held in the British Museum. [1]


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}}This article is about an item held in the British Museum. Object reference: EA 32751.

Note that if |url=, this will have no effect.

Using no parameters may be trivial:

  • {{British-Museum-object}}This article is about an item held in the British Museum.


Notes

The examples are from Ringlemere Cup and Ginger (mummy).

See also