Get the last motto (ostensibly today's)

Code

((#invoke:Sandbox/Fred Gandt/motd|get))

Result

Qux Qux Qux

Get the last motto (ostensibly today's) listed with definition

Code

((#invoke:Sandbox/Fred Gandt/motd|get|definition=Motto of the day!))

Result

Motto of the day!
Qux Qux Qux

Get all mottos from the specified year as a bulleted list

Code

((#invoke:Sandbox/Fred Gandt/motd|get|year=2015|list=bullet))

Result

Get all mottos from the specified year as a numbered list

Code

((#invoke:Sandbox/Fred Gandt/motd|get|year=2015|list=number))

Result

  1. Foo Foo Foo
  2. Bar Bar Blacksheep
  3. Baz Baz Baz
  4. Qux Qux Qux

Get all mottos from the specified year as an indented list

Code

((#invoke:Sandbox/Fred Gandt/motd|get|year=2015|list=indent))

Result

Foo Foo Foo
Bar Bar Blacksheep
Baz Baz Baz
Qux Qux Qux

Get all mottos from the specified year as a definition list

Code

((#invoke:Sandbox/Fred Gandt/motd|get|year=2015|definition=All the mottos from 2015))

Result

All the mottos from 2015
Foo Foo Foo
Bar Bar Blacksheep
Baz Baz Baz
Qux Qux Qux

Get all mottos from the specified year as a custom list

Code

((#invoke:Sandbox/Fred Gandt/motd|get|year=2015|list= · ))

Result

Foo Foo Foo · Bar Bar Blacksheep · Baz Baz Baz · Qux Qux Qux

Get the day of the month for which a specified motto was created

Code

((#invoke:Sandbox/Fred Gandt/motd|get|request=day|text=Bar Bar Blacksheep))

Result

3

Get the month for which a specified motto was created

Code

((#invoke:Sandbox/Fred Gandt/motd|get|request=month|text=Bar Bar Blacksheep))

Result

January

Get the year for which a specified motto was created

Code

((#invoke:Sandbox/Fred Gandt/motd|get|request=year|text=Bar Bar Blacksheep))

Result

2015

Get the full date for which a specified motto was created

Code

((#invoke:Sandbox/Fred Gandt/motd|get|request=date|text=Bar Bar Blacksheep))

Result

January 3, 2015

Get the motto created for the specified date

Code

((#invoke:Sandbox/Fred Gandt/motd|get|day=3|month=January|year=2015))

Result

Bar Bar Blacksheep

Get the motto created for the specified date as definition list

Code

((#invoke:Sandbox/Fred Gandt/motd|get|day=3|month=January|year=2015|definition=Motto from January 3, 2015))

Result

Motto from January 3, 2015
Bar Bar Blacksheep

Get the mottos created for the specified month as a numbered list

Code (excluding markup)

((#invoke:Sandbox/Fred Gandt/motd|get|request=text|month=September|list=number))

Result (excluding markup)

  1. Qux Qux Qux

Code

((#invoke:Sandbox/Fred Gandt/motd|get|month=January|list=number))

Result

  1. Foo Foo Foo
  2. Bar Bar Blacksheep

Get the mottos created for the specified month of the specified year as a numbered list

Code

((#invoke:Sandbox/Fred Gandt/motd|get|month=January|year=2015|list=number))

Result

  1. Bar Bar Blacksheep
  2. Foo Foo Foo

Get the mottos created for the same month as the specified motto

Code

((#invoke:Sandbox/Fred Gandt/motd|get|month=((#invoke:Sandbox/Fred Gandt/motd|get|request=month|text=Bar Bar Blacksheep))|list=bullet))

Result