Template talk:AmBox
Edit Request[edit source]
Please replace the first section of the template (everything before the first <onlyinclude> tag) with the below text. This text has been optimized to remove {{x}}, however more still needs to be done. However for now, this edit needs to be made so it will no longer mess with my tool. Thank you.
{{OmBox|is={{{is|}}}|if={{{if|left}}}|id={{{id|{{{name|}}}}}}|class=AMB {{{class|}}}|cont=margin-left:{{{cml|{{{ml|{{#ifeq: {{{image|}}}|none|0|{{#ifeq: {{{if|}}}|right|0|8px}}}}}}}}}}; padding-bottom:{{{pb|4px}}}|hs=margin-left:{{{hml|{{{ml|{{#ifeq: {{{image|}}}|none|0|{{#ifeq: {{{if|}}}|right|0|8px}}}}}}}}}}|mt={{{mt|-1px}}}|img={{{img|{{#ifeq: {{{image|}}}|blank||{{#ifeq: {{{image|}}}|none||{{#if: {{{image|}}}|{{#ifeq:{{#sub:{{{image|}}}||2}}|[[|{{{image|}}}|[[File:{{{image|Information_icon4.svg}}}|{{{iw|{{{imagewidth|40}}}px}}}|link={{#if:{{{image|}}}|File:{{{image|}}}}}]]}}|{{#if:{{{type|}}}|[[File:{{#ifeq:{{{type|}}}|content|{{{image|Ambox_important.svg}}}}}{{#ifeq:{{{type|}}}|style|{{{image|Edit-clear.svg}}}}}{{#ifeq:{{{type|}}}|speedy|{{{image|Ambox_warning_pn.svg}}}}}{{#ifeq:{{{type|}}}|delete|{{{image|Ambox_warning_pn.svg}}}}}{{#ifeq:{{{type|}}}|move|{{{image|Merge-split-transwiki_default.svg}}}}}{{#ifeq:{{{type|}}}|merge|{{{image|Merge-split-transwiki_default.svg}}}}}{{#ifeq:{{{type|}}}|protection|{{{image|Semi-protection-shackle-keyhole.svg}}}}}{{#ifeq:{{{type|}}}|notice|{{{image|Information_icon4.svg}}}}}{{#ifeq:{{{type|}}}|info|{{{image|Information_icon4.svg}}}}}{{#ifeq:{{{type|}}}|serious|{{{image|Stop hand nuvola.svg}}}}}|{{{iw|{{#ifeq:{{{type|}}}|move|{{{imagewidth|36}}}|{{#ifeq:{{{type|}}}|merge|{{{imagewidth|36}}}|{{{imagewidth|40}}}}}}}px}}}|link=]]|[[File:{{{image|Information_icon4.svg}}}|{{{iw|{{{imagewidth|40}}}px}}}|link={{#if:{{{image|}}}|File:{{{image|}}}}}]]}}|[[File:{{{image|Information_icon4.svg}}}|{{{iw|{{{imagewidth|40}}}px}}}|link={{#if:{{{image|}}}|File:{{{image|}}}}}]]}}}}}}}}}|hp={{{hp|{{#switch:{{{type|}}}|talk=6px 6px 4px 12px|#default={{#if: {{{imageright|{{{imgr|{{{ir|}}}}}}}}}|2px 0 {{#if:{{{header|{{{issue|{{{text|{{{1|}}}}}}}}}}}}|{{#if:{{{content|{{{fix|{{{smalltext|{{{2|}}}}}}}}}}}}|{{{hpb|0}}}|{{{hpb|4px}}}}}|{{{hpb|0}}}}} 0|2px 10px {{#if:{{{header|{{{issue|{{{text|{{{1|}}}}}}}}}}}}|{{#if:{{{content|{{{fix|{{{smalltext|{{{2|}}}}}}}}}}}}|{{{hpb|0}}}|{{{hpb|4px}}}}}|{{{hpb|0}}}}} 0}}}}}}}|{{#if: {{{imageright|{{{imgr|{{{ir|}}}}}}}}}|{{A|I|img={{{imgr|}}}|{{{imageright|{{{ir|}}}}}}|{{{irw|{{{imagerightwidth|40}}}px}}}|m=0 2px -2px 8px|b={{{irb|{{#if:{{{imageright|{{{imgr|}}}}}}|0|silver}}}}}}}}}{{{issue|{{{text|{{{1|{{#if:{{{header|}}}|'''{{{header|}}}'''}}}}}}}}}}}|{{{content|{{{fix|{{{smalltext|{{{2|}}}}}}}}}}}}|w={{#if: {{{nomargin|}}}|{{{w|100%}}}|{{{w|{{#ifeq:{{{type|}}}|talk|auto|80%}}}}}}}; min-width: {{{min|200px}}}|c={{{color|{{{c|#000}}}}}}|bg={{{background|{{{bg|{{#switch:{{{type|}}}|speedy=rgba(255, 222, 223, 0.9)|talk=#F8EABA|#default=#F8F9FA}}}}}}}}|b={{{border|{{{borderwidth|1}}}px solid {{{bordercolor|{{{b|{{#switch:{{{type|}}}|talk=#C0C090|#default=#BBB}}}}}}}}}}}|imb={{{imb|0}}}|p={{{p|4px 4px 5px 12px}}}|fs={{{cfs|{{{fs|13px}}}}}}|hfs={{{hfs|{{{fs|14px}}}}}}|ha={{{ha|{{{a|{{{textalign|left}}}}}}}}}|ca={{{ca|{{{textalign|{{{a|left}}}}}}}}}|bl={{#if:{{{nobar|}}}||{{#ifeq:{{{bar|}}}|none||{{{barcolor|{{#if:{{{content|{{{header|}}}}}}|#2B7EC2|{{#if:{{{type|}}}|{{{bl|{{#ifeq:{{{type|}}}|content|darkorange}}{{#ifeq:{{{type|}}}|info|#4475F5}}{{#ifeq:{{{type|}}}|style|gold}}{{#ifeq:{{{type|}}}|speedy|#B00}}{{#ifeq:{{{type|}}}|delete|#B00}}{{#ifeq:{{{type|}}}|move|darkviolet}}{{#ifeq:{{{type|}}}|protection|#9098A3}}{{#ifeq:{{{type|}}}|notice|#2C41CE}}|#2C41CE}}}}}}}}}}}}}}}}
L10nM4st3r ROAR at me! / What my paws scratched 18:32, 10 January 2025 (UTC)