Picture Template
Template definition
<template> [{{{1}}}<if align>?align{{{align}}}.<if type>{{{type}}}<else>jpg</if></if>] </template>
Usage
- including an image in the page
- {{picture|url}}
- aligning it to the left or right
- {{picture|align=left/right|url}}
- including the type (when aligning)
- {{picture|align=left/right|type=gif/png/jpg|url}}
In each of these, replace url with the URL of the image
Examples
including a picture {{picture|http://senseis.xmp.net/images/stone-hello.png}}
results in:
including a picture
aligning left {{picture|align=left|http://senseis.xmp.net/images/stone-hello.png}}
results in:
aligning left
aligning right {{picture|align=right|http://senseis.xmp.net/images/stone-hello.png}}
results in:
aligning right
including the type when aligning {{picture|align=right|http://senseis.xmp.net/images/stone-hello.png|type=png}}
results in:
including the type when aligning