Diferencia entre revisiones de «Plantilla:Image»

3049 bytes añadidos ,  hace 4 años
m
improve ready for moving
m (I was hoping to make this a thing but *shrug*)
m (improve ready for moving)
<includeonly><!--
<includeonly>[[file: {{{1}}}|thumb|{{{side|center}}}|{{{width|10%}}}| {{{2}}} <small>by <page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist|marker=?}}" no-page="@{{{attribute|artist}}}" /></small>]]</includeonly><noinclude>
-->[[file:<!--
This template should be used on pages to include a thumbnail of an image on a page. The
FILE: --> {{{1}}}<!--
[[category: templates]]
STYLE:-->|thumb|{{{side|center}}}|{{#if:{{{height|}}}|x{{{height}}}|{{{width|100px}}}|}}|<!--
<includeonly>[[file: {{{1}}}|thumb|{{{side|center}}}|{{{width|10%}}}| {{{2}}}ARTIST: --><small>by <page-property key="{{{attribute|artist}}}" page="File:{{{1}}}" no-value="{{missing artist|marker=?}}" no-page="@{{{attribute|artist}}}" /></small>]]</includeonlybr><noinclude>!--
CAPTION: --> {{{2}}} <!--
-->]]</includeonly><noinclude>[[category: templates|{{PAGENAME}}]]
 
This template should be used on pages to include a thumbnail of an image on a page. The
{{delete}}
 
; Usage: {{t|{{lc:{{PAGENAME}}|}}|file-name.png|caption}}
 
The file name and caption parameters are required. THere are several optional parameters:
 
<pre>
{{image| file-name.png | caption |
|side=center|left|right
|width=100px
|attribute=artist|tracer
}
</pre>
 
{| class="wikitable" style="width: 100%"
|+ Usage Examples
|- class="title"
! Parameter !! Description !! Code
! width=30% | Example
|-
|style="text-align: center;"| ''none'' || when only the file name and caption are passed
| <pre>{{image| cosmere symbol.svg | this is the caption}}</pre>
| [[file: cosmere symbol.svg|thumb|center|100px|<div style="font-size: small; text-align: center;">by [[Isaac Stewart]]</div> this is the caption ]]
|-
|style="text-align: center;"| <code>side=left</code> || pushes the image over to the left, and allows the page to flow around it
| <pre>{{image| cosmere symbol.svg |side=left
| this is the caption
}}</pre>
| [[file: cosmere symbol.svg|thumb|left|100px|<div style="font-size: small; text-align: center;">by [[Isaac Stewart]]</div> this is the caption ]]
|-
|style="text-align: center;"| <code>side=right</code> || pushes the image over to the right, and allows the page to flow around it
| <pre>{{image| cosmere symbol.svg |side=right
| this is the caption
}}</pre>
| [[file: cosmere symbol.svg|thumb|right|100px|<div style="font-size: small; text-align: center;">by [[Isaac Stewart]]</div> this is the caption ]]
|-
|style="text-align: center;"| <code>attribute=tracer</code> || changes the attribution of the image to the "tracer" of the image instead of the original artist.
| <pre>{{image| cosmere symbol.svg |attribute=tracer
| this is the caption
}}</pre>
| [[file: cosmere symbol.svg|thumb|left|100px|<div style="font-size: small; text-align: center;">by [[User: WeiryWriter]]</div> this is the caption ]]
|-
|style="text-align: center;"| <code>width=20%</code> || changes the width of the image
| <pre>{{image| cosmere symbol.svg |width=200px
| this is the caption
}}</pre>
| [[file: cosmere symbol.svg|thumb|center|200px|<div style="font-size: small; text-align: center;">by [[Isaac Stewart]]</div> this is the caption ]]
|-
|style="text-align: center;"| <code>width=20%</code> || changes the height of the image
| <pre>{{image| Navani's Ketek glyphs.svg |height=150px
| The ketek "Alight, winds approach deadly approaching winds alight." written in glyphs and stylized to represent the meeting of the Everstorm and a highstorm.
}}</pre>
| [[file: Navani's Ketek glyphs.svg|thumb|center|x150px|<div style="font-size: small; text-align: center;">by [[Isaac Stewart]]</div> The ketek "Alight, winds approach deadly approaching winds alight." written in glyphs and stylized to represent the meeting of the Everstorm and a highstorm. ]]
|-
 
|}
 
== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
Shards, Editors, Keepers, Synod
40 275

ediciones