Template:X: Difference between revisions

From FrathWiki
Jump to navigationJump to search
m (hmm, how'd that extra </noinclude> get there? o-o)
m (blank lines)
Line 30: Line 30:
-->{{#if: {{{30|}}} |[[Image:{{{1}}}-{{{30}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{30}}}]]}}<!--
-->{{#if: {{{30|}}} |[[Image:{{{1}}}-{{{30}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{30}}}]]}}<!--
-->{{#if: {{{31|}}} |[[Image:{{{1}}}-{{{31}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{31}}}]]}}<!--
-->{{#if: {{{31|}}} |[[Image:{{{1}}}-{{{31}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{31}}}]]}}<!--
-->{{#if: {{{rtl|}}} |</span>}}
-->{{#if: {{{rtl|}}} |</span>}}<noinclude>
<noinclude>
'''This template is still under construction and may not yet function correctly'''
'''This template is still under construction and may not yet function correctly'''



Revision as of 06:30, 18 June 2009

This template is still under construction and may not yet function correctly

Convenience template for entering conlang script with images for each letter by typing in transliteration. Usage is: {{x|language name|character|character|character...}} — for up to 30 characters.

Optional parameters are:

  • size — to specify the size of the images (default is to use their natural size)
  • rtl — to display the images in reverse order of entry (e.g. for a right-to-left language)
  • type — file extension of the images (if none is given, assumes gif)

It works by doing [[Image:languagename-character.gif]], so to use it you'll need to have files with names matching that template in place.

Notice that the character portion is included as the image's alt text, so it'll be helpful if it's reasonably representative of the character's value.