Template:Information: Difference between revisions

Template page
m (let users set the caption property from the infobox template)
m (remove fixed background color)
 
Line 4: Line 4:
<!-- Description -->
<!-- Description -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<td {{ #if: {{{description|{{{Description|}}} }}} | id="fileinfotpl_desc" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Description</td>
<td {{ #if: {{{description|{{{Description|}}} }}} | id="fileinfotpl_desc" }} class="fileinfo-paramfield" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Description</td>
<td class="description">
<td class="description">
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}
Line 15: Line 15:
<!-- Date -->
<!-- Date -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<td {{ #if: {{{date|{{{Date|}}} }}} | id="fileinfotpl_date" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Date</td>
<td {{ #if: {{{date|{{{Date|}}} }}} | id="fileinfotpl_date" }} class="fileinfo-paramfield" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Date</td>
<td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
<td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
</tr>
</tr>
Line 21: Line 21:
<!-- Source -->
<!-- Source -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<td {{ #if: {{{source|{{{Source|}}} }}} | id="fileinfotpl_src" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Source</td>
<td {{ #if: {{{source|{{{Source|}}} }}} | id="fileinfotpl_src" }} class="fileinfo-paramfield" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Source</td>
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | {{Source missing}} }}</td>
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | {{Source missing}} }}</td>
</tr>
</tr>
Line 27: Line 27:
<!-- Author -->
<!-- Author -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<td {{#if: {{{author|{{{Author|}}} }}} | id="fileinfotpl_aut" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Copyright Holder</td>
<td {{#if: {{{author|{{{Author|}}} }}} | id="fileinfotpl_aut" }} class="fileinfo-paramfield" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Copyright Holder</td>
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td>
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td>
</tr>
</tr>
Line 34: Line 34:
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Permission<br /></td>
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Permission<br /></td>
<td>
<td>
{{{permission|{{{Permission|}}} }}}
{{{permission|{{{Permission|}}} }}}
Line 48: Line 48:
| #default =  
| #default =  
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<td id="fileinfotpl_ver" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Other versions</td>
<td id="fileinfotpl_ver" class="fileinfo-paramfield" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Other versions</td>
<td>
<td>
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
Line 56: Line 56:


<tr>
<tr>
<td class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Caption</td>
<td class="fileinfo-paramfield" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Caption</td>
<td>{{#if:{{{caption|}}}|{{#set:Caption={{{caption|}}}}}}}{{#show:{{FULLPAGENAME}}|?Caption}}</td>
<td>{{#if:{{{caption|}}}|{{#set:Caption={{{caption|}}}}}}}{{#show:{{FULLPAGENAME}}|?Caption}}</td>
</tr>
</tr>

Latest revision as of 17:27, 25 November 2020

Description
Date
Source
Copyright Holder
Permission
Other versions
Caption

Information

This template is filled in automatically for images uploaded through the Upload Wizard.

{{Information
|description={{en|1=Color palette}}
|date=2016-10-06
|source=BlazBlue: Central Fiction
|author=Arc System Works
|permission=
|other versions=
|caption=Sets the caption property of the image
}}