Feed The Beast Wiki
Feed The Beast Wiki
im>JinboBot
m (Bot: Template documentation project cleanup, removed: {{Project:Template_documentation_project/Status|codedone|Jinbobo}}, {{Project:Template_documentation_project/Status|docdone|Jinbobo}})
im>JinboBot
m (Robot: Automated text replacement (-<noinclude></noinclude> +))
Line 1: Line 1:
<noinclude></noinclude>{{#switch:{{lc:{{#sub:{{{1}}}|0|1}}}}|<!--
+
{{#switch:{{lc:{{#sub:{{{1}}}|0|1}}}}|<!--
 
-->| a = an <!--
 
-->| a = an <!--
 
-->| e = an <!--
 
-->| e = an <!--

Revision as of 13:50, 15 July 2013

a

Template-info.png Documentation

This templates display a or an depending on the input.

Parameters

1: Input used to determine whether to output a or an.

Examples

{{A|apple}} apple, {{A|banana}} banana

produces:
an apple, a banana

You can use parser functions to turn the first character to uppercase, for instructions on how to do that, see MW:Extention:StringFunctions.