Template:MOTX/doc


 * Description
 * MOTX: Message of the X (Day, Month, Year, etc.). This template is used to display a special message based on the current date.


 * Syntax
 * Type  somewhere to display all available messages based on the current date.


 * Dependencies
 * Requires another template, Ordinal to work.


 * Examples
 * Message of the Day of the Week
 * To display a message on a specific day of the week every week, create a subpage named for that day. So, to display a message on every Tuesday, you would create a new page called
 * Template:MOTX/Tuesday


 * Message of Day X of every Month
 * To display a message on a specific day of the month every month, create a subpage with a two-digit name for that day (the first would be 01, not just 1). So, to display a message on the of every month, create a page called
 * Template:MOTX/


 * Message of the Month
 * To display a message for a specific month every year, create a subpage with the month name. So, to display a message for all of August, create a new page called
 * Template:MOTX/August


 * Message of the Day of the Month
 * To display a message on a specific day of a month (like August 27 of every year), create a subpage named with four digits: the month number and day number (January first would be 0101, not just 11). So, to display a message every August 27, create a new page called
 * Template:MOTX/August


 * Message of the Year
 * To display a message for a whole year, create a subpage named with the word "year" followed by the year. So, to display a message for all of 2024, create a new page called
 * Template:MOTX/year2024


 * Message of the Day
 * To display a message for a specific date only, create a subpage named with eight digits: the four-digit-year number, the month number, and the day number, or YYYYMMDD (February third 2024 would be 20240203). So, to display a message on August 27, 2024, create a new page called
 * Template:MOTX/2024August


 * Styling
 * You can always style the messages right in the template itself, but this template also includes special classes you can style with CSS. Normally, this template simply outputs plain text messages all inline. For example, you might see something like this:

Friday: It's Friday! October: Breast Cancer Awareness Month! October 21: Iynque's Birthday!
 * Each of those messages is in it's own  that you can style with CSS. For example, to put each one on it's own line, you would add the following to MediaWiki:Wikia.css on your wiki:


 * That would make it display like this instead:

Friday: It's Friday! October: Breast Cancer Awareness Month! October 21: Iynque's Birthday!


 * The "MOTX" class will apply to every message. To target specific messages based on their type, you can use the following classes:


 * To style an individual message, simply design the message itself to look the way you want on that message's subpage.