Difference between revisions of "Template:Image"
Jump to navigation
Jump to search
(Created page with '<noinclude>''For better image thumbnails.'' ---- {| width=110px style="background-color: transparent;" | </noinclude> <div style="float:{{{float|left}}}; padding:{{{pad|5px}}}">...') |
Bvredeling (talk | contribs) |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
| | | | ||
</noinclude> | </noinclude> | ||
− | <div style="float:{{{float| | + | <div class="tplImage" style="float:{{{float|none}}}; padding:{{{pad|0px}}}"> |
{|style="background-color: transparent;" | {|style="background-color: transparent;" | ||
− | |[[Image:{{{name| | + | |[[Image:{{{name|2value_logo}}}.{{{ext|png}}}|{{{width|64px}}}|link={{{ilink|<noinclude>This is an example of a link.</noinclude>}}}|alt={{{alt|}}}]] |
|- | |- | ||
− | |<div style="width:{{{width| | + | |<div style="width:{{{width|64px}}}; font-size:80%;line-height:1em;">{{{caption|<noinclude>This is an example of a caption.</noinclude>}}}</div> |
|} | |} | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
− | |||
− | |||
---- | ---- | ||
== Usage == | == Usage == | ||
+ | Gecopieerd van de [http://ts.wikipedia.org/wiki/Template:Image Wikipedia Image-template]; uitgebreid met ilink en ext parameter door Henk van Cann, dd 1 nov 2010. | ||
+ | ===Defaults=== | ||
+ | :1. Als er geen image wordt gevonden dan het 2Value-logo | ||
+ | :2. ''png'' is default filenaam extensie van de image | ||
+ | :3. ''64px'' is de defaultgrootte van het symbool | ||
+ | :4. padding is 0 | ||
+ | :5. float is ''mid'' | ||
+ | :6. caption is default ''leeg'' | ||
+ | :7. link is default ''leeg'' | ||
+ | :8. alt is ''block'' | ||
+ | |||
+ | ===Voorbeeld aanroep=== | ||
<pre> | <pre> | ||
− | {{image|name=myimage | + | {{image|name=myimage|ext=png|type=thumb|width=200px|pad=10px|ilink=A link|caption=A caption|float=mid|alt=Zomaar een plaatje}} |
+ | |||
+ | {{image|name=2Value_logo|ext=png|type=block|width=64|pad=0px|ilink=|caption=|float=mid|alt=block}} | ||
+ | is gelijk aan deze aanroep: | ||
+ | {{image}} | ||
+ | |||
+ | |||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 18:29, 16 November 2010
For better image thumbnails.
UsageGecopieerd van de Wikipedia Image-template; uitgebreid met ilink en ext parameter door Henk van Cann, dd 1 nov 2010. Defaults
Voorbeeld aanroep{{image|name=myimage|ext=png|type=thumb|width=200px|pad=10px|ilink=A link|caption=A caption|float=mid|alt=Zomaar een plaatje}} {{image|name=2Value_logo|ext=png|type=block|width=64|pad=0px|ilink=|caption=|float=mid|alt=block}} is gelijk aan deze aanroep: {{image}} |