Difference between revisions of "Template:Flag"

From Second Life Wiki
Jump to navigation Jump to search
(created test template)
 
 
Line 1: Line 1:
<includeonly>{{#ifeq:{{{1| }}}|union jack|[[Image:Flag_of_the_United_Kingdom.svg|{{{2|}}}|{{{3|}}}|{{{4|}}}]]|}}</includeonly>
<includeonly>{{#ifeq:{{{1| }}}|union jack|[[Image:Flag_of_the_United_Kingdom.svg|{{{2|50px}}}|{{{3|}}}|{{{4|}}}]]|}}</includeonly><noinclude>
This template is used as a shortcut to display the SVG flags available on the SL Wiki.
 
the default width is 50 pixels.
 
== Usage Examples ==
* <nowiki>{{flag|union jack}}</nowiki> gives {{flag|union jack}}
* <nowiki>{{flag|union jack|120px}}</nowiki> gives {{flag|union jack|120px}}
</noinclude>

Latest revision as of 12:07, 7 June 2007

This template is used as a shortcut to display the SVG flags available on the SL Wiki.

the default width is 50 pixels.

Usage Examples

  • {{flag|union jack}} gives
    Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1928. convert-im6.q16: unable to open file `/tmp/magick-24835jODjmEcR4DVH': No such file or directory @ error/constitute.c/ReadImage/600. convert-im6.q16: no images defined `PNG:/tmp/transform_68f69b01d914.png' @ error/convert.c/ConvertImageCommand/3258.
  • {{flag|union jack|120px}} gives
    Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1928. convert-im6.q16: unable to open file `/tmp/magick-24840xyK3KtdTUCdG': No such file or directory @ error/constitute.c/ReadImage/600. convert-im6.q16: no images defined `PNG:/tmp/transform_5785e26ec3ee.png' @ error/convert.c/ConvertImageCommand/3258.