Template:Ambox: Difference between revisions

Want an adless experience? Log in or Create an account.
m
Text replacement - "<br>" to "<br/>"
(revamped)
m (Text replacement - "<br>" to "<br/>")
 
(3 intermediate revisions by one other user not shown)
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: {{Ambox|section|type=notice|text=This is a small ambox. It is used within sections, rather than at the top of an article.}}
{{Clear}}
{{Clear}}


===Ambox Types===
===Ambox Types===
====Maintenance====
====Maintenance====
{{User:Locke/Sandbox|type=delete|text=type=<u>delete</u>, used for articles being considered for deletion.}}
{{Ambox|type=delete|text=type=<u>delete</u>, used for articles being considered for deletion.}}
{{User:Locke/Sandbox|type=content|text=type=<u>content</u>, used for articles or sections with content problems.}}
{{Ambox|type=content|text=type=<u>content</u>, used for articles or sections with content problems.}}
{{User:Locke/Sandbox|type=style|text=type=<u>style</u>, used for articles or sections with style problems.}}
{{Ambox|type=style|text=type=<u>style</u>, used for articles or sections with style problems.}}
{{User:Locke/Sandbox|type=move|text=type=<u>move</u>, used for articles being considered for moves, merges, etc.}}
{{Ambox|type=move|text=type=<u>move</u>, used for articles being considered for moves, merges, etc.}}
====Information====
====Information====
{{User:Locke/Sandbox|type=notice|text=type=<u>notice</u>, used to display information about the article or section.}}
{{Ambox|type=notice|text=type=<u>notice</u>, used to display information about the article or section.}}
{{User:Locke/Sandbox|type=protection|text=type=<u>protection</u>, used to display protection information.}}
{{Ambox|type=protection|text=type=<u>protection</u>, used to display protection information.}}


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