Template:ImageFrame: Difference between revisions

From Iskomunidad
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>Documentation for the ImageFrame template
<noinclude>Documentation for the ImageFrame template
 
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>
</noinclude>


<includeonly>{{#if:{{{image|}}} |{{#switch:{{{frame}}}  
<includeonly>{{#if:{{{image|}}} |{{#switch:{{{frame}}}  
| border = [[File:{{{image}}}|border|none]]  
| border = [[File:{{{image}}}|border|alt=|center]]  
| frameless = [[File:{{{image}}}|frameless|none]]  
| frameless = [[File:{{{image}}}|frameless|alt=|center]]  
| frameless border = [[File:{{{image}}}|frameless|border|none]]  
| frameless border = [[File:{{{image}}}|frameless|border|alt=|center]]  
| frame = [[File:{{{image}}}|frame|none]]  
| frame = [[File:{{{image}}}|frame|alt=|center]]  
| thumb = [[File:{{{image}}}|thumb|none]]  
| thumb = [[File:{{{image}}}|thumb|alt=|center]]  
| thumbnail = [[File:{{{image}}}|thumb|none]]  
| thumbnail = [[File:{{{image}}}|thumb|alt=|center]]  
| [[File:{{{image}}}|none]] }}  
| [[File:{{{image}}}|alt=|center]] }}  
| [[File:From-search-1.png|none]] }}  
| [[File:From-search-1.png|alt=|center]] }}  


{| class="plainlinks"
{| class="plainlinks"

Revision as of 13:39, 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