Template:Information: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported)
imported>Izno
(use templatestyles)
 
Line 1: Line 1:
<div class="hproduct">
<!--
<table class="fileinfotpl-type-information toccolours vevent" style="width: 100%;" 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 {{ #if: {{{description|{{{Description|}}} }}} | id="fileinfotpl_desc" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-description}}</td>
  |sysop|templateeditor|extendedconfirmed={{pp-move|small=yes}}
<td class="description">
}}{{#switch: {{PROTECTIONLEVEL:edit}}
{{ #if: {{{description|{{{Description|}}} }}} | {{{description|{{{Description|}}} }}} | {{Description missing}} }}
  |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><templatestyles src="Information/styles.css"/>
<!-- Date -->
{| class="file-information"
<tr style="vertical-align: top">
|+ File information
<td {{ #if: {{{date|{{{Date|}}} }}} | id="fileinfotpl_date" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-date}}</td>
|-
<td>{{ISOdate|{{{date|{{{Date|}}} }}} }}</td>
! scope="row" {{#if:{{{Description|{{{description|}}}}}}|id="fileinfotpl_desc"}} |Description
</tr>
| {{{Location|}}}
 
{{#if: {{{Description|{{{description|}}}}}}  
<!-- Source -->
| {{{Description|{{{description}}}}}}  
<tr style="vertical-align: top">
| {{Description missing<noinclude>|category=</noinclude>}}
<td {{ #if: {{{source|{{{Source|}}} }}} | id="fileinfotpl_src" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-source}}</td>
}}
<td>{{ #if: {{{source|{{{Source|}}} }}} | {{{source|{{{Source|}}} }}} | {{Source missing}} }}</td>
|-
</tr>
! scope="row" {{#if:{{{Source|{{{source|}}}}}}|id="fileinfotpl_src"}} | Source
 
|
<!-- Author -->
{{#if:{{{Source|{{{source|}}}}}}
<tr style="vertical-align: top">
| {{{Source|{{{source}}}}}}
<td {{#if: {{{author|{{{Author|}}} }}} | id="fileinfotpl_aut" }} class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-author}}</td>
| {{#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]].
<td>{{ #if: {{{author|{{{Author|}}} }}} | {{{author|{{{Author|}}} }}} | {{Author missing}} }}</td>
}}
</tr>
|-
 
! scope="row" {{#if:{{{Date|{{{date|}}}}}}|id="fileinfotpl_date"}} | Date
<!-- Permission -->
|
{{#if:{{{permission|{{{Permission|}}} }}}{{{demo|<noinclude>1</noinclude>}}}|
{{{Date|{{{date|}}}}}}
<tr style="vertical-align: top">
|-
<td id="fileinfotpl_perm" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-permission}}<br /><small>([[{{int:wm-license-information-permission-reusing-link}}|{{int:wm-license-information-permission-reusing-text}}]])</small></td>
! scope="row" {{#if:{{{Author|{{{author|}}}}}}|id="fileinfotpl_aut"}} | Author
<td>
|
{{{permission|{{{Permission|}}} }}}
{{#if: {{{Author|{{{author|}}}}}}  
</td>
| {{{Author|{{{author}}}}}}  
</tr>
| {{Description missing|author information|category=}}{{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files lacking an author]]</includeonly>}}
}}
|-
! scope="row" {{#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 =  
{{!}}-
! scope="row" id="fileinfotpl_ver" {{!}} Other versions
{{!}} {{{Other_versions| {{{other_versions| {{{other versions|}}} }}} }}}
}}
}}
 
{{#switch: {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}}
<!-- Other versions -->
|  =  
{{#switch: {{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}{{{demo|<noinclude>1</noinclude>}}}
| - =  
|  =
| none =  
| - =
| none =
| #default =  
| #default =  
<tr style="vertical-align: top">
{{!}}-
<td id="fileinfotpl_ver" class="fileinfo-paramfield" style="background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight:bold">{{int:wm-license-information-other-versions}}</td>
! scope="row" id="fileinfotpl_add" {{!}} Additional information
<td>
{{!}} {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}}
{{{other_versions|{{{Other_versions|{{{other versions|{{{Other versions|}}} }}} }}} }}}
</td>
</tr>
}}
}}
|}<noinclude>


<!-- Other fields -->
{{documentation}}
{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|}}} }}} }}} }}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</table>
</div><noinclude>
{{documentation|Template:Information/doc}}
</noinclude>
</noinclude>

Latest revision as of 19:49, 18 May 2022

File information
Description
Source

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

Date
Author
Permission
(Reusing this file)

See below.