Template:Information: Difference between revisions

From Pornopedia Pool
(Created page with "<table class="toccolours vevent mw-content-en" style="width: 100%; direction: ltr;" cellpadding="4"> <!-- Description --> <tr style="vertical-align: top"> <td id="fileinfotpl_...")
 
No edit summary
Line 1: Line 1:
<table class="toccolours vevent mw-content-en" style="width: 100%; direction: ltr;" cellpadding="4"> <!-- Description --> <tr style="vertical-align: top"> <td id="fileinfotpl_desc" class="fileinfo-paramfield">Description<span class="summary fn" style="display:none">{{PAGENAME}}</span><!-- required for hCalendar and hProduct microformat; though hMedia would be more appropriate --></td> <td class="description"> {{{description|{{{Description|}}}}}} </td> </tr> <!-- Other fields 1 --> {{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}} <!-- Date --> <tr style="vertical-align: top"> <td id="fileinfotpl_date" class="fileinfo-paramfield">Date</td> <td>{{{date|{{{Date|}}}}}}</td> </tr> <!-- Source --> <tr style="vertical-align: top"> <td id="fileinfotpl_src" class="fileinfo-paramfield">Source</td> <td>{{{source|{{{Source|}}}}}}</td> </tr> <!-- Author --> <tr style="vertical-align: top"> <td id="fileinfotpl_aut" class="fileinfo-paramfield">Author</td> <td>{{{author|{{{Author|}}}}}}</td> </tr> <!-- Permission --> <tr style="vertical-align: top"> <td id="fileinfotpl_perm" class="fileinfo-paramfield">Permission<br /><small>([[Project:Reusing content outside of Wikimedia|Reusing this file]])</small></td> <td> {{{permission|{{{Permission|}}}}}} </td> </tr> <tr style="vertical-align: top"> <td id="fileinfotpl_ver" class="fileinfo-paramfield">{{int:wm-license-information-other-versions}}</td> <td> {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}}}}}}}}}}} </td> </tr> <!-- Other fields --> {{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}}}}}}}}}}} </table>
<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="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-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="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>
</tr>
 
<!-- Source -->
<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">{{int:wm-license-information-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="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-author}}</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="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>
<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="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-other-versions}}</td>
<td>
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
</td>
</tr>
}}
 
<!-- Other fields -->
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}} }}} }}} }}}
 
</table>
</div><noinclude>
 
{{documentation|Template:Information/doc}}
 
 
<templatedata>
{
"description": "A template for showing data on files",
"params": {
"Description": {
"label": "Description",
"description": "A description of the file",
"type": "string",
"suggested": true
},
"Source": {
"label": "Source",
"description": "Where the file is from",
"type": "string",
"suggested": true
},
"Date": {
"label": "Date",
"description": "File creation date",
"type": "date",
"suggested": true
},
"Author": {
"label": "Author",
"description": "Who made the file",
"type": "string"
},
"Permission": {
"label": "Permission",
"description": "Custom reuse information"
}
}
}
</templatedata>
</noinclude>

Revision as of 19:48, 14 November 2015

Description
Date
Source
Author
Permission
([this file])
Other versions

Template:Documentation


A template for showing data on files

Template parameters

ParameterDescriptionTypeStatus
DescriptionDescription

A description of the file

Stringsuggested
SourceSource

Where the file is from

Stringsuggested
DateDate

File creation date

Datesuggested
AuthorAuthor

Who made the file

Stringoptional
PermissionPermission

Custom reuse information

Unknownoptional