Template:ImageFrame: Difference between revisions

From Iskomunidad
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<noinclude>Documentation for the ImageFrame template
<noinclude>Documentation for the ImageFrame template</noinclude>
Usage:
<includeonly>{{#if:{{{frame|}}}
* {{ImageFrame|image=Example.jpg|frame=frameless}}
  |{{#switch:{{{frame}}}
* Supported frame options: border, frameless, frame, thumb, thumbnail
    | border = [[File:From-search-1.png|border]]
* Note: Specify the image filename without the "File:" prefix
    | frameless = [[File:From-search-1.png|frameless]]
</noinclude>
    | frameless border = [[File:From-search-1.png|frameless|border]]
 
    | frame = [[File:From-search-1.png|frame]]
<includeonly>{{#if:{{{image|}}} |{{#switch:{{{frame}}}  
    | thumb = [[File:From-search-1.png|thumb]]
| border = [[File:{{{image}}}|border|none]]  
    | thumbnail = [[File:From-search-1.png|thumb]]
| frameless = [[File:{{{image}}}|frameless|none]]  
  }}
| frameless border = [[File:{{{image}}}|frameless|border|none]]  
  |[[File:From-search-1.png]]
| 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|}}}  
| <code>[[File:{{{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:33, 5 December 2024

Documentation for the ImageFrame template