Jump to content

Template:Ambox: Difference between revisions

From Cult of Flight Wiki
Created page with "{{{!}} style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}} | #default = ambox-notice | notice = ambox-notice | stub = ambox-stub | needsfixing = ambox-needsfixing | workinprogress = ambox-workinprogress | emptysection = ambox-emptysection | disambiguation = ambox-disambiguation | redirection = ambox-redirection | lesserwarning = ambox-lesserwarning | highwarning = ambox-highwarning | rmh = ambox-rmh | maa = ambox-maa }}" {{..."
edit ambox
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{!}} style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
<table class="ambox ambox-{{{type|notice}}}" role="presentation">
  | #default = ambox-notice
<tr>
  | notice = ambox-notice
<td class="mbox-image">{{{image|[[File:{{#switch:{{{type|notice}}}
  | stub = ambox-stub
| notice     = OOjs UI icon info-progressive.svg
  | needsfixing = ambox-needsfixing
| content   = Ambox warning pn.svg
  | workinprogress = ambox-workinprogress
| style     = Ambox wikify.svg
  | emptysection = ambox-emptysection
| speedy    = Ambox speedy deletion.svg
  | disambiguation = ambox-disambiguation
| delete     = Ambox deletion.svg
  | redirection = ambox-redirection
| move      = Ambox move.svg
  | lesserwarning = ambox-lesserwarning
| protection = Ambox protected.svg
  | highwarning = ambox-highwarning
| #default   = OOjs UI icon info-progressive.svg
  | rmh = ambox-rmh
}}|40px|link=|alt=]]}}}</td>
  | maa = ambox-maa
<td class="mbox-text"><span class="mbox-text-span">{{{text|}}}</span></td>
}}"
</tr>
{{!}}-
</table><noinclude>
{{#ifeq:{{{image}}}|none
{{documentation}}
  | <!-- no image cell -->
</noinclude>
  | <nowiki/>
{{!}} class="mbox-image" {{!}} {{#switch:{{{image|{{{type|}}}}}}
     | serious  = [[File:Stop hand nuvola.svg|40px]]
    | content = [[File:Emblem-important.svg|40px]]
    | style   = [[File:Broom icon.svg|40px]]
     | merge    = [[File:Merge-split-transwiki default.svg]]
    | notice  = [[File:Info non-talk.png|40px]]
    | blank    = <!-- empty image cell -->
    | #default = {{{image|[[File:Info non-talk.png|40px]]}}}
  }}
}}
{{!}} style="{{{textstyle|}}}" {{!}} <center>{{{header}}}</center>{{{text}}}
{{#if:{{{imageright|}}}| <nowiki/>
{{!}} class="mbox-imageright" {{!}} {{#switch:{{{imageright|{{{type|}}}}}}
    | serious  = [[File:Stop hand nuvola.svg|40px]]
    | content  = [[File:Emblem-important.svg|40px]]
    | style    = [[File:Broom icon.svg|40px]]
    | merge    = [[File:Merge-split-transwiki default.svg]]
    | notice  = [[File:Info non-talk.png|40px]]
    | blank    = <!-- empty image cell -->
    | #default = {{{imageright|}}}
  }}
}}
{{!}}-
{{!}}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 06:45, 2 April 2026