v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Main Page/Quote"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(New quote system)
m (#splitrand)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This is the random quote for the [[Main Page|main page]], selected from the [[Main Page/Quote/list|list]]. To add a quote, edit the [[Main Page/Quote/list|''list'']], not this page.
 
This is the random quote for the [[Main Page|main page]], selected from the [[Main Page/Quote/list|list]]. To add a quote, edit the [[Main Page/Quote/list|''list'']], not this page.
<blockquote>
+
{{quote|
</noinclude>{{#rsplit:{{#rreplace:{{:Main Page/Quote/list}}|(\n)\n+|$1}}|\n|{{#expr:{{rand|{{#expr:{{str/count|\n|{{#rreplace:{{:Main Page/Quote/list}}|(\n)\n+|$1}}}}+1}}}}-1}}}}<noinclude>
+
</noinclude>{{#splitrand:{{:Main Page/Quote/list}}}}<noinclude>
</blockquote>
+
}}
 +
</noinclude>

Revision as of 04:16, 20 February 2014

This is the random quote for the main page, selected from the list. To add a quote, edit the list, not this page.

(On artifacts) I got a flint door, called The Noiseless Odors. -- Nyxalinth