Template:Artefact: Difference between revisions
From ArchiveWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
Insert username link if it's owned | Insert username link if it's owned | ||
-->{{#if: {{{owner1|}}} | <tr><td>'''Owned by'''</td><td>[[User:{{{owner1}}}|{{{owner1}}}]]</td></tr>}} | -->{{#if: {{{owner1|}}} | <tr><td>'''Owned by'''</td><td>[[User:{{{owner1}}}|{{{owner1}}}]]</td></tr>}}{{#if: {{{owner2|}}} | <tr><td></td><td>[[User:{{{owner2}}}|{{{owner2}}}]]</td></tr>}}{{#if: {{{owner3|}}} | <tr><td></td><td>[[User:{{{owner3}}}|{{{owner3}}}]]</td></tr>}}{{#if: {{{owner4|}}} | <tr><td></td><td>[[User:{{{owner4}}}|{{{owner4}}}]]</td></tr>}}<!-- | ||
{{#if: {{{owner2|}}} | <tr><td></td><td>[[User:{{{owner2}}}|{{{owner2}}}]]</td></tr>}} | |||
{{#if: {{{owner3|}}} | <tr><td></td><td>[[User:{{{owner3}}}|{{{owner3}}}]]</td></tr>}} | |||
{{#if: {{{owner4|}}} | <tr><td></td><td>[[User:{{{owner4}}}|{{{owner4}}}]]</td></tr>}}<!-- | |||
Insert link to archives if it's held at some places | Insert link to archives if it's held at some places | ||
-->{{#if: {{{archive1|}}} | <tr><td>'''Available to view at'''</td><td>[[{{{archive1}}}|{{{archive1}}}]]</td></tr>}} | -->{{#if: {{{archive1|}}} | <tr><td>'''Available to view at'''</td><td>[[{{{archive1}}}|{{{archive1}}}]]</td></tr>}}{{#if: {{{archive2|}}} | <tr><td></td><td>[[{{{archive2}}}|{{{archive2}}}]]</td></tr>}}{{#if: {{{archive3|}}} | <tr><td></td><td>[[{{{archive3}}}|{{{archive3}}}]]</td></tr>}}{{#if: {{{archive4|}}} | <tr><td></td><td>[[{{{archive4}}}|{{{archive4}}}]]</td></tr>}}<!-- | ||
{{#if: {{{archive2|}}} | <tr><td></td><td>[[{{{archive2}}}|{{{archive2}}}]]</td></tr>}} | |||
{{#if: {{{archive3|}}} | <tr><td></td><td>[[{{{archive3}}}|{{{archive3}}}]]</td></tr>}} | |||
{{#if: {{{archive4|}}} | <tr><td></td><td>[[{{{archive4}}}|{{{archive4}}}]]</td></tr>}}<!-- | |||
If not at NA, use manual 'location' field instead | If not at NA, use manual 'location' field instead | ||
Revision as of 02:45, 20 January 2011
This template allows you to insert a standardised table of information at the top of an artefact listing page.
How to use it
You would be well advised to use these parameters:
{{Artefact
| date =
| owner1 = (and so on up to owner4)
| archive1 = (and so on up to archive4)
| type =
}}
Those parameters in full
| date | The date the artefact was made or published. Optional. |
| owner1 | The username of the person who owns this item. If more than one person owns it, continue with parameters owner2, owner3, owner4. It will be automatically turned into a link to that user's page. Optional. |
| archive1 | The title of an archive facility where this artefact can be found. If there's more than one, continue with parameters archive2, archive3, archive4. It will be turned into a link to that archive's page. Optional. |
| type | The type of artefact this is, expressed as the name of the category it's in. So if it's a map, enter Map. It will be turned into a link to that category. Optional. |