Inus-usar daytoy a plantilia kadagiti mensahe ti sistema. Dagiti panagbaliw iti daytoy ket gapuanan dagiti dagus a panagbaliw iti interface ti agar-aramat iti Wikipedia. Tapno maliklikan ti nakaro a pannakagulo, nasken nga umuna a masubokan dagiti ania man a panagbaliw kadagiti subpanid ti /pagipadasan wenno /pangsubok ti plantilia, wenno iti bukodmo a pagipadasan. Mabalinton a mainayon dagiti nasubokan a panagbaliw iti maysa a panagurnos iti daytoy a plantilia. Pangngaasi a pakitungtungan dagiti ania man a panagbaliw iti panid ti tungtungan sakbay nga isayangkat. |
Inus-usar daytoy a plantilia kadagiti adu a panid, no baliwam adunto ti makadlaw. Pangngaasi nga umuna a subokan kadagiti subpanid ti /pagipadasan wenno /pangsubok, wenno iti bukodmo a subpanid, ken usigen a pagtungtungan dagiti binaliwan iti panid ti tungtungan sakbay nga isayangkat. |
Agus-usar daytoy a plantilia iti Lua: |
Daytoy dokumentasion a subpanid ti plantilia ket saan pay wenno agdama pay laeng a maipatpatarus. No kayat ti tumulong nga agipatarus kadagiti kastoy a panid, kitaen ti Kategoria:Dagiti subpanid ti dokumentasion a nasken a maipatarus. |
Dagiti meta plantilia ti kahon ti mensahe | |
---|---|
plantilia | konteksto |
{{Ambox}} | artikulo |
{{Cmbox}} | kategoria |
{{Imbox}} | ladawan |
{{Tmbox}} | tungtungan |
{{Fmbox}} | sakaanan / paulo |
{{Ombox}} | dadduma a pampanid |
{{Mbox}} | automatiko a maduktalan |
{{Asbox}} | pungol nga artikulo |
{{Dmbox}} | panangilawlawag |
Daytoy ti {{cmbox}} wenno meta plantilia ti kahon ti mensahe ti kategoria.
Daytoy ket naus-usar iti panagaramid kadagit plantilia ti kahon ti mensahe ara kadagiti panid ti kategoria. Daytoy ket mangited kadagiti nadumaduma a maris, agusar kadagiti kasisigud a ladawan no awan ti maited a parametro ti ladawan, ken adda pay dagiti dadduma a langa.
Daytoy a plantilia ket gangani a kapada ti {{ambox}} ken agusar kadagiti isu met laeng a parametro.
Kas pagarigan ti nalaka a panagusar:
{{cmbox | text = Linaon a teksto.}}
Linaon a teksto. |
Narikut a kaspagarigan:
{{cmbox | type = style | image = [[File:Emblem-question-yellow.svg|40px]] | style = width: 400px; | textstyle = color: red; font-weight: bold; font-style: italic; | text = Ti teksto ti bagi ti mensahe. }}
Ti teksto ti bagi ti mensahe. |
Dagiti sumaganad a kas pagarigan ket agusar kadagiti sabali a parametro ti type ngem saan nga agusar kadagiti parametro ti ladawan, isu nga agusarda kadagiti kasisigud a ladawan para iti tunggal maysa a kita.
type=speedy – Dagiti plantilia tinadaras a panagikkat a kas ti {{db-c1}}. |
type=delete – Dagiti plantilia ti panagikkat a kas ti {{cfd}}. |
type=content – Dagiti nangruna a ballaag ken dagiti parikut a kas ti {{Categorization of people disputed}}. |
type=style – Dagiti bassit a balaag ken dagit problema a kas ti {{Underpopulated category}}. |
type=notice – Dagiti ania man a kita ti pakdaar ken dagiti mensahe, permanente wenno temporario. |
type=move – Dagiti mensahe ti panagiyalis, panagitipon, ken anagisina ken dagiti singasing a kas ti {{Kategoria a baw-ing}}. |
type=protection – Dagiti plantilia ti salaknib a kas ti {{pp}} no maipakita iti panid ti kategoria. |
Dagiti kasisigud a ladawan a maipakita iti ngato ket kaaduan a pangpalaka. Iti kaaduan dagiti kaso nasaysayaat a maitutop ti agusar kadagit inaisangayan a ladawan. Dagitoy a kas pagarigan ket agusar ti parametro ti image tapno mainaganan ti sabali a ladawan imbes a dagiti kasisigud a ladawan.
type = style image = [[File:Sub-arrows.svg|40px]] Daytoy a ladawan ket naus-usar iti {{Very large}} ken ti {{Category diffuse}}. |
type = move image = [[File:Redirect arrow.svg|52px]] Daytoy a ladawan ket inus-usar ti {{Kategoria a baw-ing}}. |
Adda met dagiti dadduma a kombinasion ti parametro.
Awan ti type wenno image a naited (default) |
Awan ti type ken image=none – Awan ti ladawan a nausar ken ti text ket agus-usar iti sibubukel a lugar ti kahon ti mensahe. |
image = [[File:Gnome globe current event.svg|42px]] imageright = [[File:Nuvola apps bookcase.svg|40px]] |
Daytoy a kategoria ket ilistana dagiti artikulo a maipanggep ti agdama ken kinaudi a panagpatayab iti limbang. Daytoy ket punuen babaen ti plantilai ti {{Current spaceflight}}. |
List of all parameters:
{{cmbox | type = speedy / delete / content / style / notice / move / protection | image = none / [[File:Some image.svg|40px]] | imageright = [[File:Some image.svg|40px]] | class = Ti naiduma a klase ti CSS tapno maipakat iti kahon | style = Dagiti pateg ti CSS | textstyle = Dagiti pateg ti CSS | text = Ti teksto ti bagi ti mensahe. }}
type
image
image = [[File:Sub-arrows.svg|40px]]
imageright
imageright = [[File:Nuvola apps bookcase.png|40px]]
style
" "
.
style = margin-bottom: 0.5em;
textstyle
textstyle = text-align: center;
text
If you need to use special characters in the text parameter then you need to escape them like this:
{{cmbox | text = <div> Equal sign = and a start and end brace { } work fine as they are. But here is a pipe {{!}} and two end braces <nowiki>}}</nowiki>. And now a pipe and end braces <nowiki>|}}</nowiki>. </div> }}
Equal sign = and a start and end brace { } work fine as they are. But here is a pipe | and two end braces }}. And now a pipe and end braces |}}. |
This template uses the cmbox CSS classes in MediaWiki:Common.css for most of its looks, thus it is fully skinnable.
Internally this meta-template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta-templates since wiki markup has several drawbacks. For instance it makes it harder to use parser functions and special characters in parameters.
The default images for this meta-template are in PNG format instead of SVG format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for SVG images. The PNG images here have hand-optimised transparent background colour so they look good in all browsers. Note that SVG icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons.
For more technical details see the tungtungan a panid. Since this template works almost exactly like the other mboxes, their talk pages and related pages might also contain more details (see the Kitaen pay ti paset dita baba).
Adda dagiti nadumaduma a meta-plantilia iti pamilia ti mbox :
Asideg a mainaig kadagiti meta-plantilia: