Template:ImagesFrame: Difference between revisions

From Iskomunidad
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Documentation for the ImageFrame template</noinclude>
<noinclude>Template for the ImageFrame
<includeonly>{{#if:{{{frame|}}}
 
  |{{#switch:{{{frame}}}
 
    | border = [[File:From-search-1.png|border|width={{{width|}}}{{{width:+|px}}}]]
<includeonly>{{#if:{{{image|}}} |{{#switch:{{{frame}}}  
    | frameless = [[File:From-search-1.png|frameless|width={{{width|}}}{{{width:+|px}}}]]
| border = [[File:{{{image}}}|border]]  
    | frameless border = [[File:From-search-1.png|frameless|border|width={{{width|}}}{{{width:+|px}}}]]
| frameless = [[File:{{{image}}}|frameless]]  
    | frame = [[File:From-search-1.png|frame|width={{{width|}}}{{{width:+|px}}}]]
| frameless border = [[File:{{{image}}}|frameless|border]]  
    | thumb = [[File:From-search-1.png|thumb|width={{{width|}}}{{{width:+|px}}}]]
| frame = [[File:{{{image}}}|frame]]  
    | thumbnail = [[File:From-search-1.png|thumb|width={{{width|}}}{{{width:+|px}}}]]
| thumb = [[File:{{{image}}}|thumb]]  
  }}
| thumbnail = [[File:{{{image}}}|thumb]]
  |[[File:From-search-1.png|width={{{width|}}}{{{width:+|px}}}]]
| [[File:{{{image}}}]] }}  
}}
| [[File:From-search-1.png]] }}  
 
{| class="plainlinks"
{| class="plainlinks"
|-
|-  
| {{{ex|}}}  
| {{{ex|}}}  
| <code>[[File:From-search-1.png{{{frame:+|}}}{{{2:+|}}}{{{width:+|width=}}}{{{width|}}}px]]</code>
| <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>

Latest revision as of 09:38, 10 December 2024

Template for the ImageFrame