Difference between revisions of "Template:Information"
Jump to navigation
Jump to search
(Created page with "<noinclude>{{pp-template}}</noinclude> {| summary="A standardized table providing complete information about the file, including description of what it shows and how it w...") |
(Updating to the latest Wikipedia version because the styling was missing from our stylesheet.) |
||
Line 1: | Line 1: | ||
− | < | + | <!-- |
− | {| summary= | + | Automatically detect protected files: |
− | ! style= | + | --><includeonly>{{#switch: {{PROTECTIONLEVEL:upload}} |
+ | |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|}}} | | {{{Location|}}} | ||
− | {{ #if: {{{Description|{{{description|}}}}}} | {{{Description|{{{description}}}}}} | {{Description missing<noinclude>|category=</noinclude>}} }} | + | {{#if: {{{Description|{{{description|}}}}}} |
− | |- | + | | {{{Description|{{{description}}}}}} |
− | ! style= | + | | {{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= | + | ! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Author|{{{author|}}}}}}|id="fileinfotpl_aut"}} | Author |
| | | | ||
− | {{{ | + | {{#if: {{{Author|{{{author|}}}}}} |
− | |- | + | | {{{Author|{{{author}}}}}} |
− | ! style= | + | | {{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: {{{ | + | {{#if:{{{Permission|{{{permission|}}}}}} |
− | |- | + | | {{{Permission|{{{permission}}}}}} |
− | + | | See below. | |
− | + | }} | |
− | {{# | + | {{#switch: {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}} |
− | + | | = | |
− | | = | + | | - = |
− | | - = | + | | none = |
− | | none = | + | | #default = |
− | | #default = <tr | + | <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> | ||
+ | |||
+ | {{documentation}} | ||
+ | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
+ | </noinclude> |
Latest revision as of 08:34, 24 August 2019
Description | |
---|---|
Source |
No source specified. Please edit this file description and provide a source. |
Date | |
Author | |
Permission (Reusing this file) |
See below.
|
[create] Template documentation
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |