Difference between revisions of "Template:Image"

From Monoskop
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
=={{int:filedesc}}==
 
=={{int:filedesc}}==
 
<table class="toccolours vevent" style="width: 100%;" cellpadding="4">
 
<table class="toccolours vevent" style="width: 100%;" cellpadding="4">
 +
 +
<!-- Description -->
 +
<tr style="vertical-align: top">
 +
<td id="fileinfotpl_desc" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Description</td>
 +
<td>{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | ''Description is missing'' }}</td>
 +
</tr>
  
 
<!-- Author -->
 
<!-- Author -->
 
<tr style="vertical-align: top">
 
<tr style="vertical-align: top">
<td id="fileinfotpl_aut" style="background: #C4D6F4; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Author</td>
+
<td id="fileinfotpl_aut" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Author</td>
 
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | ''Author is missing'' }}</td>
 
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | ''Author is missing'' }}</td>
 
</tr>
 
</tr>
Line 11: Line 17:
 
<!-- Source -->
 
<!-- Source -->
 
<tr style="vertical-align: top">
 
<tr style="vertical-align: top">
<td id="fileinfotpl_src" style="background: #C4D6F4; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Source</td>
+
<td id="fileinfotpl_src" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Source</td>
 
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | ''Source is missing'' }}</td>
 
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | ''Source is missing'' }}</td>
</tr>
 
 
<!-- Description -->
 
<tr style="vertical-align: top">
 
<td id="fileinfotpl_desc" style="background: #C4D6F4; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Description</td>
 
<td><span class="description">{{ #if: {{{description|{{{Description|}}} }}} | [[has description::{{{description|{{{Description|}}} }}}]] [[has caption::{{{description|{{{Description|}}} }}}| ]]{{#subobject:Meta data|Meta data link=[[{{FULLPAGENAME}}]]: {{{description|{{{Description|}}} }}} }} | ''Description is missing'' }}</span></td>
 
 
</tr>
 
</tr>
  
Line 26: Line 26:
 
<!-- Collection-->
 
<!-- Collection-->
 
<tr style="vertical-align: top">
 
<tr style="vertical-align: top">
<td id="fileinfotpl_aut" style="background: #C4D6F4; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Collection</td>
+
<td id="fileinfotpl_aut" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Collection</td>
<td>{{ #if: {{{collection|{{{Collection|}}} }}} |<!-- DEF --> {{#arraymap:{{{collection|{{{Collection|}}} }}}|;|x|[[has image collection::{{lc:x}}| ]]<!-- ASK -->{{#ask: [[has image collection::{{lc:x}}]]|?has description|limit=0|searchlabel={{lc:x}} }}<!-- END -->|&#32;·&#32;}} | ''N/A'' }}</td>
+
<td>{{ #if: {{{collection|{{{Collection|}}} }}} | {{{collection|{{{Collection|}}} }}} | ''Collection is missing'' }}</td>
 
</tr>
 
</tr>
  

Latest revision as of 22:51, 28 June 2015

Summary

Description Description is missing
Author Author is missing
Source Source is missing
Collection Collection is missing