Template:Tips: Difference between revisions

From Theosophy Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
$wgRandomInclude['count'] = 1;        // default number of items
$wgRandomInclude['count'] = 1;        // default number of items
$wgRandomInclude['limit'] = 20;      // default limit on runaway loop
$wgRandomInclude['limit'] = 20;      // default limit on runaway loop
$wgRandomInclude['seed'] = none;      // default seed value
$wgRandomInclude['seed'] = 67;      // default seed value
$wgRandomInclude['hash'] = none;      // default hash value
$wgRandomInclude['hash'] = none;      // default hash value
$wgRandomInclude['period'] = none;    // default period as minute, hour, day, week or seconds (integer)
$wgRandomInclude['period'] = none;    // default period as minute, hour, day, week or seconds (integer)

Revision as of 21:45, 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'] = 67; // 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>