User:Lyger/Template/DynamicMessage
From Guild Wars Wiki
Jump to navigationJump to search
Getting wiki with it!
Usage[edit]
A template that displays a different message depending on the day of the week it is.
{{User:Lyger/Template/DynamicMessage | sunday = | monday = | tuesday = | wednesday = | thursday = | friday = | saturday = }}
All the parameters of the template:
{{User:Lyger/Template/DynamicMessage | sunday = | monday = | tuesday = | wednesday = | thursday = | friday = | saturday = }}
Parameters[edit]
These are the accepted parameters:
- sunday
- Optional. The message text to display on a sunday. Defaults to 'Getting Wiki with it' if no text is supplied.
- monday
- Optional. The message text to display on a monday. Defaults to 'Getting Wiki with it' if no text is supplied.
- tuesday
- Optional. The message text to display on a tuesday. Defaults to 'Getting Wiki with it' if no text is supplied.
- wednesday
- Optional. The message text to display on a wednesday. Defaults to 'Getting Wiki with it' if no text is supplied.
- thursday
- Optional. The message text to display on a thursday. Defaults to 'Getting Wiki with it' if no text is supplied.
- friday
- Optional. The message text to display on a friday. Defaults to 'Getting Wiki with it' if no text is supplied.
- saturday
- Optional. The message text to display on a saturday. Defaults to 'Getting Wiki with it' if no text is supplied.
Notes[edit]
- This template has been created partly for my own amusement, and partly for me to get my head around using magic words and parser functions. If you want to use it, go ahead!
Examples[edit]
{{User:Lyger/Template/DynamicMessage | sunday = Getting wiki with it. | monday = When I were a lass, Pluto was a planet! | tuesday = It's tuesday. That means Guild Wars takes a back seat to going to the pub quiz and getting hammered. | wednesday = I am the Empress. You should declare your allegiance to me with a pretty user box. | thursday = I'm the only oldie in the guild! | friday = Hooray, weekend! | saturday = This user can mostly be found murdering snowmen in their home. }}