Template:Main page image/TFA/doc

From Advocatespedia
Revision as of 00:22, 23 May 2024 by Advocatespedia (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is used to automatically put TFA images into the correct format. Currently, it automatically determines the width of the image based on a ratio of the dimensions. It is a wrapper around {{Main page image}}.

Usage

Note: Prefer images in landscape orientation. If you must use one in portrait orientation, avoid very skinny ones. If you must choose a skinny image, note that if you do so, there will be a gap between left or right edge of the image (depending on the what side of the container the template appears) and the edge of the section.

Note that width should not be specified. It is automatically calculated.

<syntaxhighlight lang="wikitext">

[[File:|120px| ]]

</syntaxhighlight>