Template:Information: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (Kim Petersen moved page Template:Box to Template:Information)
imported>Izno
(use templatestyles)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div style="display:flex; align: center; margin: 1em; background-color: whitesmoke; color: black; border: solid black 1px">
<!--
[[Image:Color_blind_info_icon.svg|100px|left]]{{{1}}}
  Automatically detect protected files:
</div>
--><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><templatestyles src="Information/styles.css"/>
{| class="file-information"
|+ File information
|-
! scope="row" {{#if:{{{Description|{{{description|}}}}}}|id="fileinfotpl_desc"}} |Description
| {{{Location|}}}
{{#if: {{{Description|{{{description|}}}}}}
| {{{Description|{{{description}}}}}}
| {{Description missing<noinclude>|category=</noinclude>}}
}}
|-
! scope="row" {{#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]].
}}
|-
! scope="row" {{#if:{{{Date|{{{date|}}}}}}|id="fileinfotpl_date"}} | Date
|
{{{Date|{{{date|}}}}}}
|-
! scope="row" {{#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>}}
}}
|-
! 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|}}}}}}}}}}}}
|  =
| - =
| none =
| #default =
{{!}}-
! scope="row" id="fileinfotpl_add" {{!}} Additional information
{{!}} {{{Additional_information|{{{additional_information|{{{Additional information|{{{additional information|}}}}}}}}}}}}
}}
|}<noinclude>
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</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.