Template:Information: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(41 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | <div class="hproduct"> | ||
<table class="toccolours vevent" style="width: 100%;" cellpadding="4"> | |||
<!-- Description --> | |||
<tr style="vertical-align: top"> | |||
<td id="fileinfotpl_desc" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">description</td> | |||
<td><span class="description">{{{description|{{{Description|}}} }}} </span></td> | |||
}} | </tr> | ||
<!-- Other fields 1 --> | |||
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}} | |||
<!-- Source --> | |||
<tr style="vertical-align: top"> | |||
<td id="fileinfotpl_src" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">source</td> | |||
<td>{{{source|{{{Source|}}} }}}</td> | |||
</tr> | |||
<!-- Author --> | |||
<tr style="vertical-align: top"> | |||
<td id="fileinfotpl_aut" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">author</td> | |||
<td>{{{author|{{{Author|}}} }}} </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> |
Latest revision as of 14:57, 24 April 2015
description | |
source | |
author |
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 |