The wiki has recently been updated. Please contact me by talk page or email if you encounter any issues.

Template:X: Difference between revisions

From FrathWiki
Jump to navigationJump to search
(Tryin' somethin')
 
(hee, file extensions yes)
Line 1: Line 1:
{{#if: {{{rtl|}}} |<span dir="rtl">}}<!--
{{#if: {{{rtl|}}} |<span dir="rtl">}}<!--
-->{{#if: {{{2|}}} |[[Image:{{{1}}}-{{{2}}}{{!}}{{{size|}}}{{!}}{{{2}}}]]}}<!--
-->{{#if: {{{2|}}} |[[Image:{{{1}}}-{{{2}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{2}}}]]}}<!--
-->{{#if: {{{3|}}} |[[Image:{{{1}}}-{{{3}}}{{!}}{{{size|}}}{{!}}{{{3}}}]]}}<!--
-->{{#if: {{{3|}}} |[[Image:{{{1}}}-{{{3}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{3}}}]]}}<!--
-->{{#if: {{{4|}}} |[[Image:{{{1}}}-{{{4}}}{{!}}{{{size|}}}{{!}}{{{4}}}]]}}<!--
-->{{#if: {{{4|}}} |[[Image:{{{1}}}-{{{4}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{4}}}]]}}<!--
-->{{#if: {{{5|}}} |[[Image:{{{1}}}-{{{5}}}{{!}}{{{size|}}}{{!}}{{{5}}}]]}}<!--
-->{{#if: {{{5|}}} |[[Image:{{{1}}}-{{{5}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{5}}}]]}}<!--
-->{{#if: {{{6|}}} |[[Image:{{{1}}}-{{{6}}}{{!}}{{{size|}}}{{!}}{{{6}}}]]}}<!--
-->{{#if: {{{6|}}} |[[Image:{{{1}}}-{{{6}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{6}}}]]}}<!--
-->{{#if: {{{7|}}} |[[Image:{{{1}}}-{{{7}}}{{!}}{{{size|}}}{{!}}{{{7}}}]]}}<!--
-->{{#if: {{{7|}}} |[[Image:{{{1}}}-{{{7}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{7}}}]]}}<!--
-->{{#if: {{{8|}}} |[[Image:{{{1}}}-{{{8}}}{{!}}{{{size|}}}{{!}}{{{8}}}]]}}<!--
-->{{#if: {{{8|}}} |[[Image:{{{1}}}-{{{8}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{8}}}]]}}<!--
-->{{#if: {{{9|}}} |[[Image:{{{1}}}-{{{9}}}{{!}}{{{size|}}}{{!}}{{{9}}}]]}}<!--
-->{{#if: {{{9|}}} |[[Image:{{{1}}}-{{{9}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{9}}}]]}}<!--
-->{{#if: {{{10|}}} |[[Image:{{{1}}}-{{{10}}}{{!}}{{{size|}}}{{!}}{{{10}}}]]}}<!--
-->{{#if: {{{10|}}} |[[Image:{{{1}}}-{{{10}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{10}}}]]}}<!--
-->{{#if: {{{11|}}} |[[Image:{{{1}}}-{{{11}}}{{!}}{{{size|}}}{{!}}{{{11}}}]]}}<!--
-->{{#if: {{{11|}}} |[[Image:{{{1}}}-{{{11}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{11}}}]]}}<!--
-->{{#if: {{{12|}}} |[[Image:{{{1}}}-{{{12}}}{{!}}{{{size|}}}{{!}}{{{12}}}]]}}<!--
-->{{#if: {{{12|}}} |[[Image:{{{1}}}-{{{12}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{12}}}]]}}<!--
-->{{#if: {{{13|}}} |[[Image:{{{1}}}-{{{13}}}{{!}}{{{size|}}}{{!}}{{{13}}}]]}}<!--
-->{{#if: {{{13|}}} |[[Image:{{{1}}}-{{{13}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{13}}}]]}}<!--
-->{{#if: {{{14|}}} |[[Image:{{{1}}}-{{{14}}}{{!}}{{{size|}}}{{!}}{{{14}}}]]}}<!--
-->{{#if: {{{14|}}} |[[Image:{{{1}}}-{{{14}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{14}}}]]}}<!--
-->{{#if: {{{15|}}} |[[Image:{{{1}}}-{{{15}}}{{!}}{{{size|}}}{{!}}{{{15}}}]]}}<!--
-->{{#if: {{{15|}}} |[[Image:{{{1}}}-{{{15}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{15}}}]]}}<!--
-->{{#if: {{{16|}}} |[[Image:{{{1}}}-{{{16}}}{{!}}{{{size|}}}{{!}}{{{16}}}]]}}<!--
-->{{#if: {{{16|}}} |[[Image:{{{1}}}-{{{16}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{16}}}]]}}<!--
-->{{#if: {{{17|}}} |[[Image:{{{1}}}-{{{17}}}{{!}}{{{size|}}}{{!}}{{{17}}}]]}}<!--
-->{{#if: {{{17|}}} |[[Image:{{{1}}}-{{{17}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{17}}}]]}}<!--
-->{{#if: {{{18|}}} |[[Image:{{{1}}}-{{{18}}}{{!}}{{{size|}}}{{!}}{{{18}}}]]}}<!--
-->{{#if: {{{18|}}} |[[Image:{{{1}}}-{{{18}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{18}}}]]}}<!--
-->{{#if: {{{19|}}} |[[Image:{{{1}}}-{{{19}}}{{!}}{{{size|}}}{{!}}{{{19}}}]]}}<!--
-->{{#if: {{{19|}}} |[[Image:{{{1}}}-{{{19}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{19}}}]]}}<!--
-->{{#if: {{{20|}}} |[[Image:{{{1}}}-{{{20}}}{{!}}{{{size|}}}{{!}}{{{20}}}]]}}<!--
-->{{#if: {{{20|}}} |[[Image:{{{1}}}-{{{20}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{20}}}]]}}<!--
-->{{#if: {{{21|}}} |[[Image:{{{1}}}-{{{21}}}{{!}}{{{size|}}}{{!}}{{{21}}}]]}}<!--
-->{{#if: {{{21|}}} |[[Image:{{{1}}}-{{{21}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{21}}}]]}}<!--
-->{{#if: {{{22|}}} |[[Image:{{{1}}}-{{{22}}}{{!}}{{{size|}}}{{!}}{{{22}}}]]}}<!--
-->{{#if: {{{22|}}} |[[Image:{{{1}}}-{{{22}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{22}}}]]}}<!--
-->{{#if: {{{23|}}} |[[Image:{{{1}}}-{{{23}}}{{!}}{{{size|}}}{{!}}{{{23}}}]]}}<!--
-->{{#if: {{{23|}}} |[[Image:{{{1}}}-{{{23}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{23}}}]]}}<!--
-->{{#if: {{{24|}}} |[[Image:{{{1}}}-{{{24}}}{{!}}{{{size|}}}{{!}}{{{24}}}]]}}<!--
-->{{#if: {{{24|}}} |[[Image:{{{1}}}-{{{24}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{24}}}]]}}<!--
-->{{#if: {{{25|}}} |[[Image:{{{1}}}-{{{25}}}{{!}}{{{size|}}}{{!}}{{{25}}}]]}}<!--
-->{{#if: {{{25|}}} |[[Image:{{{1}}}-{{{25}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{25}}}]]}}<!--
-->{{#if: {{{26|}}} |[[Image:{{{1}}}-{{{26}}}{{!}}{{{size|}}}{{!}}{{{26}}}]]}}<!--
-->{{#if: {{{26|}}} |[[Image:{{{1}}}-{{{26}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{26}}}]]}}<!--
-->{{#if: {{{27|}}} |[[Image:{{{1}}}-{{{27}}}{{!}}{{{size|}}}{{!}}{{{27}}}]]}}<!--
-->{{#if: {{{27|}}} |[[Image:{{{1}}}-{{{27}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{27}}}]]}}<!--
-->{{#if: {{{28|}}} |[[Image:{{{1}}}-{{{28}}}{{!}}{{{size|}}}{{!}}{{{28}}}]]}}<!--
-->{{#if: {{{28|}}} |[[Image:{{{1}}}-{{{28}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{28}}}]]}}<!--
-->{{#if: {{{29|}}} |[[Image:{{{1}}}-{{{29}}}{{!}}{{{size|}}}{{!}}{{{29}}}]]}}<!--
-->{{#if: {{{29|}}} |[[Image:{{{1}}}-{{{29}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{29}}}]]}}<!--
-->{{#if: {{{30|}}} |[[Image:{{{1}}}-{{{30}}}{{!}}{{{size|}}}{{!}}{{{30}}}]]}}<!--
-->{{#if: {{{30|}}} |[[Image:{{{1}}}-{{{30}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{30}}}]]}}<!--
-->{{#if: {{{31|}}} |[[Image:{{{1}}}-{{{31}}}{{!}}{{{size|}}}{{!}}{{{31}}}]]}}<!--
-->{{#if: {{{31|}}} |[[Image:{{{1}}}-{{{31}}}.{{{type|gif}}}{{!}}{{{size|}}}{{!}}{{{31}}}]]}}<!--
-->{{#if: {{{rtl|}}} |</span>}}
-->{{#if: {{{rtl|}}} |</span>}}
<noinclude>
<noinclude>
Line 40: Line 40:
* <tt>size</tt> — to specify the size of the images (default is to use their natural size)
* <tt>size</tt> — to specify the size of the images (default is to use their natural size)
* <tt>rtl</tt> — to display the images in reverse order of entry (e.g. for a right-to-left language)
* <tt>rtl</tt> — to display the images in reverse order of entry (e.g. for a right-to-left language)
* <tt>type</tt> — file extension of the images (if none is given, assumes <tt>gif</tt>)


It works by doing <tt><nowiki>[[</nowiki>Image:''languagename''-''character'']]</tt>, so to use it you'll need to have files with names matching that template in place.
It works by doing <tt><nowiki>[[</nowiki>Image:''languagename''-''character''.gif]]</tt>, 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.</noinclude>
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.</noinclude>

Revision as of 07:27, 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.