User:Fred Gandt/sandbox/article
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]
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]
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]
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]
- Qux Qux Qux
Code[edit]
{{#invoke:Sandbox/Fred Gandt/motd|get|month=January|list=number}}
Result[edit]
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]
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}}