Difference between revisions of "Template:Information"

From Team Fortress Wiki
Jump to: navigation, search
m (1 revision: Imported from TF2 Wiki.)
m
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="wikitable" | 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." style="width: 100%" cellpadding="2"
+
<includeonly>{{Navbox
! style="background: #BDB76B; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" | Description
+
 
|
+
| bodystyle  = width: 80%; font-size: 100%; margin: 1em 10%; border: 1px solid #aaa;
{{ #if: {{{Description|{{{description|}}}}}} | {{{Description|{{{description}}}}}} | This media has no '''description''', and may be lacking other information.
+
| groupstyle = background: #F3A957; vertical-align: top; width: 15%; text-align: right; padding: 0.4em;
<br>
+
 
Media should have a summary to inform others of the content, author, source, and date if possible. If you know or have access to such information, please add it to the image page.}}
+
| oddstyle  = background: #FEFBF6;
|- valign="top"
+
| evenstyle  = background: #FDF2E6;
! style="background: #BDB76B; text-align: right; padding-right: 0.4em" | Source
+
 
|
+
| group1 = {{#if:{{{Description|{{{description|}}}}}}|Description|}}
{{#if:{{{Source|{{{source|}}}}}}|{{{Source{{{source|}}}}}}|<includeonly>[[Category:Images without source|{{PAGENAME}}]]</includeonly> No '''source''' specified. Please edit this image description and provide a source.}}
+
| list1  = {{{Description|{{{description|}}}}}}
|- valign="top"
+
 
! style="background: #BDB76B; text-align: right; padding-right: 0.4em; white-space: nowrap" | Date
+
| group2 = {{#if:{{{Source|{{{source|}}}}}}|Source|}}
|
+
| list2  = {{{Source|{{{source|}}}}}}
{{{Date|{{ #time:j F Y| }}}}}
+
 
|- valign="top"
+
| group3 = {{#if:{{{Date|{{{date|}}}}}}|Date|}}
! style="background: #BDB76B; text-align: right; padding-right: 0.4em" | Author
+
| list3  = {{{Date|{{{date|}}}}}}
|
+
 
{{ #if: {{{Author|{{{author|}}}}}} | {{{Author|{{{author}}}}}} | This media has no '''author information''', and may be lacking other information.
+
| group4 = {{#if:{{{Author|{{{author|}}}}}}|Author|}}
<br>
+
| list4  = {{{Author|{{{author|}}}}}}
If you know or have access to the author information, please add it to the image page.}}
+
 
|- valign="top"
+
| group5 = {{#if:{{{Authors|{{{authors|}}}}}}|Authors|}}
! style="background: #BDB76B; text-align: right; padding-right: 0.4em" | Permission<br />
+
| list5  = {{{Authors|{{{authors|}}}}}}
|
+
 
{{#if:{{{Permission|{{{permission|}}}}}}|{{{Permission|{{{permission}}}}}}|See below.}}
+
| group6 = Permission
{{#switch: {{{other_versions|}}}
+
| list6  = {{{Permission|{{{permission|See license tag below.}}}}}}
|   =
+
 
| - =
+
| group7 = {{#if:{{{other_versions|}}}|Other versions|}}
| none =
+
| list7  = {{{other_versions|}}}
| #default = <tr valign="top"><td style="background: #BDB76B; text-align: right; padding-right: 0.4em; font-weight: bold">Other versions</td><td>
+
}}</includeonly><noinclude>{{doc begin}}
{{{other_versions}}}</td></tr>}}
+
Use this template on image description pages to display information about the image clearly.
|}<noinclude>
+
 
 
== Parameters ==
 
== Parameters ==
 
+
{| class="wikitable grid"
;Description
+
! class="header" | Parameter
:Description of the file.
+
! class="header" width="45%" | Example
;Source
+
! class="header" | Description
:Source of the file.
+
|-
;Date
+
| {{code|description}}
:Optional. Creation date of the file, or date the file is uploaded (current date is used if omitted)
+
| {{code|Screenshot of competitive gameplay on [[Badlands]].}}
;Author
+
| A description of the uploaded image.
:Optinal. Author information.
+
|-
;Permission
+
| {{code|source}}
:Optional. Additional license permission, if this is not filled in a license must be selected.
+
| {{code|In-game screenshot.}}
 +
| Where the image is from.
 +
|-
 +
| {{code|date}}
 +
| {{code|August 23, 2010}}
 +
| Date the image was created.
 +
|-
 +
| {{code|author}}
 +
| {{code|[[#|User:Example]]}}
 +
| Creator of the image. Note: this is not always the copyright holder.
 +
|-
 +
| {{code|authors}}
 +
| {{code|[[#|User:Example1]], [[#|User:Example2]]}}
 +
| Creators of the image. Note: this is not always the copyright holder.
 +
|-
 +
| {{code|permission}}
 +
| {{code|CC-BY-SA according to [http://www.google.com this page].}}
 +
| Permission from copyright holder to use this image. If the image is a Valve image (see [[Team Fortress Wiki:Licensing images|Licensing images]]) then you shouldn't use this parameter.
 +
|-
 +
| {{code|other_versions}}
 +
| {{code|[[#|File:Example image.png]] shows the subject more clearly.}}
 +
| Links to other versions of the image.
 +
|-
 +
|}
  
 
== Example ==
 
== Example ==
<pre>
+
<pre><nowiki>
 
{{Information
 
{{Information
|Description=This is the description.
+
| description = Screenshot of [[Competitive play|competitive gameplay]] on [[Badlands]].
|Source=The source goes here.
+
| source      = TF2 in-game screenshot.
|Date=01 September 2008
+
| date        = August 23, 2010
|Author=Author details here.
+
| author      = Myself, [[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]].
|Permission=License details.
 
 
}}
 
}}
</pre>
+
</nowiki></pre>
{{Information|Description=This is the description.|Source=The source goes here|Date=01 September 2008|Author=Author details here|Permission=License details}}
+
* The above code will generate the following:
  
[[Category:Templates|{{PAGENAME}}]]
+
{{Information
 
+
| description = Screenshot of [[Competitive play|competitive gameplay]] on [[Badlands]].
[[Category:Every page]]</noinclude>
+
| source      = TF2 in-game screenshot.
 +
| date        = August 23, 2010
 +
| author      = [[User:Seb26|seb26]].
 +
}}
 +
[[Category:Templates|Information]]</noinclude>

Latest revision as of 20:49, 15 February 2023

Documentation for Information

Use this template on image description pages to display information about the image clearly.

Parameters

Parameter Example Description
description Screenshot of competitive gameplay on Badlands. A description of the uploaded image.
source In-game screenshot. Where the image is from.
date August 23, 2010 Date the image was created.
author User:Example Creator of the image. Note: this is not always the copyright holder.
authors User:Example1, User:Example2 Creators of the image. Note: this is not always the copyright holder.
permission CC-BY-SA according to this page. Permission from copyright holder to use this image. If the image is a Valve image (see Licensing images) then you shouldn't use this parameter.
other_versions File:Example image.png shows the subject more clearly. Links to other versions of the image.

Example

{{Information
 | description = Screenshot of [[Competitive play|competitive gameplay]] on [[Badlands]].
 | source      = TF2 in-game screenshot.
 | date        = August 23, 2010
 | author      = Myself, [[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]].
}}
  • The above code will generate the following: