Difference between revisions of "Template:Information"
m (1 revision: Imported from TF2 Wiki.) |
m |
||
(14 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | {| | + | <includeonly>{{Navbox |
− | + | ||
− | | | + | | bodystyle = width: 80%; font-size: 100%; margin: 1em 10%; border: 1px solid #aaa; |
− | {{ #if: {{{Description|{{{description|}}}}}} | {{{Description|{{{description}}}}}} | + | | groupstyle = background: #F3A957; vertical-align: top; width: 15%; text-align: right; padding: 0.4em; |
− | + | ||
− | + | | oddstyle = background: #FEFBF6; | |
− | | | + | | evenstyle = background: #FDF2E6; |
− | + | ||
− | + | | group1 = {{#if:{{{Description|{{{description|}}}}}}|Description|}} | |
− | {{#if:{{{Source|{{{source|}}}}}}|{{{Source{{{source|}}}}}}| | + | | list1 = {{{Description|{{{description|}}}}}} |
− | | | + | |
− | + | | group2 = {{#if:{{{Source|{{{source|}}}}}}|Source|}} | |
− | | | + | | list2 = {{{Source|{{{source|}}}}}} |
− | {{{Date|{{ | + | |
− | | | + | | group3 = {{#if:{{{Date|{{{date|}}}}}}|Date|}} |
− | + | | list3 = {{{Date|{{{date|}}}}}} | |
− | + | ||
− | {{ #if: {{{Author|{{{author|}}}}}} | {{{Author|{{{author}}}}}} | + | | group4 = {{#if:{{{Author|{{{author|}}}}}}|Author|}} |
− | + | | list4 = {{{Author|{{{author|}}}}}} | |
− | + | ||
− | | | + | | group5 = {{#if:{{{Authors|{{{authors|}}}}}}|Authors|}} |
− | + | | list5 = {{{Authors|{{{authors|}}}}}} | |
− | + | ||
− | {{#if:{{{ | + | | group6 = Permission |
− | {{# | + | | list6 = {{{Permission|{{{permission|See license tag below.}}}}}} |
− | | | + | |
− | | | + | | group7 = {{#if:{{{other_versions|}}}|Other versions|}} |
− | + | | list7 = {{{other_versions|}}} | |
− | | | + | }}</includeonly><noinclude>{{doc begin}} |
− | {{{other_versions}}}</ | + | Use this template on image description pages to display information about the image clearly. |
− | + | ||
== Parameters == | == Parameters == | ||
− | + | {| class="wikitable grid" | |
− | + | ! class="header" | Parameter | |
− | + | ! class="header" width="45%" | Example | |
− | + | ! class="header" | Description | |
− | + | |- | |
− | + | | {{code|description}} | |
− | : | + | | {{code|Screenshot of competitive gameplay on [[Badlands]].}} |
− | + | | A description of the uploaded image. | |
− | : | + | |- |
− | + | | {{code|source}} | |
− | : | + | | {{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 = 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>]]. |
− | | | ||
}} | }} | ||
− | </pre> | + | </nowiki></pre> |
− | + | * The above code will generate the following: | |
− | [[ | + | {{Information |
− | + | | description = Screenshot of [[Competitive play|competitive gameplay]] on [[Badlands]]. | |
− | [[Category: | + | | 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:
|