Template:Ambox: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
no edit summary
(revamped)
No edit summary
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{| class="ambox {{#ifeq: {{{1|}}}|small|ambox-small}} ambox-{{#switch: {{{type|}}}
{| class="ambox {{#ifeq: {{{1|}}}|section|ambox-small}} ambox-{{#switch: {{{type|}}}
   | content = content | style = style
   | content = content | style = style
   | delete = delete | move = move
   | delete = delete | move = move
Line 24: Line 24:
{{Usage/Param|image|An image to override the default image for that type.|optional|depends on type}}
{{Usage/Param|image|An image to override the default image for that type.|optional|depends on type}}
{{Usage/Param|text|The contents of the message.}}
{{Usage/Param|text|The contents of the message.}}
For use in a section rather than at the top of an article, pass "small" as an anonymous parameter. This will remove the image and make the ambox narrower, like so: {{User:Locke/Sandbox|small|type=notice|text=This is a small ambox. It is used within sections, rather than at the top of an article.}}
For use in a section rather than at the top of an article, pass "section" as an anonymous parameter. This will remove the image and make the ambox narrower, like so: {{User:Locke/Sandbox|section|type=notice|text=This is a small ambox. It is used within sections, rather than at the top of an article.}}
{{Clear}}
{{Clear}}


Line 56: Line 56:
| {{Temlink|Merge}}
| {{Temlink|Merge}}
| {{Temlink|Spoiler}}
| {{Temlink|Spoiler}}
{{Temlink|Theory}}<br>
{{Temlink|Non-Canon}}<br>
{{Temlink|FutureRelease}}<br>
{{Temlink|Beta}}<br>
{{Temlink|High Use}}<br>
{{Temlink|IncInterview}}<br>
{{Temlink|IncInterview}}<br>
{{Temlink|Policy}}
{{Temlink|Policy}}

Navigation menu