Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:SmallFlag: Difference between revisions

Template page
No edit summary
No edit summary
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="display:inline !important;align:left">{{ScaleImage|imagename={{{imagename}}}|caption=|newwidth=25px}}</div></includeonly>
<includeonly><span style="display:inline;">{{ScaleImage|imagename={{{imagename}}}|newwidth=20px|caption= }}</span></includeonly>
<noinclude>
<noinclude>
__TOC__
__TOC__
==EXAMPLE ON HOW TO USE THE TEMPLATE==
==EXAMPLE ON HOW TO USE THE TEMPLATE==
{{SmallFlag
{{SmallFlag|imagename=congo.jpg}}&nbsp;Copy and paste the code below to the page you wish to add a small flag image 20px wide:
|imagename=congo.jpg
}}
Copy and paste the code below to the page you wish to add a small flag image 25px wide:
<pre>
<pre>
{{SmallFlag
{{SmallFlag|imagename=image.jpg}}
|imagename=image.jpg
}}
</pre>
</pre>


Line 21: 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>