Uploadtext – MediaWiki

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page cleanup)
m (Text replacement - "ExternalLink" to "Link")
Line 27: Line 27:


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).
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).
See {{ExternalLink|link= https://www.mediawiki.org/wiki/Help:Images|text= MediaWiki Help}} for more information.
See {{Link|link= https://www.mediawiki.org/wiki/Help:Images|text= MediaWiki Help}} for more information.

Revision as of 16:30, 4 January 2023

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 -No content provided-)
  • 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.