Difference between revisions of "Template:Information"

From DFM Wiki
(Created page with "<div class="hproduct"> <table class="fileinfotpl-type-information toccolours vevent" style="width: 100%;" cellpadding="4"> <!-- Description --> <tr style="vertical-align: top...")
 
(Use Wikipedia Information template)
Line 1: Line 1:
<div class="hproduct">
+
{| summary="A standardized table providing complete information about the file, including description of what it shows and how it was made, copyright status and source." class="toccolours mbox-inside" style="width:100%;" cellpadding="2"
<table class="fileinfotpl-type-information toccolours vevent" style="width: 100%;" cellpadding="4">
+
! style="background:#ccf; text-align:right; vertical-align:top; padding-right: 0.4em; width:15%;" {{#if:{{{Description|{{{description|}}}}}}|id="fileinfotpl_desc"}} |Description
 
+
| {{{Location|}}}
<!-- Description -->
+
{{#if: {{{Description|{{{description|}}}}}}  
<tr style="vertical-align: top">
+
| {{{Description|{{{description}}}}}}  
<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">{{int:wm-license-information-description}}</td>
+
| {{Description missing<noinclude>|category=</noinclude>}}
<td class="description">
+
}}
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}
+
|- style="vertical-align:top;"
</td>
+
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Source|{{{source|}}}}}}|id="fileinfotpl_src"}} | Source
</tr>
+
|  
 
+
{{#if:{{{Source|{{{source|}}}}}}
<!-- Other fields 1 -->
+
| {{{Source|{{{source}}}}}}
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
+
| {{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files with no machine-readable source]]</includeonly>}} No source specified. Please edit this file description and provide a source.
 
+
}}
<!-- Date -->
+
|- style="vertical-align:top;"
<tr style="vertical-align: top">
+
! style="background:#ccf; text-align:right; padding-right:0.4em; white-space:nowrap;" {{#if:{{{Date|{{{date|}}}}}}|id="fileinfotpl_date"}} | Date
<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">{{int:wm-license-information-date}}</td>
+
|
<td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
+
{{{Date|{{{date|}}}}}}
</tr>
+
|- style="vertical-align:top;"
 
+
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Author|{{{author|}}}}}}|id="fileinfotpl_aut"}} | Author
<!-- Source -->
+
|
<tr style="vertical-align: top">
+
{{#if: {{{Author|{{{author|}}}}}}  
<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">{{int:wm-license-information-source}}</td>
+
| {{{Author|{{{author}}}}}}  
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | {{Source missing}} }}</td>
+
| {{Description missing|author information|category=}}{{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files lacking an author]]</includeonly>}}
</tr>
+
}}
 
+
|- style="vertical-align:top;"
<!-- Author -->
+
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Permission|{{{permission|}}}}}}|id="fileinfotpl_perm"|}} | Permission<br /><small>([[Commons:Commons:Reusing content outside Wikimedia|Reusing this file]])</small>
<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">{{int:wm-license-information-author}}</td>
+
{{#if:{{{Permission|{{{permission|}}}}}}
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td>
+
| {{{Permission|{{{permission}}}}}}
</tr>
+
| See below.
 
+
}}
<!-- Permission -->
+
{{#switch: {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}}
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
+
|  =
<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">{{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small></td>
+
| none =
<td>
+
| #default =
{{{permission|{{{Permission|}}} }}}
+
<tr style="vertical-align:top;">
</td>
+
<th style="background:#ccf; text-align:right; padding-right:0.4em;" id="fileinfotpl_ver"> Other versions </th>
 +
<td> {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}} </td>
 
</tr>
 
</tr>
 
}}
 
}}
 
+
{{#switch: {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}}
<!-- Other versions -->
+
|  =  
{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}
+
| - =  
|  =
+
| none =  
| - =
 
| none =
 
 
| #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">{{int:wm-license-information-other-versions}}</td>
+
<th style="background:#ccf; text-align:right; padding-right:0.4em;" id="fileinfotpl_add"> Additional information </th>
<td>
+
<td> {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}} </td>
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
 
</td>
 
 
</tr>
 
</tr>
 
}}
 
}}
 
+
|}<noinclude>
<!-- Other fields -->
+
For usage information, see https://en.wikipedia.org/wiki/Template:Information.
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}} }}} }}} }}}
 
 
 
</table>
 
</div><noinclude>
 
For usage information, see https://www.mediawiki.org/wiki/Template:Information.
 
 
</noinclude>
 
</noinclude>

Revision as of 10:10, 27 May 2021

Description

No description provided.

Source

No source specified. Please edit this file description and provide a source.

Date
Author

No description provided.

Permission
(Reusing this file)

See below.


For usage information, see https://en.wikipedia.org/wiki/Template:Information.