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>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;" | {{#if:{{{Year|}}}| | ||
<!-- | |||
YEAR OF PRODUCTION | |||
--> | |||
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" {{!}} Year | |||
{{!}} colspan="2" {{!}} {{{Year}}} | |||
}} | |||
|- | |- | ||
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | {{#if:{{{Technique|}}}| | ||
<!-- | |||
TECHNIQUE | |||
--> | |||
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" {{!}} Technique | |||
{{!}} colspan="2" {{!}} {{{Technique}}} | |||
}} | |||
|- | |- | ||
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | {{#if:{{{Dimensions|}}}| | ||
<!-- | |||
DIMENSIONS | |||
--> | |||
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" {{!}} Dimensions | |||
{{!}} colspan="2" {{!}} {{{Dimensions}}} | |||
}} | |||
|- | |- | ||
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | {{#if:{{{Gallery|{{{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;" | {{#if:{{{Source|}}}| | ||
<!-- | |||
SOURCE | |||
--> | |||
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" {{!}} Source | |||
{{!}} colspan="2" {{!}} {{{Source}}} | |||
}} | |||
|- | |- | ||
! style="background: #DDDFFF;color:darkblue; vertical-align: top;" | {{#if:{{{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)
}}