Template:ImagesFrame: Difference between revisions

From Iskomunidad
No edit summary
No edit summary
Line 2: Line 2:
<includeonly>{{#if:{{{frame|}}}
<includeonly>{{#if:{{{frame|}}}
   |{{#switch:{{{frame}}}
   |{{#switch:{{{frame}}}
     | border = [[File:From-search-1.png|border]]
     | border = [[File:From-search-1.png|border|width={{{width|}}}{{{width:+|px}}}]]
     | frameless = [[File:From-search-1.png|frameless]]
     | frameless = [[File:From-search-1.png|frameless|width={{{width|}}}{{{width:+|px}}}]]
     | frameless border = [[File:From-search-1.png|frameless|border]]
     | frameless border = [[File:From-search-1.png|frameless|border|width={{{width|}}}{{{width:+|px}}}]]
     | frame = [[File:From-search-1.png|frame]]
     | frame = [[File:From-search-1.png|frame|width={{{width|}}}{{{width:+|px}}}]]
     | thumb = [[File:From-search-1.png|thumb]]
     | thumb = [[File:From-search-1.png|thumb|width={{{width|}}}{{{width:+|px}}}]]
     | thumbnail = [[File:From-search-1.png|thumb]]
     | thumbnail = [[File:From-search-1.png|thumb|width={{{width|}}}{{{width:+|px}}}]]
   }}
   }}
   |[[File:From-search-1.png]]
   |[[File:From-search-1.png|width={{{width|}}}{{{width:+|px}}}]]
}}
}}
{| class="plainlinks"
{| class="plainlinks"
|-
|-
| {{{ex|}}}  
| {{{ex|}}}  
| <code>[[File:From-search-1.png{{{frame:+|}}}{{{2:+|}}}</code>
| <code>[[File:From-search-1.png{{{frame:+|}}}{{{2:+|}}}{{{width:+|width=}}}{{{width|}}}px]]</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 12:50, 5 December 2024

Documentation for the ImageFrame template