Difference between revisions of "Template:TFAIMAGE"
m |
m |
||
Line 1: | Line 1: | ||
− | <div style="float: | + | <div style="float: none; margin: 0.5em 0em 0.4em 0em; {{#switch:{{lc:{{{border|}}}}}|=|yes|border=border: 1px solid #DDD;|#default=border: {{{border}}};}}">[[File:{{{1}}}|{{{2}}}|{{#if:{{{size}}}|{{{size|100px}}}|100px}}]]</div><noinclude> |
{{Documentation}} | {{Documentation}} | ||
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> |
Latest revision as of 02:05, 11 September 2015
[[File:{{{1}}}|{{{2}}}|100px]]
Usage
Used to set the standard image formatting for the TFA. {{TFAIMAGE| NAME OF FILE (without "File:" prefix | Brief caption}}
e.g. {{TFAIMAGE|Phelekezela-Mphoko.jpg|Phelekezela Mphoko}} produces
To change the size from the default 100px e.g. for a landscape-orientated image, add |size=
e.g.
{{TFAIMAGE|Oliver-mtukudzi.jpg|Oliver "tuku" Mtukudzi|size=133px}} produces
To add a border round the image, add |border=
e.g.
{{TFAIMAGE|Gertie.jpg|Gertie the Dinosaur|border=yes} produces
The above documentation is transcluded from Template:TFAIMAGE/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |