![]() | This is a
documentation
subpage for
Template:Announcement panel. It may contain usage information, categories and other content that is not part of the original template page. |
This panel is designed to go atop WikiProject main pages to add any announcements. When not being used, just remark the template out (<!-- -->).
{{Announcement panel |image = |size = |border = |border_width = |background = |font = |comment = |comment_size = |comment_color = |comment_shadow = |text = |text_size = |text_color = |ul = |ur = |ll = |lr = }}
{{公告面板 |图片 = |图片_尺寸 = |边框_颜色 = |边框_尺寸 = |背景_颜色 = |字型 = |内容 = |内容_尺寸 = |内容_颜色 = |右上角 = |左上角 = |右下角 = |左下角 = }}
Field descriptions:
{{Announcement panel |image = Frühlingsblumen Krokus.jpg |size = 125 |border = green |background = limegreen |comment = Spring has sprung! |comment_size = 36 |comment_color = orange |comment_shadow = black |text = {{lorem ipsum}} |text_size = 10 |text_color = black }}
Will produce:
The corners are rounded by default on this template at 12 pixels, but the corner rounding can be changed by modifying the corner rounding fields; do not include the px. The field names are:
{{Announcement panel |text = {{lorem ipsum}} |ul = 24 |ur = 2 |ll = 2 |lr = 24 }}
Will produce:
Versus:
A value of zero ("0") will make the corners square.
![]() | This is a
documentation
subpage for
Template:Announcement panel. It may contain usage information, categories and other content that is not part of the original template page. |
This panel is designed to go atop WikiProject main pages to add any announcements. When not being used, just remark the template out (<!-- -->).
{{Announcement panel |image = |size = |border = |border_width = |background = |font = |comment = |comment_size = |comment_color = |comment_shadow = |text = |text_size = |text_color = |ul = |ur = |ll = |lr = }}
{{公告面板 |图片 = |图片_尺寸 = |边框_颜色 = |边框_尺寸 = |背景_颜色 = |字型 = |内容 = |内容_尺寸 = |内容_颜色 = |右上角 = |左上角 = |右下角 = |左下角 = }}
Field descriptions:
{{Announcement panel |image = Frühlingsblumen Krokus.jpg |size = 125 |border = green |background = limegreen |comment = Spring has sprung! |comment_size = 36 |comment_color = orange |comment_shadow = black |text = {{lorem ipsum}} |text_size = 10 |text_color = black }}
Will produce:
The corners are rounded by default on this template at 12 pixels, but the corner rounding can be changed by modifying the corner rounding fields; do not include the px. The field names are:
{{Announcement panel |text = {{lorem ipsum}} |ul = 24 |ur = 2 |ll = 2 |lr = 24 }}
Will produce:
Versus:
A value of zero ("0") will make the corners square.