Template:Quote of the day: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<!-- This works by recycling the same quotes monthly, DO NOT MODIFY ANYTHING besides the quotes! Remember all quotes have to be by Daniel Larson.
<!-- This works by recycling the same quotes monthly, DO NOT MODIFY ANYTHING besides the quotes! Remember all quotes have to be by Daniel Larson.
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 1 PLUS THE TOTAL NUMBER OF QUOTES! THIS IS NEEDED FOR IT TO WORK PROPERLY.
-->{{Quote|align=center|
-->{{Quote|align=center|
{{#switch: {{#expr: {{CURRENTDAYOFYEAR}} mod 136}}
{{#switch: {{#expr: {{CURRENTDAYOFYEAR}} mod 137}}
   | 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!

Latest revision as of 03:16, 1 May 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