Template:ImageFrame: Difference between revisions
From Iskomunidad
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
<noinclude>Documentation for the ImageFrame template</noinclude> | <noinclude>Documentation for the ImageFrame template | ||
<includeonly>{{#if:{{{ | Usage: | ||
* {{ImageFrame|image=Example.jpg|frame=frameless}} | |||
* Supported frame options: border, frameless, frame, thumb, thumbnail | |||
* Note: Specify the image filename without the "File:" prefix | |||
</noinclude> | |||
<includeonly>{{#if:{{{image|}}} |{{#switch:{{{frame}}} | |||
| border = [[File:{{{image}}}|border|none]] | |||
| frameless = [[File:{{{image}}}|frameless|none]] | |||
| frameless border = [[File:{{{image}}}|frameless|border|none]] | |||
}} | | frame = [[File:{{{image}}}|frame|none]] | ||
| thumb = [[File:{{{image}}}|thumb|none]] | |||
| thumbnail = [[File:{{{image}}}|thumb|none]] | |||
| [[File:{{{image}}}|none]] }} | |||
| [[File:From-search-1.png|none]] }} | |||
{| class="plainlinks" | {| class="plainlinks" | ||
|- | |- | ||
| {{{ex|}}} | | {{{ex|}}} | ||
| style="text-align:center;" | <span style="white-space:nowrap;">{{#if:{{{inline|}}}|inline=yes|}} {{#if:{{{float|}}}|float={{{float}}}|}}</span> | | <code>[[File:{{{image}}}{{{frame:+|}}}{{{2:+|}}}</code> | ||
| style="text-align:center;" | |||
| <span style="white-space:nowrap;">{{#if:{{{inline|}}}|inline=yes|}} {{#if:{{{float|}}}|float={{{float}}}|}}</span> | |||
|}</includeonly> | |}</includeonly> |
Revision as of 13:36, 5 December 2024
Documentation for the ImageFrame template Usage:
[[File:Example.jpg
|
style="text-align:center;" |
- Supported frame options: border, frameless, frame, thumb, thumbnail
- Note: Specify the image filename without the "File:" prefix