Difference between revisions of "Template:A"

From Feed The Beast Wiki
Jump to: navigation, search
Line 1: Line 1:
<noinclude>{{Project:Template_documentation_project/Status|codedone|Jinbobo}}{{Project:Template_documentation_project/Status|doc|Jinbobo}}</noinclude>{{#switch:{{lc:{{#sub:{{{1}}}|0|1}}}}|<!--
+
<noinclude>{{Project:Template_documentation_project/Status|codedone|Jinbobo}}{{Project:Template_documentation_project/Status|docdone|Jinbobo}}</noinclude>{{#switch:{{lc:{{#sub:{{{1}}}|0|1}}}}|<!--
 
-->| a = an <!--
 
-->| a = an <!--
 
-->| e = an <!--
 
-->| e = an <!--

Revision as of 13:01, 24 May 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.