Template:Artefact: Difference between revisions
From ArchiveWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><table style="background: #EEEEEE;"><!-- | ||
<table | |||
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>{{{date}}}</td></tr>}}<!-- | -->{{#if: {{{date|}}} | <tr><td>'''Date'''</td><td>{{{date}}}</td></tr>}}<!-- | ||
Insert | Insert ISBN field if one has been given | ||
-->{{#if: {{{ | -->{{#if: {{{isbn|}}} | <tr><td>'''ISBN number'''</td><td>{{{isbn}}}</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>}} | Insert username link if it's owned | ||
{{#if: {{{archive4|}}} | <tr><td></td><td>[[{{{archive4}}}|{{{archive4}}}]]</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>}}<!-- | ||
Insert type if there is one | |||
-->{{#if: {{{type|}}} | <tr><td>'''Type'''</td><td>[[:Category:{{{type}}}|{{{type}}}]] <span class="small">(see [[:Category:Artefacts|all artefacts]])</span></td></tr>}}<!-- | -->{{#if: {{{type|}}} | <tr><td>'''Type'''</td><td>[[:Category:{{{type}}}|{{{type}}}]] <span class="small">(see [[:Category:Artefacts|all artefacts]])</span></td></tr>}}<!-- | ||
| Line 25: | Line 21: | ||
You would be well advised to use these parameters: | You would be well advised to use these parameters: | ||
<pre>{{ | <pre>{{Artefact | ||
| date = | | date = | ||
| isbn = | |||
| owner1 = (and so on up to owner4) | | owner1 = (and so on up to owner4) | ||
| archive1 = (and so on up to archive4) | | archive1 = (and so on up to archive4) | ||
| Line 37: | Line 34: | ||
|'''date''' | |'''date''' | ||
|The date the artefact was made or published. ''Optional.'' | |The date the artefact was made or published. ''Optional.'' | ||
|- | |||
|'''isbn''' | |||
|The book's ISBN number. ''Optional.'' | |||
|- | |- | ||
|'''owner1''' | |'''owner1''' | ||
Latest revision as of 16:18, 1 March 2014
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 =
| isbn =
| 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. |
| isbn | The book's ISBN number. 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. |