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:{{{frame|}}}
Usage:
  |{{#switch:{{{frame}}}
* {{ImageFrame|image=Example.jpg|frame=frameless}}
    | border = [[File:From-search-1.png|border]]
* Supported frame options: border, frameless, frame, thumb, thumbnail
    | frameless = [[File:From-search-1.png|frameless]]
* Note: Specify the image filename without the "File:" prefix
    | frameless border = [[File:From-search-1.png|frameless|border]]
</noinclude>
    | frame = [[File:From-search-1.png|frame]]
 
    | thumb = [[File:From-search-1.png|thumb]]
<includeonly>{{#if:{{{image|}}} |{{#switch:{{{frame}}}  
    | thumbnail = [[File:From-search-1.png|thumb]]
| border = [[File:{{{image}}}|border|none]]  
  }}
| frameless = [[File:{{{image}}}|frameless|none]]  
  |[[File:From-search-1.png]]
| 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:

  • Supported frame options: border, frameless, frame, thumb, thumbnail
  • Note: Specify the image filename without the "File:" prefix