Template:Tips: Difference between revisions

From Theosophy Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
Random quote of the day:
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


<random>
|


$wgRandomInclude['pattern'] = '----';
Absence makes the heart grow fonder.
Absence makes the heart grow fonder.
----
----
Line 12: 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>