Pagrindinis puslapis
Atsitiktinis
Prisijungti
Nustatymai
Apie MCSlime.LT
Atsakomybės apribojimas
MCSlime.LT
Paieška
Taisomas
Šablonas:MessageBox/doc
Dėmesio:
Jūs nesate prisijungęs. Jūsų IP adresas bus viešai matomas, jei atliksite kokius nors keitimus. Jeigu
prisijungsite
arba
sukursite paskyrą
, jūsų keitimai bus priskirti jūsų naudotojo vardui; drauge įgysite naujų galimybių.
Brukalų patikra.
Ne
pildykite!
{{Documentation}}<includeonly>[[Category:Message box templates|*]]</includeonly> The '''MessageBox''' template is a wrapper for all types of [[:Category:Message box templates|message boxes]]. This includes [[Template:License|licenses]], [[:Category:Maintenance templates|Maintenance templates]], and general notices used to alert the reader about something. ==Parameters== To use this template, copy the following code and fill in the necessary information <pre> {{MessageBox |class = (optional) classes |img = Image |imgwidth = (optional) width of the table cell around the image |Tagline text |Extra information }} </pre> The first parameter is mandatory, but all further parameters are optional. A plain message box will look like this: {{t|MessageBox|Example of a messagebox with no customisation}} {{MessageBox|Example of a messagebox with no customisation}} ===First parameter=== The first parameter will give the tagline for the message box. This is the most eye-catching info in the box and should be short and sweet. ===Second parameter=== The second parameter specifies more information about the message, and can be used to specify some more details about what information is being conveyed. ===img=== Specify an image here. Recommended is to include <code>center</code>, <code>link=</code> and a file size, to stylize the image properly. Just specifying the file name will not work with this parameter; the image needs to be given as a complete file link. ===imgwidth=== The width of the cell the image is (must specify <code>px</code> at the end), and defaults to <code>50px</code>. This effectively sets the margins around the image, if the image is smaller than 50 px. It is typically best to omit this parameter, but in cases where the image is larger setting a custom width may be helpful. ===class=== A class to give the messagebox. Typically this is used for messageboxes that use custom styling which is defined in a class. ===style=== Inline CSS to give to the messagebox. ==Example== An example of a template that has almost all parameters specified is the [[Template:Stub|Stub]] template <pre> {{MessageBox |class = stub |img = [[File:Stub.png|Stub|center|50px|link=]] |This page is a [[Stubs|stub]]. |A stub is an article which does not cover all information available about the topic. You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding] it. }} </pre> {{MessageBox |class = stub |img = [[File:Stub.png|Stub|center|50px|link=]] |This page is a [[Stubs|stub]]. |A stub is an article which does not cover all information available about the topic. You can help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding] it. }}
Paaiškinimas:
Primename, kad viskas, kas patenka į MCSlime.LT, yra skelbiama pagal GNU Free Documentation licencija 1.3 arba naujesnė versija (plačiau –
MCSlime.LT:Autorinės teisės
). Jei nenorite, kad jūsų indėlis būtų be gailesčio kaitaliojamas ir platinamas, nerašykite čia.
Jūs taip pat pasižadate, kad tai jūsų pačių rašytas turinys arba kopijuotas iš viešų ar panašių nemokamų šaltinių.
Nekopijuokite autorinėmis teisėmis apsaugotų darbų be leidimo!
Atšaukti
Kaip redaguoti
(atsidaro naujame lange)
Šablonų, naudojami puslapyje:
Šablonas:Documentation
(
keisti
)
Šablonas:MessageBox
(
keisti
)
Šablonas:T
(
keisti
)
Module:Array
(
keisti
)
Module:DPLlua
(
keisti
)
Module:DependencyList
(
keisti
)
Module:Documentation
(
keisti
)
Module:Paramtest
(
keisti
)
Module:T
(
keisti
)
Module:Tooltip
(
keisti
)
Module:Yesno
(
keisti
)