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 "Talk:Main Page/Quote"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (html makes brackets disappear. imagine that)
m
Line 14: Line 14:
 
*Profit!
 
*Profit!
 
[[User:VengefulDonut|VengefulDonut]] 00:34, 27 February 2008 (EST)
 
[[User:VengefulDonut|VengefulDonut]] 00:34, 27 February 2008 (EST)
 +
 +
For what it's worth, the nowiki formatting around square bracketed 'B' in the Toady quote about boats was simply in the interests of quoting accuracy; the original word was not capitalized and I still have that kind of formatting in my heart from college paper citations. --[[User:Alfador|Alfador]] 12:16, 24 March 2008 (EDT)

Revision as of 16:16, 24 March 2008

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" 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)

For what it's worth, the nowiki formatting around square bracketed 'B' in the Toady quote about boats was simply in the interests of quoting accuracy; the original word was not capitalized and I still have that kind of formatting in my heart from college paper citations. --Alfador 12:16, 24 March 2008 (EDT)