Template:Quote of the day: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
(Bunch of new quotes, and even familiar ones haven't been added. Fixed this :))
(Bunch of new quotes, and even familiar ones haven't been added. Fixed this :))
Line 2: Line 2:
THIS IS EXTREMELY IMPORTANT- SET THE NUMBER AFTER "MOD" TO THE CURRENT NUMBER OF QUOTES! THIS IS NEEDED FOR IT TO WORK PROPERLY.
THIS IS EXTREMELY IMPORTANT- SET THE NUMBER AFTER "MOD" TO THE CURRENT NUMBER OF QUOTES! THIS IS NEEDED FOR IT TO WORK PROPERLY.
-->{{Quote|align=center|
-->{{Quote|align=center|
{{#switch: {{#expr: {{CURRENTDAYOFYEAR}} mod 130}}
{{#switch: {{#expr: {{CURRENTDAYOFYEAR}} mod 131}}
   | 1 = [[August 31st Incident|Bob just ran me over with his f--king car]]! ''Eehhhhhhhhh!''
   | 1 = [[August 31st Incident|Bob just ran me over with his f--king car]]! ''Eehhhhhhhhh!''
   | 2 = Call f--king dispatch!
   | 2 = Call f--king dispatch!

Revision as of 23:38, 11 April 2024


This template selects and displays an item from a pool of quotes based on the day of the year.

Adding quotes

Hello! Here's how to add quotes to this template:

  • Scroll down to the bottom of the page and look for:
    • <!-- ADD QUOTES ABOVE THIS. AFTER ADDING A NEW QUOTE, SET THE NUMBER AFTER "MOD" TO THE NUMBER OF QUOTES PLUS 1 -->
  • Read this, and put quotes above that using this formatting:
    • | (number) = Quote
    • Remember to keep the indent!
    • Do not repeat numbers!
  • Scroll up to the top and find:
    • {{#switch: {{#expr: {{#time: U}} mod QUOTESNUMBER}}
  • Then change "QUOTESNUMBER" to the highest current quote
    • Your quote will not be displayed if you do not do this

What not to add:

  • Quotes from people besides Daniel
  • Fake quotes
    • While you don't have to cite sources, it is very much recommended
  • Quotes that say slurs at all, even if censored, this is explicitly against the wiki guidelines
  • Remember this is being displayed on the front page when adding quotes