Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Image/Documentation"

From PCGamingWiki, the wiki about fixing PC games
m (captionless is not an option)
(Clarified image naming requirements)
 
Line 5: Line 5:
 
'''Syntax'''
 
'''Syntax'''
 
* '''{{code|<nowiki>{{Image|File.png|Caption}}</nowiki>}}''' to embed the image with an appropriate caption.
 
* '''{{code|<nowiki>{{Image|File.png|Caption}}</nowiki>}}''' to embed the image with an appropriate caption.
 +
* Do '''not''' include the {{code|File:}} prefix in the image name as it is already included with the template.
  
 
{{ii}} A caption is required!
 
{{ii}} A caption is required!

Latest revision as of 03:58, 20 March 2022

Description

Used to embed individual images on pages. Will automatically float to the right side if displayed on non-mobile devices.

Syntax

  • {{Image|File.png|Caption}} to embed the image with an appropriate caption.
  • Do not include the File: prefix in the image name as it is already included with the template.
A caption is required!