Template:SmallFlag: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 5: Line 5:
}}
}}
</includeonly>
</includeonly>
__TOC__
==EXAMPLE ON HOW TO USE THE TEMPLATE==
{{SmallFlag
|imagename=congo.jpg
}}
Copy and paste the code below to the page you wish to add an image:
<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.
</noinclude>

Revision as of 01:58, 5 August 2011

EXAMPLE ON HOW TO USE THE TEMPLATE

[[File:{{{image_name}}}|50px|text-top|]]


EXAMPLE ON HOW TO USE THE TEMPLATE

Template loop detected: Template:SmallFlag

Copy and paste the code below to the page you wish to add an image:

{{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.

</noinclude>

Copy and paste the code below to the page you wish to add an image:

{{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.