Template:Artefact: Difference between revisions
From ArchiveWiki
Jump to navigationJump to search
New page: <includeonly> <table class="toc colour" style="background: #EEEEEE;"><!-- Insert date range field if one has been given -->{{#if: {{{date|}}} | <tr><td>'''Date'''</td><td>{{{daterange}}}<... |
No edit summary |
||
| Line 3: | Line 3: | ||
Insert date range field if one has been given | Insert date range field if one has been given | ||
-->{{#if: {{{date|}}} | <tr><td>'''Date'''</td><td>{{{ | -->{{#if: {{{date|}}} | <tr><td>'''Date'''</td><td>{{{date}}}</td></tr>}}<!-- | ||
Insert username link if it's owned | Insert username link if it's owned | ||
| Line 12: | Line 12: | ||
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>[[ | -->{{#if: {{{archive1|}}} | <tr><td>'''Available to view at'''</td><td>[[{{{archive1}}}|{{{archive1}}}]]</td></tr>}} | ||
{{#if: {{{archive2|}}} | <tr><td></td><td>[[ | {{#if: {{{archive2|}}} | <tr><td></td><td>[[{{{archive2}}}|{{{archive2}}}]]</td></tr>}} | ||
{{#if: {{{archive3|}}} | <tr><td></td><td>[[ | {{#if: {{{archive3|}}} | <tr><td></td><td>[[{{{archive3}}}|{{{archive3}}}]]</td></tr>}} | ||
{{#if: {{{archive4|}}} | <tr><td></td><td>[[ | {{#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 | ||
-->{{#if: {{{type|}}} | <tr><td>'''Type'''</td><td>[[:Category:{{{type}}}]] <span class="small">(see [[:Category:Artefacts| | -->{{#if: {{{type|}}} | <tr><td>'''Type'''</td><td>[[:Category:{{{type}}}|{{{type}}}]] <span class="small">(see [[:Category:Artefacts|all artefacts]])</span></td></tr>}}<!-- | ||
--></table>__NOTOC__</includeonly><noinclude>This template allows you to insert a standardised table of information at the top of an artefact listing page. | --></table>__NOTOC__</includeonly><noinclude>This template allows you to insert a standardised table of information at the top of an artefact listing page. | ||
Revision as of 02:15, 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:
{{Header
| 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. |