Template:Ambox: Difference between revisions

miraheze>PetraMagna
add stylesheet via templatestyles
 
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 }}" {{..."
Line 1: Line 1:
<templatestyles src="Template:Mbox/styles.css"/>
{{{!}} style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
{{{!}} style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
  | serious  = ambox-serious
  | content  = ambox-content
  | style    = ambox-style
  | merge    = ambox-merge
  | notice  = ambox-notice
   | #default = ambox-notice
   | #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
}}"
}}"
{{!}}-
{{!}}-
Line 16: Line 21:
     | content  = [[File:Emblem-important.svg|40px]]
     | content  = [[File:Emblem-important.svg|40px]]
     | style    = [[File:Broom icon.svg|40px]]
     | style    = [[File:Broom icon.svg|40px]]
     | merge    = [[File:Merge-split-transwiki default.svg|40px]]
     | merge    = [[File:Merge-split-transwiki default.svg]]
     | notice  = [[File:Info non-talk.png|40px]]
     | notice  = [[File:Info non-talk.png|40px]]
     | blank    = <!-- empty image cell -->
     | blank    = <!-- empty image cell -->
Line 22: Line 27:
   }}
   }}
}}
}}
{{!}} style="{{{textstyle|}}}" {{!}} {{{text}}}
{{!}} style="{{{textstyle|}}}" {{!}} <center>{{{header}}}</center>{{{text}}}
{{#if:{{{imageright|}}}| <nowiki/>
{{#if:{{{imageright|}}}| <nowiki/>
{{!}} class="mbox-imageright" {{!}} {{#switch:{{{imageright|{{{type|}}}}}}
{{!}} class="mbox-imageright" {{!}} {{#switch:{{{imageright|{{{type|}}}}}}
Line 28: Line 33:
     | content  = [[File:Emblem-important.svg|40px]]
     | content  = [[File:Emblem-important.svg|40px]]
     | style    = [[File:Broom icon.svg|40px]]
     | style    = [[File:Broom icon.svg|40px]]
     | merge    = [[File:Merge-split-transwiki default.svg|40px]]
     | merge    = [[File:Merge-split-transwiki default.svg]]
     | notice  = [[File:Info non-talk.png|40px]]
     | notice  = [[File:Info non-talk.png|40px]]
     | blank    = <!-- empty image cell -->
     | blank    = <!-- empty image cell -->