Template:Vacation: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
m (Text replacement - "color:black;" to "color:#000;")
 
(51 intermediate revisions by 27 users not shown)
Line 1: Line 1:
<div class="boilerplate metadata" id="image-needed" style="text-align: justify; background: #FFFF66; margin: .5em 2%; padding: 0 1em; border: 1px solid red; color:black">
{|class="notice-template" style="background:#FFFF66;border:1px solid red;width:90%;margin:0 auto;border-radius:1em;color:#000;"
[[Image:Smsaftergame.jpg|left|117px]]
|width=116|[[File:Vacation Image.png|center|115px]]
'''MAMMA MIA! Im-a gonna vacate for awhile!'''
|'''"Mama-mia! I'm-a gonna vacate for a while!"'''


This User is on '''Vacation''' to '''{{{1}}}'''. This user will return '''{{{2}}}'''.  
{{{1|{{ROOTPAGENAME}}}}} is {{{5|'''{{{2|on vacation}}}''' to '''{{{3|relax}}}''' and will return '''{{{4|soon}}}'''.}}}
</div>
|}<noinclude>
<noinclude>[[Category:Notice Templates|{{PAGENAME}}]]
'''Usage:''' The ideal purpose of this template is to give a notification if a user is going on vacation or similar, and will be inactive from the wiki for a while. The variable usage is shown below;
<pre>
{{Vacation
|1=The Name of the user (if not the same as the page's title)
|2=Display another event (Default: "vacation")
|3=Reason/brief explanation for inactivity (Default: relax)
|4=Return time (Default: "soon")
|5=Custom text (Replaces everything after Parameter 1)
}}
</pre>


There is one more variable not shown and two small template: {{{namespace}}},<nowiki>{{PAGENAME}}</nowiki>. It adds the word before talk (that's called a namespace) in
[[Category:Userspace templates]]</noinclude>
 
<nowiki>[[</nowiki><tt><nowiki>{{{NAMESPACE}}}</nowiki> talk: <nowiki>{{PAGENAME}}</nowiki>]]</tt>. PAGENAME is a template that adds the title of the page, after the NAMESPACE, which is the word before the title (MarioWiki, MediaWiki, Template, User, etc), and is only added if there is one.
 
Example: <tt><nowiki>{{Vaction|Place= Disney World|time= few months}}</nowiki></tt></noinclude>

Latest revision as of 13:29, May 26, 2024

Mario on the Beach
"Mama-mia! I'm-a gonna vacate for a while!"

Vacation is on vacation to relax and will return soon.

Usage: The ideal purpose of this template is to give a notification if a user is going on vacation or similar, and will be inactive from the wiki for a while. The variable usage is shown below;

{{Vacation
|1=The Name of the user (if not the same as the page's title)
|2=Display another event (Default: "vacation")
|3=Reason/brief explanation for inactivity (Default: relax)
|4=Return time (Default: "soon")
|5=Custom text (Replaces everything after Parameter 1)
}}