Template:Information: Difference between revisions

Template page
(Barebones template for now)
 
m (remove fixed background color)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="hproduct">
<table class="fileinfotpl-type-information toccolours vevent" style="width: 100%;" cellpadding="4">
<!-- Description -->
<tr style="vertical-align: top">
<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">
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}
</td>
</tr>
<!-- Other fields 1 -->
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
<!-- Date -->
<tr style="vertical-align: top">
<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>
</tr>
<!-- Source -->
<tr style="vertical-align: top">
<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>
</tr>
<!-- Author -->
<tr style="vertical-align: top">
<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>
</tr>
<!-- Permission -->
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
<tr style="vertical-align: top">
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Permission<br /></td>
<td>
{{{permission|{{{Permission|}}} }}}
</td>
</tr>
}}
<!-- Other versions -->
{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}
|  =
| - =
| none =
| #default =
<tr style="vertical-align: top">
<td id="fileinfotpl_ver" class="fileinfo-paramfield" style="text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Other versions</td>
<td>
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
</td>
</tr>
}}
<tr>
<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>
</tr>
<!-- Other fields -->
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}} }}} }}} }}}<!--
Set page properties
-->{{#set:Date={{{date|{{{Date|}}} }}}}}
</table>
</div>
<noinclude>
==Information==
This template is filled in automatically for images uploaded through the Upload Wizard.
<pre><nowiki>
{{Information
{{Information
|description   =
|description={{en|1=Color palette}}
|date           =
|date=2016-10-06
|source         =
|source=BlazBlue: Central Fiction
|author         =
|author=Arc System Works
|permission     =
|permission=
|other versions =
|other versions=
|caption=Sets the caption property of the image
}}
}}
</nowiki></pre>
[[Category:Templates]]
</noinclude>

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
}}