Template:Information: Difference between revisions
(Created page with "<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:Description}}</td> <td class="description"> {{ #if: {{{description|{{{Description|}}} }}}...") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
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"> | <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 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"> | <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>{{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"> | <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|}}} }}} | {{{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"> | <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">Author</td> | ||
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td> | <td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td> | ||
</tr> | </tr> | ||
<!-- Permission --> | <!-- Permission --> | ||
{{#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"> | <td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Permission</td> | ||
<td> | <td> | ||
{{{permission|{{{Permission|}}} }}} | {{{permission|{{{Permission|}}} }}} | ||
Line 48: | Line 49: | ||
| #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"> | <td id="fileinfotpl_ver" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">Versions</td> | ||
<td> | <td> | ||
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}} | {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}} |
Latest revision as of 06:34, 29 June 2022
Description |
|
||
Date | |||
Source | |||
Author | |||
Permission | |||
Versions |
Usage
{{Information |Description= |Source= |Date= |Author= |other_versions= }}
A template for showing data on files
Parameter | Description | Type | Status | |
---|---|---|---|---|
Description | Description | A description of the file | String | suggested |
Source | Source | Where the file is from | String | suggested |
Date | Date | File creation date | Date | suggested |
Author | Author | Who made the file | String | optional |
Permission | Permission | Custom reuse information | Unknown | optional |
The above documentation is transcluded from Template:Information/doc. (edit | history)