Template:Information: Difference between revisions

From Research Realm
No edit summary
No edit summary
Line 1: Line 1:
<!--
<div class="hproduct commons-file-information-table">
  Automatically detect protected files:
<table class="toccolours vevent fileinfotpl-type-information" style="width: 100%;" cellpadding="4">
--><includeonly>{{#switch: {{PROTECTIONLEVEL:upload}}
 
  |sysop|templateeditor|extendedconfirmed={{pp-upload|small=yes}}
<!-- Description -->
}}{{#switch: {{PROTECTIONLEVEL:move}}
<tr style="vertical-align: top">
  |sysop|templateeditor|extendedconfirmed={{pp-move|small=yes}}
<td id="fileinfotpl_desc" class="fileinfo-paramfield">{{int:wm-license-information-description}}<span class="summary fn" style="display:none">{{PAGENAME}}</span></td>
}}{{#switch: {{PROTECTIONLEVEL:edit}}
<td class="description">{{{description|{{{Description}}}}}}</td>
  |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%; padding: 5px;" 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}}}}}}
| {{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files lacking a description]]</includeonly>}} ''This file has no '''description''', and may be lacking other information.. If you know or have access to such information, please add it to the file page.
}}
|- 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: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"}} class="fileinfo-paramfield" | 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}}}}}}
| {{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files lacking an author]]</includeonly>}} ''This file is missing information about its '''author''' or '''owner'''. If you know or have access to such information, please add it to the file page.
}}
|- 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>
</tr>
}}<!--
 
-->{{#switch: {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}}
<!-- Source -->
|  =
<tr style="vertical-align: top">
| - =
<td id="fileinfotpl_src" class="fileinfo-paramfield">{{int:wm-license-information-source}}</td>
| none =
<td>{{{source|{{{Source}}}}}}</td>
| #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>
</tr>
}}
 
|}
<!-- Author -->
<tr style="vertical-align: top">
<td id="fileinfotpl_aut" class="fileinfo-paramfield">{{int:wm-license-information-author}}</td>
<td>{{{author|{{{Author}}}}}}</td>
</tr>
 
</table>
</div>

Revision as of 03:28, 3 February 2023

⧼wm-license-information-description⧽ {{{Description}}}
⧼wm-license-information-source⧽ {{{Source}}}
⧼wm-license-information-author⧽ {{{Author}}}