Template:Infobox/image/doc: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
mh>Viklo
mNo edit summary
mh>Viklo
No edit summary
Line 3: Line 3:
; image : The filename of the image, e.g. <code>Kyaw-cen-city-photo.png</code>
; image : The filename of the image, e.g. <code>Kyaw-cen-city-photo.png</code>
; caption : The (optional) caption
; caption : The (optional) caption
; options : An optional parameter with extra [[mw:Help:Images/en#Syntax|options]] for the image.
; options : An optional parameter with [[mw:Help:Images/en#Syntax|options]] for the image. The default value is <code>frameless</code>. If you actually want no options, set <code>nooptions</code> to <code>yes</code>.
; nooptions : If <code>yes</code>, the image will have no options.

Revision as of 20:47, 14 March 2024

File:Kyaw-cen-city-photo.png
Caption

This is a template for image elements in infoboxes. The parameters are:

image
The filename of the image, e.g. Kyaw-cen-city-photo.png
caption
The (optional) caption
options
An optional parameter with options for the image. The default value is frameless. If you actually want no options, set nooptions to yes.
nooptions
If yes, the image will have no options.