Difference between revisions of "Template:Messagebox"
Deprecated (talk | contribs) (Added txtstyle and padding parameters) |
m (Added Russian page link) |
||
Line 11: | Line 11: | ||
</table><noinclude> | </table><noinclude> | ||
{{Tsh|Mbox}} | {{Tsh|Mbox}} | ||
+ | {{otherlang2 | ||
+ | |ru = Template:Messagebox:ru | ||
+ | }} | ||
==Documentation == | ==Documentation == | ||
A simple messagebox template. | A simple messagebox template. |
Latest revision as of 11:10, 19 January 2021
![]() |
{{{text}}} |
Documentation
A simple messagebox template.
All parameters except text are optional, as they will be defined by default.
List of Parameters
text = Write your text
small = Write small text
txtcolor = Color of all text
txtstyle = Style of all text
image = link_to_some_resource_or_page_at_this_wiki
- link in format ''http://...'' or just name of page at this wiki (like "Template:Messagebox" without quotes)
bgcolor = color of background
borderstyle = style of special border, by default left border; can be defined but left blank for no special border
bdcolor = color of special border
bdcolor2 = color of overall box border
margin = margin style
padding = padding
Example
{{messagebox |text = Text here |small = Small text here |txtcolor = Red |txtstyle = italic |image = [[File:en.png|55px|link=Template:Messagebox]] (Leave blank for Info.png) |bgcolor = yellow |bdcolor = green |bdcolor2 = blue |padding = 1em }}
Result:
Text here
|