Template:Tips: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<random> | <random> | ||
Absence makes the heart grow fonder. | |||
---- | |||
Actions speak louder than words. | |||
---- | |||
An ounce of prevention is worth a pound of cure. | |||
---- | |||
[[Wikitext]] '''can''' be used here. | |||
| | |||
$wgRandomInclude['pattern'] = '----'; // default pattern to use as boundary between items (use '----' to get previous behaviour) | $wgRandomInclude['pattern'] = '----'; // default pattern to use as boundary between items (use '----' to get previous behaviour) | ||
Line 15: | Line 24: | ||
$wgRandomInclude['format'] = 'none'; // default format string, set to 'none' to do no formatting of output | $wgRandomInclude['format'] = 'none'; // default format string, set to 'none' to do no formatting of output | ||
</random> | </random> |
Revision as of 21:51, 30 June 2014
Random quote of the day:
<random>
Absence makes the heart grow fonder.
Actions speak louder than words.
An ounce of prevention is worth a pound of cure.
Wikitext can be used here.
|
$wgRandomInclude['pattern'] = '----'; // default pattern to use as boundary between items (use '----' to get previous behaviour) $wgRandomInclude['separator'] = ; // default separator rendered between items $wgRandomInclude['count'] = 1; // default number of items $wgRandomInclude['limit'] = 20; // default limit on runaway loop $wgRandomInclude['seed'] = none; // default seed value $wgRandomInclude['hash'] = none; // default hash value $wgRandomInclude['period'] = none; // default period as minute, hour, day, week or seconds (integer) $wgRandomInclude['mode'] = ?; // default mode is none or ordered depending on count $wgRandomInclude['cache'] = 'enabled';// default cache strategy, set to 'disable' to do no caching $wgRandomInclude['format'] = 'none'; // default format string, set to 'none' to do no formatting of output
</random>