Module:Random/doc: Difference between revisions

Content deleted Content added
HTML lists: keep the Monty Python theme
add refresh links to the later examples
Line 77:
 
The separator can be specified with either the {{para|sep}} or {{para|separator}} parameters; its default value is "{{int:comma-separator}}". The conjunction can be specified with either the {{para|conj}} or {{para|conjunction}} parameters; its default value is " and ". The separator and the conjunction can be specified with the same values as the separator in the [[#List|list function]].
 
'''Examples''' <small>({{purge|refresh}})</small>
 
* <code><nowiki>{{#invoke:random|text_list|egg|beans|sausage|bacon|spam}}</nowiki></code> &rarr; {{#invoke:random|text_list|egg|beans|sausage|bacon|spam}}
Line 91 ⟶ 93:
! Produces
! Example code
! Example output <small>({{purge|refresh}})</small>
|-
| <code>bulleted_list</code>