Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
(Creation) |
(gentle modernization, replaced images where available, WIP (previously abandoned template)) |
||
Line 1: | Line 1: | ||
{| style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}} | |||
| serious = ambox-serious | | serious = ambox-serious | ||
| content = ambox-content | | content = ambox-content | ||
Line 7: | Line 7: | ||
| #default = ambox-notice | | #default = ambox-notice | ||
}}"> | }}"> | ||
|- | |||
| class="ambox-image" | {{#ifeq:{{{image}}}|none | |||
{{#ifeq:{{{image}}}|none | |||
| <!-- no image cell; empty cell necessary for text cell to have 100% width --> | | <!-- no image cell; empty cell necessary for text cell to have 100% width --> | ||
| <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}} | | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}} | ||
| serious = [[ | | serious = [[File:File-locked.jpg|40px|link=]] | ||
| content = [[ | | content = [[File:Emblem-important.svg|40px|link=]] | ||
| style = [[ | | style = [[File:Broom icon-jpgvrs.jpg|40px|link=]] | ||
| merge = [[ | | merge = [[File:Merge-split-transwiki default.svg|link=]] | ||
| notice = [[ | | notice = [[File:Info non-talk.png|40px|link=]] | ||
| blank = [[ | | blank = [[File:No image.svg|40px|link=]] | ||
| #default = {{{image|[[ | | #default = {{{image|[[File:Info non-talk.png|40px|link=]]}}} | ||
}}</div> | }}</div> | ||
}} | }} | ||
| class="ambox-text" | {{{text}}} | |||
{{#if:{{{imageright|}}}| | {{#if:{{{imageright|}}}| | ||
{{!}} class="ambox-imageright" style="width:52px;" {{!}} {{{imageright}}} | |||
}} | }} | ||
< | |}<noinclude> | ||
</ | {{Ambox|type=serious|text=Hello world!}} | ||
{{Ambox|type=content|text=Hello world!}} | |||
{{Ambox|type=style|text=Hello world!}} | |||
{{Ambox|type=merge|text=Hello world!}} | |||
{{Ambox|type=notice|text=Hello world!}} | |||
{{Ambox|type=blank|text=Hello world!}} | |||
</noinclude> |
Revision as of 13:55, 2 February 2024
{{{text}}} |
Hello world! |
Hello world! |
Hello world! |
Hello world! |
Hello world! |
Hello world! |