Template:SmallFlag: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
no edit summary
(Created page with "{{ScaleImage |imagename={{{image_name}}} |caption= |newwidth=50px }}")
 
No edit summary
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ScaleImage
<includeonly><span style="display:inline;">{{ScaleImage|imagename={{{imagename}}}|newwidth=20px|caption= }}</span></includeonly>
|imagename={{{image_name}}}
<noinclude>
|caption=
__TOC__
|newwidth=50px
==EXAMPLE ON HOW TO USE THE TEMPLATE==
}}
{{SmallFlag|imagename=congo.jpg}}&nbsp;Copy and paste the code below to the page you wish to add a small flag image 20px wide:
<pre>
{{SmallFlag|imagename=image.jpg}}
</pre>
 
Then replace the content of the variables with your own, for example :
  Replace
            imagename=image.jpg 
  With
            <span style="color:red">imagename=congo.jpg</span>
 
===List of Variables===
* <b>imagename</b> : This variable expects from the editor to assign to it an image. You must first upload an image using the upload file option of the toolbox available on the left column of the page. This option is visible if and only if you are logged in.
 
[[Category:T/Media]]
</noinclude>

Navigation menu