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

Free texts and images.
Jump to navigation Jump to search
imported>EDUCA33E
m gallery/location alignement (for multiple language)
imported>EDUCA33E
m step 2 : test on variable existence / show.hide section / default values
Line 1: Line 1:
{| class="toccolours" border="1" cellpadding="2" cellspacing="0" style="width:100%; text-align:left; border-collapse:collapse;background-color:#EEEFFF"
{| class="toccolours" border="1" cellpadding="2" cellspacing="0" style="width:100%; text-align:left; border-collapse:collapse;background-color:#EEEFFF;"
! colspan="3" style="font-size:120%;background-color:black;color:white"| Painting information
! colspan="3" style="font-size:120%;background-color:black;color:white"| Painting information
<!--
  TITLE
-->
|-
|-
! style="width:20%;background-color:#DDDFFF;color:darkblue; vertical-align: top;"| Title
! style="width:20%;background-color:#DDDFFF;color:darkblue; vertical-align: top;"| Title
| colspan="2" style="background: #ccf;" | {{{Title}}}
| colspan="2" style="background: #ccf;" | {{{Title|-}}}
<!--
  ARTIST/MAKER
-->
|-
|-
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | Artist
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | Artist
| colspan="2" style="background: #ccf" | {{{Artist}}}
| colspan="2" style="background: #ccf" | {{{Artist|-}}}
|-
|-
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | Year
{{#if:{{{Year|}}}|
| colspan="2" | {{{Year|-}}}
<!-- 
  YEAR OF PRODUCTION
-->
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" {{!}} Year
{{!}} colspan="2" {{!}} {{{Year}}}
}}
|-
|-
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | Technique
{{#if:{{{Technique|}}}|
| colspan="2" | {{{Technique|-}}}
<!--
  TECHNIQUE
-->
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" {{!}} Technique
{{!}} colspan="2" {{!}} {{{Technique}}}
}}
|-
|-
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | Dimensions
{{#if:{{{Dimensions|}}}|
| colspan="2" | {{{Dimensions|-}}}
<!--
  DIMENSIONS
-->
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" {{!}} Dimensions
{{!}} colspan="2" {{!}} {{{Dimensions}}}
}}
|-
|-
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | Current location
{{#if:{{{Gallery|{{{Location|}}}}}}|
| width="40%" | {{{Gallery|-}}}
<!--
| width="40%" | {{{Location|-}}}
  GALLERY/LOCATION
-->
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" {{!}} Current location
{{!}} width="40%" {{!}} {{{Gallery|-}}}
{{!}} width="40%" {{!}} {{{Location|-}}}
}}
|-
|-
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | Source
{{#if:{{{Source|}}}|
| colspan="2" | {{{Source|-}}}
<!--
  SOURCE
-->
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" {{!}} Source
{{!}} colspan="2" {{!}} {{{Source}}}
}}
|-
|-
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | Permission
{{#if:{{{Permission|}}}|
| colspan="2" | {{{Permission|-}}}
<!--
  PERMISSION
-->
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" {{!}} Permission
{{!}} colspan="2" {{!}} {{{Permission}}}
}}
{{#switch: {{{other_versions|}}}
{{#switch: {{{other_versions|}}}
|  =
|  =
Line 31: Line 67:
| none =
| none =
| #default = <tr><td style="background: #DDDFFF;color:darkblue; vertical-align: top; font-weight: bold">Other versions</td><td colspan="2">
| #default = <tr><td style="background: #DDDFFF;color:darkblue; vertical-align: top; font-weight: bold">Other versions</td><td colspan="2">
{{{other_versions}}}</td></tr>}}
{{{other_versions}}}</td></tr>
}}
|}<noinclude>
|}<noinclude>
==Brief syntax description==
==Brief syntax description==
<pre><nowiki>
<pre><nowiki>

Revision as of 06:53, 26 February 2007

Painting information
Title -
Artist -

Brief syntax description

{{Painting|
|Title = Title of the painting
|Artist = Author of the painting
|Year = Year of production
|Technique = Painting technique used
|Dimensions = Dimensions of the painting
|Gallery = Art Gallery of (current) location
|Location = City of (current) location
|Source =
|Permission =
|other_versions = (optional variable, can be left out)
}}