Get the last motto (ostensibly today's)

edit

Code

edit

{{#invoke:Sandbox/Fred Gandt/motd|get}}

Result

edit

Qux Qux Qux

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

edit

Code

edit

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

Result

edit
Motto of the day!
Qux Qux Qux

Get all mottos from the specified year as a bulleted list

edit

Code

edit

{{#invoke:Sandbox/Fred Gandt/motd|get|year=2015|list=bullet}}

Result

edit

Get all mottos from the specified year as a numbered list

edit

Code

edit

{{#invoke:Sandbox/Fred Gandt/motd|get|year=2015|list=number}}

Result

edit
  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

edit

Code

edit

{{#invoke:Sandbox/Fred Gandt/motd|get|year=2015|list=indent}}

Result

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

Get all mottos from the specified year as a definition list

edit

Code

edit

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

Result

edit
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

edit

Code

edit

{{#invoke:Sandbox/Fred Gandt/motd|get|year=2015|list= · }}

Result

edit

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

edit

Code

edit

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

Result

edit

3

Get the month for which a specified motto was created

edit

Code

edit

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

Result

edit

January

Get the year for which a specified motto was created

edit

Code

edit

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

Result

edit

2015

Get the full date for which a specified motto was created

edit

Code

edit

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

Result

edit

January 3, 2015

Get the motto created for the specified date

edit

Code

edit

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

Result

edit

Bar Bar Blacksheep

Get the motto created for the specified date as definition list

edit

Code

edit

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

Result

edit
Motto from January 3, 2015
Bar Bar Blacksheep

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

edit

Code (excluding markup)

edit

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

Result (excluding markup)

edit
  1. Qux Qux Qux

Code

edit

{{#invoke:Sandbox/Fred Gandt/motd|get|month=January|list=number}}

Result

edit
  1. Foo Foo Foo
  2. Bar Bar Blacksheep

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

edit

Code

edit

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

Result

edit
  1. Bar Bar Blacksheep
  2. Foo Foo Foo

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

edit

Code

edit

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

Result

edit
  • Foo Foo Foo
  • Bar Bar Blacksheep