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.

Talk:Main Page/Quote

From Dwarf Fortress Wiki
< Talk:Main Page
Revision as of 05:34, 27 February 2008 by VengefulDonut (talk | contribs) (New page: How to add quotes: * Go to the line of the last quote. * Add a line immediately after it (this should be before the closing }} brackets) * type "|<!--YOUR-QUOTE-NUMBER-->YOUR-QUOTE-HERE" o...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to add quotes:

  • Go to the line of the last quote.
  • Add a line immediately after it (this should be before the closing }} brackets)
  • type "|YOUR-QUOTE-HERE" on that line
(The quote number is not functionally necessary, but it allows keeping track of how many quotes there are without counting)
  • Look at the first line of the template
It should look something like this:
{{Choose|c={{#if: {{{1|}}}|{{rand|37}}|{{#expr: ({{rand2|10}}+27)}} }}
  • Adjust the number that is in the place of the 37 to reflect the number of quotes in the list.
  • Adjust the number that is in the place of the 27 to reflect ten less than the number of quotes in the list. (in this case.. 27)
The purpose of the first number is to choose a random element from the list of quotes.
The second lets us pick from among the last ten quotes in the list.
  • Preview your reply to make sure nothing is broken (or someone will be able to see it on the main page before it gets fixed)
  • Profit!

VengefulDonut 00:34, 27 February 2008 (EST)