Difference between revisions of "Template:Information"
Jump to navigation
Jump to search
(Created page with "{{#invoke:Information|information | lang = {{#if:{{{lang|}}} | {{{lang}}} | {{int:Lang}} }} | demo = {{{demo|<noinclude>1</noinclude>}}} }}<noinclude> {{template info|1...") |
(Copied the template from https://en.wikipedia.org/w/index.php?title=Template:Information&oldid=774190544) |
||
Line 1: | Line 1: | ||
− | {{# | + | <!-- |
− | + | Automatically detect protected files: | |
− | + | --><includeonly>{{#switch: {{PROTECTIONLEVEL:upload}} | |
− | }}<noinclude> | + | |sysop|templateeditor|extendedconfirmed={{pp-upload|small=yes}} |
+ | }}{{#switch: {{PROTECTIONLEVEL:move}} | ||
+ | |sysop|templateeditor|extendedconfirmed={{pp-move|small=yes}} | ||
+ | }}{{#switch: {{PROTECTIONLEVEL:edit}} | ||
+ | |sysop={{pp-protected|small=yes}} | ||
+ | |templateeditor={{pp-template|small=yes}} | ||
+ | |extendedconfirmed={{Pp-30-500|small=yes}} | ||
+ | |autoconfirmed={{pp-protected|small=yes}} | ||
+ | | <!--Not protected--> | ||
+ | }} | ||
+ | </includeonly>{| 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" | ||
+ | ! style="background:#ccf; text-align:right; vertical-align:top; padding-right: 0.4em; width:15%;" {{#if:{{{Description|{{{description|}}}}}}|id="fileinfotpl_desc"}} |Description | ||
+ | | {{{Location|}}} | ||
+ | {{#if: {{{Description|{{{description|}}}}}} | ||
+ | | {{{Description|{{{description}}}}}} | ||
+ | | {{Description missing<noinclude>|category=</noinclude>}} | ||
+ | }} | ||
+ | |- style="vertical-align:top;" | ||
+ | ! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Source|{{{source|}}}}}}|id="fileinfotpl_src"}} | Source | ||
+ | | | ||
+ | {{#if:{{{Source|{{{source|}}}}}} | ||
+ | | {{{Source|{{{source}}}}}} | ||
+ | | {{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files with no machine-readable source]]</includeonly>}} No source specified. Please edit this file description and [[Wikipedia:Citing sources#Multimedia|provide a source]]. | ||
+ | }} | ||
+ | |- style="vertical-align:top;" | ||
+ | ! style="background:#ccf; text-align:right; padding-right:0.4em; white-space:nowrap;" {{#if:{{{Date|{{{date|}}}}}}|id="fileinfotpl_date"}} | Date | ||
+ | | | ||
+ | {{{Date|{{{date|}}}}}} | ||
+ | |- style="vertical-align:top;" | ||
+ | ! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Author|{{{author|}}}}}}|id="fileinfotpl_aut"}} | Author | ||
+ | | | ||
+ | {{#if: {{{Author|{{{author|}}}}}} | ||
+ | | {{{Author|{{{author}}}}}} | ||
+ | | {{Description missing|author information|category=}}{{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files lacking an author]]</includeonly>}} | ||
+ | }} | ||
+ | |- style="vertical-align:top;" | ||
+ | ! 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> | ||
+ | | | ||
+ | {{#if:{{{Permission|{{{permission|}}}}}} | ||
+ | | {{{Permission|{{{permission}}}}}} | ||
+ | | See below. | ||
+ | }} | ||
+ | {{#switch: {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}} | ||
+ | | = | ||
+ | | - = | ||
+ | | none = | ||
+ | | #default = | ||
+ | <tr style="vertical-align:top;"> | ||
+ | <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> | ||
+ | }} | ||
+ | {{#switch: {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}} | ||
+ | | = | ||
+ | | - = | ||
+ | | none = | ||
+ | | #default = | ||
+ | <tr style="vertical-align:top;"> | ||
+ | <th style="background:#ccf; text-align:right; padding-right:0.4em;" id="fileinfotpl_add"> Additional information </th> | ||
+ | <td> {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}} </td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |}<noinclude> | ||
{{template info|1= | {{template info|1= |
Latest revision as of 18:58, 23 October 2020
Description |
| |
---|---|---|
Source |
No source specified. Please edit this file description and provide a source. | |
Date | ||
Author |
| |
Permission (Reusing this file) |
See below.
|
Template documentation
The file information template.