Difference between revisions of "Apertium-kaz/test"

From Apertium
Jump to navigation Jump to search
Line 1: Line 1:
  +
{{#function | formatNum ||
{{LangStats | foo=bar | WinterTemplate}}
 
  +
{{#if | {{#1}} || {{#1}} || no more }} bottle{{#if | {{#1 == 1}} || || s}}
  +
}}
  +
  +
{{#for | {{#i @= 99}} || {{#i >= 0}} || {{#i --}} ||
  +
{{#bottles | @= | {{#formatNum | {{#i}} }} }}
  +
{{#ucfirst | {{#bottles}} }} of beer on the wall, {{#bottles}} of beer.<br />
  +
{{#if | {{#i}} ||
  +
Take one down and pass it around, {{#formatNum| {{#i - 1}} }}
  +
||
  +
Go to the store and buy some more, 99 bottles
  +
}} of beer on the wall.<br /><br />
  +
}}

Revision as of 17:51, 7 January 2013

{{#function | formatNum ||

  {{#if | {{#1}} || {{#1}} || no more }} bottle{{#if | {{#1 == 1}} || || s}}

}}

{{#for | {{#i @= 99}} || {{#i >= 0}} || {{#i --}} ||

  {{#bottles | @= | {{#formatNum | {{#i}} }} }}
  {{#ucfirst | {{#bottles}} }} of beer on the wall, {{#bottles}} of beer.
{{#if | {{#i}} || Take one down and pass it around, {{#formatNum| {{#i - 1}} }} || Go to the store and buy some more, 99 bottles }} of beer on the wall.

}}