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)
Line 1: Line 1:
<table class="toccolours vevent mw-content-en" style="width: 100%; direction: ltr;" cellpadding="4">
+
<!--
 
+
  Automatically detect protected files:
<!-- Description -->
+
--><includeonly>{{#switch: {{PROTECTIONLEVEL:upload}}
<tr style="vertical-align: top">
+
  |sysop|templateeditor|extendedconfirmed={{pp-upload|small=yes}}
<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>
+
}}{{#switch: {{PROTECTIONLEVEL:move}}
<td class="description">
+
  |sysop|templateeditor|extendedconfirmed={{pp-move|small=yes}}
{{{description|{{{Description|}}}}}}
+
}}{{#switch: {{PROTECTIONLEVEL:edit}}
</td>
+
  |sysop={{pp-protected|small=yes}}
</tr>
+
  |templateeditor={{pp-template|small=yes}}
 
+
  |extendedconfirmed={{Pp-30-500|small=yes}}
<!-- Other fields 1 -->
+
  |autoconfirmed={{pp-protected|small=yes}}
{{{other_fields_1|{{{Other_fields_1|{{{other fields 1|{{{Other fields 1|}}} }}} }}} }}}
+
  | <!--Not protected-->
 
+
}}
<!-- Date -->
+
</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"
<tr style="vertical-align: top">
+
! style="background:#ccf; text-align:right; vertical-align:top; padding-right: 0.4em; width:15%;" {{#if:{{{Description|{{{description|}}}}}}|id="fileinfotpl_desc"}} |Description
<td id="fileinfotpl_date" class="fileinfo-paramfield">Date</td>
+
| {{{Location|}}}
<td>{{{date|{{{Date|}}}}}}</td>
+
{{#if: {{{Description|{{{description|}}}}}}
</tr>
+
| {{{Description|{{{description}}}}}}
 
+
| {{Description missing<noinclude>|category=</noinclude>}}
<!-- Source -->
+
}}
<tr style="vertical-align: top">
+
|- style="vertical-align:top;"
<td id="fileinfotpl_src" class="fileinfo-paramfield">Source</td>
+
! style="background:#ccf; text-align:right; padding-right:0.4em;" {{#if:{{{Source|{{{source|}}}}}}|id="fileinfotpl_src"}} | Source
<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>
 
+
}}
<!-- Author -->
+
{{#switch: {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}}
<tr style="vertical-align: top">
+
|  =
<td id="fileinfotpl_aut" class="fileinfo-paramfield">Author</td>
+
| - =
<td>{{{author|{{{Author|}}}}}}</td>
+
| 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>
 
</tr>
 +
}}
 +
|}<noinclude>
  
<!-- Permission -->
+
{{documentation}}
<tr style="vertical-align: top">
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<td id="fileinfotpl_perm" class="fileinfo-paramfield">Permission<br /><small>([[Project:Reusing content outside of Wikimedia|Reusing this file]])</small></td>
+
</noinclude>
<td>
 
{{{permission|{{{Permission|}}}}}}
 
</td>
 
</tr>
 
 
 
<!-- Other fields -->
 
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}}}}}}}}}}}
 
 
 
</table>
 

Revision as of 20:53, 6 April 2017

Description

{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#invoke:Message box|imbox}} }}

Source

No source specified. Please edit this file description and provide a source.

Date
Author

{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#invoke:Message box|imbox}} }}

Permission
(Reusing this file)

See below.