Sjabloon:Tmbox

Uit Wikipedia, de vrije encyclopedie

[[Category:]]

Sjabloondocumentatie​

Dit is het Tmbox (Talk page message box) sjabloon. Dit sjabloon kan direct of door andere sjablonen gebruikt worden om een consistente layout te creëren op voor standaard berichten op overlegpagina's. Er zijn diverse kleuren en afbeeldingen beschikbaar voor verschillende soorten berichten.

Gebruik

{{tmbox | text = Een berichtje.}}
[[Category:]]
{{tmbox | type = style | image  = [[File:Emblem-question-yellow.svg|40px|link=|alt=]] | style = width: 400px; | textstyle = color: red; font-weight: bold; font-style: italic; | text  = De tekst van het bericht.
}}
[[Category:]]

TemplateData

A meta-template called by other templates to produce consistently formatted talk page message boxes.

Sjabloonparameters[Sjabloongegevens bewerken]

Voor dit sjabloon heeft het de voorkeur alle parameters op dezelfde regel te zetten.

ParameterBeschrijvingTypeStatus
namename

Name of the template. This adds a CSS class to the HTML element, for use by bots or scripts

Regelvoorgesteld
typetype

Formats the box based on its type

Voorgestelde waarden
speedy delete content style notice move protection
Standaard
notice
Onbekendvoorgesteld
imageimage

Replaces the default left-side image

Bestandvoorgesteld
imagerightimageright

Adds an image on the right

Bestandoptioneel
stylestyle

Optional CSS values used by the entire message box table

Onbekendoptioneel
textstyletextstyle

Optional CSS values used by the text cell

Onbekendoptioneel
plainlinksplainlinks

Set to "no" to show the external link icon for external links

Standaard
yes
Booleaansoptioneel
texttext

The message body text

Ongebalanceerde wikitekstvoorgesteld
smallsmall

Makes it a smaller right floating message box

Booleaansoptioneel
Small imagesmallimage

Left-side image used for the small version of the box

Bestandoptioneel
Small image rightsmallimageright

Right-side image used for the small version of the box

Bestandoptioneel
Small textsmalltext

Text used for the small version of the box

Ongebalanceerde wikitekstoptioneel