Templat:Cutiwiki: Perbezaan antara semakan

Kandungan dihapus Kandungan ditambah
Alistair (bincang | sumb.)
Tiada ringkasan suntingan
 
Alistair (bincang | sumb.)
Tiada ringkasan suntingan
Baris 8:
[[Category:Users currently away from Wikipedia|{{PAGENAME}}]]}}}
</includeonly><noinclude>
 
<!--The parameters {{{name}}}, {{{back}}}, {{{2}}} and {{{3}}} are retained from previous versions of this template for the sake of those users who used them.-->
__NOTOC__
==Usage==
'''Any and all the parameters are optional.'''<br><br>
The simplest use is to place <code><big><nowiki>{{wikibreak}}</nowiki></big></code> on your user and/or user talk pages and the above will be displayed, but with your user name in place of "'''Wikibreak'''".<br>
To change only the message, use <code><big><nowiki>{{wikibreak|message=</nowiki>''YourMessage''}}</big></code>, where ''YourMessage'' is the message you wish to use instead of the default above.<br>
For more options, see below.
 
You also can have different types. All of these parameters are still valid for the other types too. To change the type, add |type=''YourType''| when you call the template. At the moment, the types are: "exams", "attempting", "long", and "normal" (but if the ''normal'' type isn't specified, that's OK)
 
===Syntax===
''Any and all parameters optional.''
<div style=width:25%><pre>{{wikibreak
| Name
| back =
| type =
| message =
| bgcol =
| image =
| noimage =
| imagesize =
| cats =
}}</pre></div>
 
{| cellpadding=3
|- style="text-align:left; background:#ddd;"
!width=80px| Parameter !! width=300px| Description
! Example and default
|- valign=top
 
| '''''Name''''' || Your username or nickname.
| <code><big><nowiki>{{wikibreak | Joe | ...}}</nowiki></big></code><br>''Default:'' <nowiki>{{BASEPAGENAME}}</nowiki>
|- valign=top
 
| '''message''' || Your own message rather than the default.
| <code><big><nowiki>{{wikibreak | message=Joe is elsewhere for now, but will check his talk page now and then. | ...}}</nowiki></big></code><br>''Default:'' "''Name'' is taking a short [[Wikipedia:Wikiholiday|wikibreak]] and will be back on Wikipedia soon."
|- valign=top
 
| '''bgcol''' || The name (e.g. "beige") or HTML hex (e.g. "#97AAC4") specifying the template's background colo/ur.
| <code><big><nowiki>{{wikibreak ...| bgcol=pink | ...}}</nowiki></big></code><br>''Default:'' #F8EABA
|- valign=top
 
| '''image''' || Filename of the image you wish to appear<br>beside the message (omitting "Image:" prefix).
| <code><big><nowiki>{{wikibreak ...| image=MyImage.jpg | ...}}</nowiki></big></code><br>''Default:'' SickGirlInPyjamas.jpg
|- valign=top
 
| '''noimage''' || To display the template without a picture.
| <code><big><nowiki>{{wikibreak ...| noimage= | ...}}</nowiki></big></code><br>''Default:'' unused
|- valign=top
 
| '''imagesize''' || Size of the image.
| <code><big><nowiki>{{wikibreak ...| imagesize=100px | ...}}</nowiki></big></code><br>''Default:'' 75px
|- valign=top
 
| '''cats''' ||colspan=2| Include "| cats= |" (without speechmarks) to prevent the page featuring the template from being added to any category, otherwise "<nowiki>|&nbsp;cats=[[Category:CategoryName1|{{PAGENAME}}]]&nbsp;[[Category:CategoryName2|{{PAGENAME}}]]&nbsp;...|</nowiki>"<br> (without speechmarks) to include the page in CategoryName1, CategoryName2, ...
|-
|colspan=2| || ''Default:'' Pages using this template automatically added to [[:Category:Wikipedians who are not currently active]] and [[:Category:Users currently away from Wikipedia]].
|}
[[nl:Sjabloon:Wikibreak]]
[[nrm:Template:Vacanche]]
----
If you feel that you can't stay away for your entire wikibreak, add the following to your user page: <nowiki>{{</nowiki>[[Template:Wikibreak break|Wikibreak break]]<nowiki>}}</nowiki>
</noinclude>