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