Difference between revisions of "Template:Information"

From SC4D Encyclopaedia
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:
<noinclude>{{pp-template}}</noinclude>
+
<!--
{| summary=&quot;A standardized table providing complete information about the file, including description of what it shows and how it was made, copyright status and source.&quot; class=&quot;toccolours mbox-inside&quot; style=&quot;width: 100%&quot; cellpadding=&quot;2&quot;
+
  Automatically detect protected files:
! style=&quot;background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%&quot; id=&quot;fileinfotpl_desc&quot; |Description
+
--><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|}}}}}}  
|- valign=&quot;top&quot;
+
| {{{Description|{{{description}}}}}}  
! style=&quot;background: #ccf; text-align: right; padding-right: 0.4em&quot; id=&quot;fileinfotpl_src&quot; | Source
+
| {{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
 
|
 
|
{{#if:{{{Source|{{{source|}}}}}}|{{{Source|{{{source}}}}}}|<includeonly>[[Category:Images with unknown source|{{PAGENAME}}]]</includeonly> No source specified. Please edit this image description and [[Wikipedia:WP:CITE#IMAGE|provide a source]].}}
+
{{{Date|{{{date|}}}}}}
|- valign=&quot;top&quot;
+
|- style="vertical-align:top;"
! style=&quot;background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap&quot; id=&quot;fileinfotpl_date&quot; | Date
+
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Author|{{{author|}}}}}}|id="fileinfotpl_aut"}} | Author
 
|
 
|
{{{Date|{{{date}}}}}}
+
{{#if: {{{Author|{{{author|}}}}}}
|- valign=&quot;top&quot;
+
| {{{Author|{{{author}}}}}}
! style=&quot;background: #ccf; text-align: right; padding-right: 0.4em&quot; id=&quot;fileinfotpl_aut&quot; | 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: {{{Author|{{{author|}}}}}} | {{{Author|{{{author}}}}}} | {{Description missing|author information|category=}}<includeonly>[[Category:Images lacking an author|{{PAGENAME}}]]</includeonly> }}
+
{{#if:{{{Permission|{{{permission|}}}}}}
|- valign=&quot;top&quot;
+
| {{{Permission|{{{permission}}}}}}
! style=&quot;background: #ccf; text-align: right; padding-right: 0.4em&quot; id=&quot;fileinfotpl_perm&quot; | Permission<br /><small>([[Commons:Commons:Reusing content outside Wikimedia|Reusing this image]])</small>
+
| See below.
|
+
}}
{{#if:{{{Permission|{{{permission|}}}}}}|{{{Permission|{{{permission}}}}}}|See below.}}
+
{{#switch: {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}}
{{#switch: {{{other_versions|}}}
+
|  =
|  =
+
| - =  
| - =
+
| none =
| none =
+
| #default =
| #default = <tr valign=&quot;top&quot;><td style=&quot;background: #ccf; text-align: right; padding-right: 0.4em; font-weight: bold&quot; id=&quot;fileinfotpl_ver&quot;>Other versions</td><td>
+
<tr style="vertical-align:top;">
{{{other_versions}}}</td></tr>}}
+
<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] Documentation icon Template documentation