This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.
Template:Artwork: Difference between revisions
Jump to navigation
Jump to search
imported>Jarekt scale down alternative parameter detection. Add maintenance category for indirect creator/institution addition |
imported>Jarekt add alternative "other fields"; remove automatic insertion of creator templates |
||
| Line 3: | Line 3: | ||
<!-- Artist --> | <!-- Artist --> | ||
{{#if:{{{ | {{#if:{{{artist|{{{Artist|{{{author|{{{Author|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td id="fileinfotpl_aut" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold" class="type">{{int:wm-license-artwork-artist}}</td> | <td id="fileinfotpl_aut" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold" class="type">{{int:wm-license-artwork-artist}}</td> | ||
<td><span class="fn value"> | <td><span class="fn value"> | ||
{{{artist|{{{Artist|{{{author|{{{Author|}}} }}} }}} }}} | |||
}} | |||
</span></td> | </span></td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- Other fields 1 --> | |||
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}} | |||
<!-- Title --> | <!-- Title --> | ||
{{#if:{{{ | {{#if:{{{title|{{{Title|}}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td id="fileinfotpl_art_title" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-title}}</td> | <td id="fileinfotpl_art_title" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-title}}</td> | ||
<td><span class="fn"> | <td><span class="fn"> | ||
{{{ | {{{title|{{{Title|}}} }}} | ||
</span></td> | </span></td> | ||
</tr> | </tr> | ||
| Line 29: | Line 26: | ||
<!-- Description (often used instead of title to describe artworks with no title) --> | <!-- Description (often used instead of title to describe artworks with no title) --> | ||
{{#if:{{{ | {{#if:{{{description|{{{Description|}}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td id="fileinfotpl_desc" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-description}}</td> | <td id="fileinfotpl_desc" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-description}}</td> | ||
<td><span class="description"> | <td><span class="description"> | ||
{{{ | {{{description|{{{Description|}}} }}} | ||
</span></td> | </span></td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- Other fields 2 --> | |||
{{{other_fields_2|{{{Other_fields_2|{{{other fields 2|{{{Other fields 2|}}} }}} }}} }}} | |||
<!-- Date --> | <!-- Date --> | ||
{{#if:{{{ | {{#if:{{{date|{{{Date| {{{year|{{{Year|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}{{{strict|1}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td id="fileinfotpl_date" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-date}}</td> | <td id="fileinfotpl_date" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-date}}</td> | ||
<td> | <td> | ||
{{ISOdate|{{{ | {{ISOdate|{{{date|{{{Date| {{{year|{{{Year|}}} }}} }}} }}} }} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 49: | Line 49: | ||
<!-- Medium --> | <!-- Medium --> | ||
{{#if:{{{ | {{#if:{{{medium|{{{Medium| {{{technique|{{{Technique|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td id="fileinfotpl_art_medium" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-medium}}</td> | <td id="fileinfotpl_art_medium" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-medium}}</td> | ||
<td> | <td> | ||
{{{ | {{{medium|{{{Medium| {{{technique|{{{Technique|}}} }}} }}} }}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 59: | Line 59: | ||
<!-- Dimensions --> | <!-- Dimensions --> | ||
{{#if:{{{ | {{#if:{{{dimensions|{{{Dimensions|{{{size|{{{Size|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td id="fileinfotpl_art_dimensions" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-dimensions}}</td> | <td id="fileinfotpl_art_dimensions" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-dimensions}}</td> | ||
<td> | <td> | ||
{{{ | {{{dimensions|{{{Dimensions|{{{size|{{{Size|}}} }}} }}} }}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 69: | Line 69: | ||
<!-- Gallery/Location --> | <!-- Gallery/Location --> | ||
{{#if:{{{ | {{#if:{{{institution|{{{Institution|{{{gallery|{{{Gallery|{{{museum|{{{Museum|}}} }}} }}} }}} }}} }}}{{{location|{{{Location|}}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td id="fileinfotpl_art_gallery" rowspan="2" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-current-location}}</td> | <td id="fileinfotpl_art_gallery" rowspan="2" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-current-location}}</td> | ||
| Line 76: | Line 76: | ||
|{{{Institution|{{{institution|{{{Gallery|{{{gallery|{{{Museum|{{{museum|}}} }}} }}} }}} }}} }}} | |{{{Institution|{{{institution|{{{Gallery|{{{gallery|{{{Museum|{{{museum|}}} }}} }}} }}} }}} }}} | ||
|{{#ifexist: Institution:{{{Institution|{{{institution|{{{Gallery|{{{gallery|{{{Museum|{{{museum|}}} }}} }}} }}} }}} }}} | |{{#ifexist: Institution:{{{Institution|{{{institution|{{{Gallery|{{{gallery|{{{Museum|{{{museum|}}} }}} }}} }}} }}} }}} | ||
|{{Institution:{{{Institution|{{{institution|{{{Gallery|{{{gallery|{{{Museum|{{{museum|}}} }}} }}} }}} }}} }}} }} | |{{Institution:{{{Institution|{{{institution|{{{Gallery|{{{gallery|{{{Museum|{{{museum|}}} }}} }}} }}} }}} }}} }} | ||
|{{{Institution|{{{institution|{{{Gallery|{{{gallery|{{{Museum|{{{museum|}}} }}} }}} }}} }}} }}} | |{{{Institution|{{{institution|{{{Gallery|{{{gallery|{{{Museum|{{{museum|}}} }}} }}} }}} }}} }}} | ||
}} | }} | ||
| Line 84: | Line 84: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td id="fileinfotpl_art_location"><span class="locality"> | <td id="fileinfotpl_art_location"><span class="locality"> | ||
{{City|{{{ | {{City|{{{location|{{{Location|}}} }}} }} | ||
</span></td> | </span></td> | ||
</tr> | </tr> | ||
| Line 90: | Line 90: | ||
<!-- Identification # --> | <!-- Identification # --> | ||
{{#if:{{{ | {{#if:{{{accession number|{{{Accession number| {{{id|{{{Id|{{{ID|}}} }}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-id}}</td> | <td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-id}}</td> | ||
<td><span class="identifier"> | <td><span class="identifier"> | ||
{{{ | {{{accession number|{{{Accession number| {{{id|{{{Id|{{{ID|}}} }}} }}} }}} }}} | ||
</span></td> | </span></td> | ||
</tr> | </tr> | ||
| Line 100: | Line 100: | ||
<!-- Object history --> | <!-- Object history --> | ||
{{#if:{{{ | {{#if:{{{object history|{{{Object history|{{{object_history|{{{Object_history|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-object-history}}</td> | <td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-object-history}}</td> | ||
<td> | <td> | ||
{{{ | {{{object history|{{{Object history|{{{object_history|{{{Object_history|}}} }}} }}} }}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 110: | Line 110: | ||
<!-- Credit line --> | <!-- Credit line --> | ||
{{#if:{{{ | {{#if:{{{credit line|{{{Credit line|{{{credit_line|{{{Credit_line|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-credit-line}}</td> | <td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-credit-line}}</td> | ||
<td> | <td> | ||
{{{ | {{{credit line|{{{Credit line|{{{credit_line|{{{Credit_line|}}} }}} }}} }}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 120: | Line 120: | ||
<!-- Inscriptions --> | <!-- Inscriptions --> | ||
{{#if:{{{ | {{#if:{{{inscriptions|{{{Inscriptions|}}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:Wm-license-artwork-inscriptions}}</td> | <td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:Wm-license-artwork-inscriptions}}</td> | ||
<td> | <td> | ||
{{{ | {{{inscriptions|{{{Inscriptions|}}} }}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 130: | Line 130: | ||
<!-- Notes --> | <!-- Notes --> | ||
{{#if:{{{ | {{#if:{{{notes|{{{Notes|}}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-notes}}</td> | <td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-notes}}</td> | ||
<td> | <td> | ||
{{{ | {{{notes|{{{Notes|}}} }}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- Other fields 1 --> | |||
{{{other_fields_3|{{{Other_fields_3|{{{other fields 3|{{{Other fields 3|}}} }}} }}} }}} | |||
<!-- References --> | <!-- References --> | ||
{{#if:{{{ | {{#if:{{{references|{{{References|}}} }}}{{{demo|<noinclude>1</noinclude>}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-references}}</td> | <td style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-references}}</td> | ||
<td> | <td> | ||
{{{ | {{{references|{{{References|<references/>}}} }}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 150: | Line 153: | ||
<!-- Source --> | <!-- Source --> | ||
{{#if:{{{ | {{#if:{{{source|{{{Source|}}} }}}{{{demo|<noinclude>1</noinclude>}}}{{{strict|1}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td id="fileinfotpl_src" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-source}}</td> | <td id="fileinfotpl_src" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-artwork-source}}</td> | ||
<td> | <td> | ||
{{ #if: {{{ | {{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | {{Source missing}} }} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 160: | Line 163: | ||
<!-- Permission --> | <!-- Permission --> | ||
{{#if:{{{ | {{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}{{{strict|1}}}| | ||
<tr valign="top"> | <tr valign="top"> | ||
<td id="fileinfotpl_perm" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small></td> | <td id="fileinfotpl_perm" style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small></td> | ||
<td> | <td> | ||
{{ #if: {{{ | {{ #if: {{{permission|{{{Permission|}}} }}} | {{{permission|{{{Permission|}}} }}} | {{int:wm-license-information-permission-see-below}} }} | ||
</td> | </td> | ||
</tr> | </tr> | ||
| Line 187: | Line 190: | ||
</table> | </table> | ||
</div>{{#ifeq:{{NAMESPACE}}|File|{{#if:{{{Author|}}}{{{author|}}}{{{Year|}}}{{{year|}}}{{{Size|}}}{{{size|}}}{{{ | </div><!-- | ||
-->{{#ifeq:{{NAMESPACE}}|File| | |||
{{#if:{{{Author|}}}{{{author|}}}{{{Year|}}}{{{year|}}}{{{Size|}}}{{{size|}}}{{{Museum|}}}{{{museum|}}}|[[Category:Artwork template maintenance]]}} | |||
{{#ifeq:"{{Str left|{{{Artist|{{{artist|{{{Author|{{{author|}}} }}} }}} }}}|1}}"|"<" | |||
||{{#ifexist: Creator:{{{Artist|{{{artist|{{{Author|{{{author|}}} }}} }}} }}} | |||
|[[Category:Artwork template with implicit creator]] | |||
}} | |||
}} | |||
{{#ifeq:"{{Str left|{{{institution|{{{Institution|{{{gallery|{{{Gallery|{{{museum|{{{Museum|}}} }}} }}} }}} }}} }}}|1}}"|"<" | |||
||{{#ifexist:Institution:{{{institution|{{{Institution|{{{gallery|{{{Gallery|{{{museum|{{{Museum|}}} }}} }}} }}} }}} }}} | |||
| [[Category:Artwork template with implicit institution]] | |||
}} | |||
}} | |||
}}<!-- | |||
--><noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 16:07, 18 July 2011
| ⧼wm-license-artwork-artist⧽ | |
| ⧼wm-license-artwork-title⧽ | |
| ⧼wm-license-information-description⧽ | |
| ⧼wm-license-information-date⧽ | |
| ⧼wm-license-artwork-medium⧽ | |
| ⧼wm-license-artwork-dimensions⧽ | |
| ⧼wm-license-artwork-current-location⧽ | |
| ⧼wm-license-artwork-id⧽ | |
| ⧼wm-license-artwork-object-history⧽ | |
| ⧼wm-license-artwork-credit-line⧽ | |
| ⧼Wm-license-artwork-inscriptions⧽ | |
| ⧼wm-license-artwork-notes⧽ | |
| ⧼wm-license-artwork-references⧽ | |
| ⧼wm-license-artwork-source⧽ | |
| ⧼wm-license-information-permission⧽ (Reusing this file) |
⧼wm-license-information-permission-see-below⧽ |
Documentation
(English) This documentation is transcluded from Template:Artwork/documentation (view | edit | history).
(Français) Cette documentation est incluse dans la sous-page Template:Artwork/documentation (voir | editer | historique).
(Polski) Ta dokumentacja jest dołączana ze strony Template:Artwork/documentation (zobacz | edytuj | historia).