Uploadtext – MediaWiki

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix link)
(Page cleanup)
Line 1: Line 1:
Use the form below to upload files.
<div style="margin: auto; width: 60em">{{TopMenu | [[Special:Log/upload|Upload Log]] [[Special:Imagelist|All Uploaded Files]] [[Special:ListDuplicatedFiles|Duplicates]]}}</div>
To view or search previously uploaded images go to the '''[[Special:Imagelist|list of uploaded files]]'''.<br>
Uploads and deletions are also logged in the [[Special:Log/upload|upload log]].<br>
Duplicates are also listed [[Special:ListDuplicatedFiles|on this page]].
 
 
{| class="wikitable" style="float: right"
{| class="wikitable" style="float: right"
|+ see [[Bohemia Interactive Community:Guidelines|Guidelines]]
|+ Examples
! Good filename
! Do
! Bad filename
! Don't
|-
|- style="vertical-align: top"
|
|
* arma_hummerCloseup
* arma_hummer-closeup
* tkoh_heliport_aerialview
* tkoh_heliport-aerialview_1920x1080
* arma3_logo-black_512x256
|
|
* jeep
* jeep
* mountains_near_city
* tkoh_mountains_near_city
* DCIM-0001
* arma3-2001-06-21_14-00-00
* RealVirtualityWireframeRender
|}
|}
Here are naming rules:
== Naming Rules ==
* give files a meaningful name<br>(do not use random or auto-generated file names like <tt>DCIM-0001.JPG</tt> or <tt>arma3-2001-06-21_14-00-00.png</tt>)
 
* '''prefix''' by the game id + underscore (see [[Bohemia Interactive Community:Naming Conventions|ofp, arma, arma2, arma3, tkoh, tkom, ylands]]) if the picture shows this game's specific feature
format: entries separated by '''underscores''' ({{hl|_}}): '''''projectId'''''_'''''filename'''''<!-- format: entries separated by '''dashes''' ({{hl|-}}): '''''gameId'''''-'''''filename''''' -->
* projectId: (Optional) see [[Bohemia Interactive Community:Naming Conventions|Naming Conventions]] (ofp, arma, arma2, arma2oa, arma3, tkoh, tkom, ylands, rv, etc) '''if the picture shows this game's specific feature'''
* filename: a '''meaningful name''' (see examples); ''filename''<nowiki/>'s separators are '''dashes''' ({{hl|-}})<!-- * filename: a '''meaningful name''' (see examples); ''filename''<nowiki/>'s own separator is '''underscores''' ({{hl|_}})-->. Use '''snake_casing''', '''not''' camelCasing/PascalCasing!
* colour: (Optional) define a specific variant, for example to know if an image needs a dark background - e.g {{hl|}})
* size: (Optional) in format X''x''Y, e.g {{hl|256x512}}


== Image Usage ==


To include the image in a page, use a link in the form
To include the image in a page, use {{hl|<nowiki>[[File:image-name.jpg]]</nowiki>}} or {{hl|<nowiki>[[Image:image-name.jpg]]</nowiki>}} ({{hl|File}} and {{hl|Image}} are interchangeable namespaces).
* '''<nowiki>[[Image:File.jpg]]</nowiki>''',
See {{ExternalLink|link= https://www.mediawiki.org/wiki/Help:Images|text= MediaWiki Help}} for more information.
* '''<nowiki>[[Image:File.png|alt text]]</nowiki>''' or
* '''<nowiki>[[Image:File.ogg]]</nowiki>''' for directly linking to the file.

Revision as of 16:02, 19 November 2021

Examples
Do Don't
  • arma_hummer-closeup
  • tkoh_heliport-aerialview_1920x1080
  • arma3_logo-black_512x256
  • jeep
  • tkoh_mountains_near_city
  • DCIM-0001
  • arma3-2001-06-21_14-00-00
  • RealVirtualityWireframeRender

Naming Rules

format: entries separated by underscores (_): projectId_filename

  • projectId: (Optional) see Naming Conventions (ofp, arma, arma2, arma2oa, arma3, tkoh, tkom, ylands, rv, etc) if the picture shows this game's specific feature
  • filename: a meaningful name (see examples); filename's separators are dashes (-). Use snake_casing, not camelCasing/PascalCasing!
  • colour: (Optional) define a specific variant, for example to know if an image needs a dark background - e.g )
  • size: (Optional) in format XxY, e.g 256x512

Image Usage

To include the image in a page, use [[File:image-name.jpg]] or [[Image:image-name.jpg]] (File and Image are interchangeable namespaces). See MediaWiki Help for more information.