Template:Tmboxw: Difference between revisions
wp>Mathglot m (Mathglot moved page User:Mathglot/sandbox/Templates/Tmboxw to Template:Tmboxw: Ready for prime time.) |
RandomUser34 (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 19:11, 29 November 2022
TemplateStyles' src
attribute must not be empty.
![]() | Aliquam vehicula sem ut pede. Cras purus lectus, egestas eu, vehicula at, imperdiet sed, nibh. Morbi consectetuer luctus felis. Donec vitae nisi. Aliquam tincidunt feugiat elit. |
src
attribute must not be empty.![]() | This template is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
This template is a workaround designed to replace {{tmbox}} in order to enable mobile users to view tmboxes that are otherwise hidden from them due to mobile bug T257394. Replacing an existing {{tmbox}} invocation by {{tmboxw}} should not affect desktop viewers.
Usage[edit source]
Simple usage example:
{{tmboxw | text = Some text.}}TemplateStyles'
src
attribute must not be empty.![]() | Some text. |
Complex example:
{{tmboxw | type = style | image = [[File:Emblem-question-yellow.svg|40px|link=|alt=]] | style = width: 400px; | textstyle = color: red; font-weight: bold; font-style: italic; | text = The message body text. }}TemplateStyles'
src
attribute must not be empty.![]() | The message body text. |
Note: examples below are transcluded from {{tmbox/doc}}; in place of 'tmbox' on the rest of this page, please use 'tmboxw' instead.
Tip: mobile users may achieve better results in landscape mode on small devices, which will, for example, satisfactorily render {{Talk header}} templates which would be clipped in portrait mode.
Parameters[edit source]
{{#section-h:Template:Tmbox/doc|Parameters}}
Technical details[edit source]
{{#section-h:Template:Tmbox/doc|Technical details}}
See also[edit source]
This template is based on {{tmbox}} and mimics its look and feel. {{#section-h:Template:Tmbox/doc|See also}}
TemplateStyles' src
attribute must not be empty.
The above documentation is transcluded from Template:Tmboxw/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |