Difference between revisions of "Template:Information"

From Team Fortress Wiki
Jump to: navigation, search
m (add temp tracking for some pages)
m
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<includeonly>{{Navbox
 
<includeonly>{{Navbox
  
  | bodystyle  = width: 80%; font-size: 100%; padding: 0; margin: 1em 10%;
+
  | bodystyle  = width: 80%; font-size: 100%; margin: 1em 10%; border: 1px solid #aaa;
  | groupstyle = background: #FFAA00; vertical-align: top; width: 15%; text-align: right; padding: 0.4em;
+
  | groupstyle = background: #F3A957; vertical-align: top; width: 15%; text-align: right; padding: 0.4em;
  
  | oddstyle  = background: #FDFAF8;
+
  | oddstyle  = background: #FEFBF6;
  | evenstyle  = background: #FBF6EA;
+
  | evenstyle  = background: #FDF2E6;
  
 
| group1 = {{#if:{{{Description|{{{description|}}}}}}|Description|}}
 
| group1 = {{#if:{{{Description|{{{description|}}}}}}|Description|}}
Line 19: Line 19:
 
| list4  = {{{Author|{{{author|}}}}}}
 
| list4  = {{{Author|{{{author|}}}}}}
  
| group5 = Permission
+
| group5 = {{#if:{{{Authors|{{{authors|}}}}}}|Authors|}}
| list5  = {{{Permission|{{{permission|See license tag below.}}}}}}
+
| list5  = {{{Authors|{{{authors|}}}}}}
  
| group6 = {{#if:{{{other_versions|}}}|Other versions|}}
+
| group6 = Permission
| list6  = {{{other_versions|}}}
+
| list6  = {{{Permission|{{{permission|See license tag below.}}}}}}
  
}}{{#ifeq:{{{Date|{{{date|}}}}}}|?|[[Category:ERROR Information date using ?|{{PAGENAME}}]]|}}</includeonly><noinclude>{{doc begin}}
+
| group7 = {{#if:{{{other_versions|}}}|Other versions|}}
 +
| list7  = {{{other_versions|}}}
 +
}}</includeonly><noinclude>{{doc begin}}
 
Use this template on image description pages to display information about the image clearly.
 
Use this template on image description pages to display information about the image clearly.
  
 
== Parameters ==
 
== Parameters ==
 
{| class="wikitable grid"
 
{| class="wikitable grid"
! Parameter
+
! class="header" | Parameter
! width="45%" | Example
+
! class="header" width="45%" | Example
! Description
+
! class="header" | Description
 
|-
 
|-
 
| {{code|description}}
 
| {{code|description}}
Line 47: Line 49:
 
|-
 
|-
 
| {{code|author}}
 
| {{code|author}}
| {{code|Myself, [[User:Example]].}}
+
| {{code|[[#|User:Example]]}}
| Who created the image. Note: this is not always the copyright holder.
+
| 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|permission}}
Line 55: Line 61:
 
|-
 
|-
 
| {{code|other_versions}}
 
| {{code|other_versions}}
| {{code|[[:File:Example image.png]] shows the subject more clearly.}}
+
| {{code|[[#|File:Example image.png]] shows the subject more clearly.}}
 
| Links to other versions of the image.
 
| Links to other versions of the image.
 
|-
 
|-
Line 75: Line 81:
 
  | source      = TF2 in-game screenshot.
 
  | source      = TF2 in-game screenshot.
 
  | date        = August 23, 2010
 
  | date        = August 23, 2010
  | author      = Myself, [[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]].
+
  | author      = [[User:Seb26|seb26]].
 
}}
 
}}
 
+
[[Category:Templates|Information]]</noinclude>
[[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: