Template:SmallFlag: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span style="display:inline;">[[File:{{{imagename}}}|20px|text-top]]</span></includeonly>
<includeonly><span style="display:inline;">{{ScaleImage|imagename={{{imagename}}}|newwidth=20px|caption= }}</span></includeonly>
<noinclude>
<noinclude>
__TOC__
__TOC__
Line 16: Line 16:
===List of Variables===
===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.
* <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>
</noinclude>

Latest revision as of 03:42, 2 November 2011


EXAMPLE ON HOW TO USE THE TEMPLATE

Congo.jpg  Copy and paste the code below to the page you wish to add a small flag image 20px wide:

{{SmallFlag|imagename=image.jpg}}

Then replace the content of the variables with your own, for example :

  Replace 
            imagename=image.jpg   
  With 
            imagename=congo.jpg

List of Variables

  • imagename : 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.