Template:Information/doc: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m (1 revision imported) |
Richardpruen (talk | contribs) m (1 revision imported) |
||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | |||
== Usage == | |||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | |||
<pre>{{Information | |||
|Description= | |||
|Source= | |||
|Date= | |||
|Author= | |||
|other_versions= | |||
}}</pre> | |||
<!-- Categories go here and interwikis go in Wikidata. --> | |||
| | |||
| | |||
| | |||
| | |||
}}</includeonly> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": | "description": "A template for showing data on files", | ||
"params": { | "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", | "type": "string", | ||
" | "suggested": true | ||
}, | }, | ||
" | "Date": { | ||
"label": "Date", | |||
"description": "File creation date", | |||
"type": "date", | |||
"label | "suggested": true | ||
"description": | |||
" | |||
"suggested": true | |||
}, | }, | ||
" | "Author": { | ||
"label": "Author", | |||
"description": "Who made the file", | |||
"label | |||
"description | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "Permission": { | ||
"label": "Permission", | |||
"description": "Custom reuse information" | |||
"label | |||
"description | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 19:39, 4 December 2021
This is a documentation subpage for Template:Information. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
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 |