Difference between revisions of "Template:Vacation"

From Nookipedia, the Animal Crossing wiki
m (Removing gradient; I think it's easier to read without it.)
(Adding parameter to allow one to specify a user, and can use the template without having to use the date parameter if you want.)
Line 3: Line 3:
 
{| width=100% style="height:75px; background: lightgreen; {{roundy|46px}};"  
 
{| width=100% style="height:75px; background: lightgreen; {{roundy|46px}};"  
 
| width=50px style="padding:0 0 0 30px;" | [[File:Tortimer 3DS.png|39px]]
 
| width=50px style="padding:0 0 0 30px;" | [[File:Tortimer 3DS.png|39px]]
| style="text-align:left; padding:0 0 0 13px;" | Hi there sprout, '''{{PAGENAME}}''' is currently on vacation and will return on '''{{{date|January 1<sup>st</sup>}}}'''.<br>It's probably best not to post any messages to this talk page, as you are unlikely to receive a reply.
+
| style="text-align:left; padding:0 0 0 13px;" | Hi there sprout, '''{{{user|{{PAGENAME}}}}}''' is currently on vacation and will return on '''{{#if: {{{1|}}} | {{{1|}}} | {{{date|January 1<sup>st</sup>}}}}}'''.<br>It's probably best not to post any messages to this talk page, as you are unlikely to receive a reply.
 
|}
 
|}
 
|}<includeonly>[[Category:Users on Vacation]]</includeonly><noinclude>[[Category:Notice Templates]]
 
|}<includeonly>[[Category:Users on Vacation]]</includeonly><noinclude>[[Category:Notice Templates]]
 +
<br clear=all>
 +
This template lets other users know that you are on vacation and unable to edit the wiki, and advises them to not post messages onto your talk page while you are away.
  
 
==How to use==
 
==How to use==
 
Example: <tt><nowiki>{{vacation|date=date you will be returning}}</nowiki></tt>
 
Example: <tt><nowiki>{{vacation|date=date you will be returning}}</nowiki></tt>
  
This template is to let other users know that you are on vacation and unable to edit the wiki, and advises them to not post messages onto your talk page while you are away.
+
The '''<tt>user</tt>''' parameter can be used to specify the user going on vacation, otherwise the template will default to the page name it is placed on. If you don't use a named parameter, the template will assume that the first input is the date you will return. e.g.  <tt><nowiki>{{vacation|January 1st}}</nowiki></tt>
  
 
[[Category:Notice Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Notice Templates|{{PAGENAME}}]]</noinclude>

Revision as of 20:08, May 18, 2016

39px Hi there sprout, Vacation is currently on vacation and will return on January 1st.
It's probably best not to post any messages to this talk page, as you are unlikely to receive a reply.


This template lets other users know that you are on vacation and unable to edit the wiki, and advises them to not post messages onto your talk page while you are away.

How to use

Example: {{vacation|date=date you will be returning}}

The user parameter can be used to specify the user going on vacation, otherwise the template will default to the page name it is placed on. If you don't use a named parameter, the template will assume that the first input is the date you will return. e.g. {{vacation|January 1st}}