Info-icon.png We have moved to https://openmodeldb.info/. This new site has a tag and search system, which will make finding the right models for you much easier! If you have any questions, ask here: https://discord.gg/cpAUpDK

Difference between revisions of "Template:Information"

From Upscale Wiki
Jump to navigation Jump to search
(update category unknown source -> no machine-readable source. Unclutters main category so malformed tags can be easily identified)
m (1 revision imported)
Line 1: Line 1:
<!--
+
<table class="toccolours vevent mw-content-en" style="width: 100%; direction: ltr;" cellpadding="4">
  Automatically detect protected files:
+
 
--><includeonly>{{#switch: {{PROTECTIONLEVEL:upload}}
+
<!-- Description -->
  |sysop|templateeditor|extendedconfirmed={{pp-upload|small=yes}}
+
<tr style="vertical-align: top">
}}{{#switch: {{PROTECTIONLEVEL:move}}
+
<td id="fileinfotpl_desc" class="fileinfo-paramfield">Description<span class="summary fn" style="display:none">{{PAGENAME}}</span><!-- required for hCalendar and hProduct microformat; though hMedia would be more appropriate --></td>
  |sysop|templateeditor|extendedconfirmed={{pp-move|small=yes}}
+
<td class="description">
}}{{#switch: {{PROTECTIONLEVEL:edit}}
+
{{{description|{{{Description|}}}}}}
  |sysop={{pp-protected|small=yes}}
+
</td>
  |templateeditor={{pp-template|small=yes}}
+
</tr>
  |extendedconfirmed={{Pp-30-500|small=yes}}
+
 
  |autoconfirmed={{pp-protected|small=yes}}
+
<!-- Other fields 1 -->
  | <!--Not protected-->
+
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
}}
+
 
</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"
+
<!-- Date -->
! style="background:#ccf; text-align:right; vertical-align:top; padding-right: 0.4em; width:15%;" {{#if:{{{Description|{{{description|}}}}}}|id="fileinfotpl_desc"}} |Description
+
<tr style="vertical-align: top">
| {{{Location|}}}
+
<td id="fileinfotpl_date" class="fileinfo-paramfield">Date</td>
{{#if: {{{Description|{{{description|}}}}}}  
+
<td>{{{date|{{{Date|}}}}}}</td>
| {{{Description|{{{description}}}}}}
+
</tr>
| {{Description missing<noinclude>|category=</noinclude>}}
+
 
}}
+
<!-- Source -->
|- style="vertical-align:top;"
+
<tr style="vertical-align: top">
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Source|{{{source|}}}}}}|id="fileinfotpl_src"}} | Source
+
<td id="fileinfotpl_src" class="fileinfo-paramfield">Source</td>
|
+
<td>{{{source|{{{Source|}}}}}}</td>
{{#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>
 
</tr>
}}
+
 
{{#switch: {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}}
+
<!-- Author -->
|  =
+
<tr style="vertical-align: top">
| - =
+
<td id="fileinfotpl_aut" class="fileinfo-paramfield">Author</td>
| none =
+
<td>{{{author|{{{Author|}}}}}}</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>
}}
 
|}<noinclude>
 
  
{{documentation}}
+
<!-- Permission -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
<tr style="vertical-align: top">
</noinclude>
+
<td id="fileinfotpl_perm" class="fileinfo-paramfield">Permission<br /><small>([[Project:Reusing content outside of Wikimedia|Reusing this file]])</small></td>
 +
<td>
 +
{{{permission|{{{Permission|}}}}}}
 +
</td>
 +
</tr>
 +
 
 +
<!-- Other fields -->
 +
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}}}}}}}}}}}
 +
 
 +
</table>

Revision as of 00:39, 14 August 2019

Description
Date
Source
Author
Permission
(Reusing this file)