Template:Quote of the day/doc: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
This template selects an item from a pool of quotes based on the day of the year.
This template selects and displays an item from a pool of quotes based on the day of the year.


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


'''What you should <u>not</u> put in this template:
'''What ''not'' to add:'''
'''
* Quotes from people besides Daniel
* Quotes from people besides Daniel\
* Fake quotes
* Fake quotes
** While you don't have to cite sources, it is very much recommended
** While you don't have to cite sources, it is very much recommended
* Quotes that say slurs at all, even if censored, [[Daniel_Larson_Wiki:Rules_and_Ban_Appeals#:~:text=Do%20not%20use%20uncensored%20slurs%20in%20articles%2C%20unless%20it%20is%20being%20said%20by%20another%20person%20or%20in%20a%20transcript|this is explicitly against the wiki guidelines]]
* Quotes that say slurs at all, even if censored, [[Daniel_Larson_Wiki:Rules_and_Ban_Appeals#:~:text=Do%20not%20use%20uncensored%20slurs%20in%20articles%2C%20unless%20it%20is%20being%20said%20by%20another%20person%20or%20in%20a%20transcript|this is explicitly against the wiki guidelines]]
* Remember this is being displayed on the front page when adding quotes
* Remember this is being displayed on the front page when adding quotes

Revision as of 04:41, 19 March 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