Template:Tips: Difference between revisions
No edit summary |
No edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<random> | <random> | ||
$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 | |||
| | |||
Absence makes the heart grow fonder. | Absence makes the heart grow fonder. | ||
---- | ---- | ||
Line 9: | Line 23: | ||
---- | ---- | ||
[[Wikitext]] '''can''' be used here. | [[Wikitext]] '''can''' be used here. | ||
</random> | </random> |
Latest revision as of 22:06, 30 June 2014
Random quote of the day:
<random>
$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
|
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.
</random>