2,513
edits
m (gross transclusions) |
m (101 revisions imported: Importing Template:Tmbox, with templates.) |
||
(14 intermediate revisions by 11 users not shown) | |||
Line 1:
{{
{{
{{
<!-- PLEASE ADD CATEGORIES
{{
This is the {{tl|
This template should not be used for WikiProject banners. Such banners have special programming constraints that merit their own meta-templates. See the "See also" section below for links.
Line 98 ⟶ 99:
<pre>
{{tmbox
| name = name of the template
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[File:Some image.svg|40px]]
Line 103 ⟶ 105:
| style = CSS values
| textstyle = CSS values
| plainlinks = no
| text = The message body text.
| small = {{{small|}}} / yes
Line 110 ⟶ 113:
}}
</pre>
'''name'''
:(Optional) Name of the template. This adds a CSS class with name <code>box-''name''</code> to the HTML element, for use by bots or scripts.
'''type'''
Line 133 ⟶ 139:
:Optional [[Cascading Style Sheets|CSS]] values used by the text cell. For example:
::<code>textstyle = text-align: center;</code>
'''plainlinks'''
:Normally on Wikipedia, external links have an arrow icon next to them, like this: [http://www.example.com Example.com]. However, in message boxes, the arrow icon is suppressed by default, like this: <span class="plainlinks">[http://www.example.com Example.com]</span>. To get the normal style of external link with the arrow icon, use {{para|plainlinks|no}}.
'''text'''
Line 211 ⟶ 220:
This template uses the tmbox CSS classes in [[MediaWiki:Common.css]] for most of its looks, thus it is fully skinnable.
This template calls
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 [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
Line 226 ⟶ 235:
WikiProject banners:
* {{tl|
* {{tl|WikiProjectBanners}} – Another system for collapsing WikiProject banners.
<includeonly>{{Sandbox other|
[[Category:Mbox and messagebox templates]]
▲<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Talk namespace templates| ]]
}}</includeonly>
|