Template:Choose: Difference between revisions

From FreeAllegiance Wiki
Jump to navigationJump to search
m (wiki needs LOCALTIMESTAMP capability for this page to work properly?)
mNo edit summary
Line 1: Line 1:
42<noinclude>
{{{{{{c|1}}}|}}}<noinclude>
This template returns one element from a list that is passed to it.
 
Usage:
 
<nowiki>{{Choose|c=5|a|b|c|d|e|f|g|h}}</nowiki> gives {{Choose|c=5|a|b|c|d|e|f|g|h}}




This template produces a integer between 1 and {{{1}}}. Once the page is cached, the number will remain fairly constant.
</noinclude>
</noinclude>

Revision as of 09:20, 1 May 2008

This template returns one element from a list that is passed to it.

Usage:

{{Choose|c=5|a|b|c|d|e|f|g|h}} gives e