Template:Ambox

From Wikivoyage
Jump to navigation Jump to search
</span> "}],[{"txt":"style"},{"html":"<span about=\"#mwt4\" typeof=\"mw:Param\" data-parsoid='{\"pi\":[[{\"k\":\"1\"}]],\"dsr\":[172,184,null,null]}' data-mw='{\"parts\":[{\"templatearg\":{\"target\":{\"wt\":\"style\"},\"params\":{\"1\":{\"wt\":\"\"}},\"i\":0}}]}'></span>margin:0 25% 1.5em;border:1px solid #AAAAAA;<span about=\"#mwt5\" typeof=\"mw:Transclusion\" data-parsoid='{\"pi\":[[{\"k\":\"speedy\",\"named\":true,\"spc\":[\" \",\" \",\" \",\"\\n\"]},{\"k\":\"delete\",\"named\":true,\"spc\":[\" \",\" \",\" \",\"\\n\"]},{\"k\":\"content\",\"named\":true,\"spc\":[\" \",\" \",\" \",\"\\n\"]},{\"k\":\"approval\",\"named\":true,\"spc\":[\" \",\" \",\" \",\"\\n\"]},{\"k\":\"move\",\"named\":true,\"spc\":[\" \",\" \",\" \",\"\\n\"]},{\"k\":\"style\",\"named\":true,\"spc\":[\" \",\" \",\" \",\"\\n\"]},{\"k\":\"protection\",\"named\":true,\"spc\":[\" \",\" \",\" \",\"\\n\"]},{\"k\":\"hierarchy\",\"named\":true,\"spc\":[\" \",\" \",\" \",\"\\n\"]},{\"k\":\"1\"},{\"k\":\"custom\",\"named\":true,\"spc\":[\" \",\" \",\" \",\"\\n\"]},{\"k\":\"#default\",\"named\":true,\"spc\":[\" \",\" \",\" \",\"\\n\"]}]],\"dsr\":[228,1077,null,null]}' data-mw='{\"parts\":[{\"template\":{\"target\":{\"wt\":\"#switch:{{{type|}}}\\n\",\"function\":\"switch\"},\"params\":{\"speedy\":{\"wt\":\"background:#FFDDDD;color:#202122;border-left:10px #B22222 solid;\"},\"delete\":{\"wt\":\"background:#FBFBFB;color:#202122;border-left:10px #B22222 solid;\"},\"content\":{\"wt\":\"background:#FBFBFB;color:#202122;border-left:10px #F28500 solid;\"},\"approval\":{\"wt\":\"background:#FBFBFB;color:#202122;border-left:10px #0B610B solid;\"},\"move\":{\"wt\":\"background:#FBFBFB;color:#202122;border-left:10px #9933CC solid;\"},\"style\":{\"wt\":\"background:#FBFBFB;color:#202122;border-left:10px #F4C430 solid;\"},\"protection\":{\"wt\":\"background:#FBFBFB;color:#202122;border-left:10px #BBBBAA solid;\"},\"hierarchy\":{\"wt\":\"background:#FBFBFB;color:#202122;border-left:10px #9933CC solid;\"},\"1\":{\"wt\":\" notice&lt;!-- = default -->\\n\"},\"custom\":{\"wt\":\"background:#FBFBFB;color:#202122;border-left:10px {{{color}}} solid;\"},\"#default\":{\"wt\":\"background:#FBFBFB;color:#202122;border-left:10px #1E90FF solid;\"}},\"i\":0}}]}'>background:#FBFBFB;color:#202122;border-left:10px #1E90FF solid;</span><span about=\"#mwt6\" typeof=\"mw:Transclusion\" data-parsoid='{\"pi\":[[{\"k\":\"1\"}]],\"dsr\":[1077,1116,null,null]}' data-mw='{\"parts\":[{\"template\":{\"target\":{\"wt\":\"#if:{{{stacked|}}}\",\"function\":\"if\"},\"params\":{\"1\":{\"wt\":\"border-top:-1px;\"}},\"i\":0}}]}'></span>"}]]}'>\n",{"template":{"target":{"wt":"#switch:{{{image|}}}\n","function":"switch"},"params":{"1":{"wt":" blank <!-- Fall back to \"none\", since deprecated. -->\n"},"none":{"wt":"<td class=\"mbox-empty-cell\" style=\"width:1px;border:none;padding:0;\"></td><!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->"},"#default":{"wt":"<td class=\"mbox-image\" style=\"border:none;padding:2px 0 2px 0.9em;text-align:center;\">{{#switch:{{{small|}}}\n | left = <!-- Don't use the DIV -->\n | #default = <div style=\"min-width:25px;\">\n }}{{#if:{{{image|}}}\n | {{{image}}}\n | {{#switch:{{{type|}}}\n | speedy = [[File:Ambox deletion.png|Speedy|{{#switch:{{{small|}}}|left=25x25px|#default=40x40px}}|link=]]\n | delete = [[File:Ambox deletion.png|Delete|{{#switch:{{{small|}}}|left=25x25px|#default=40x40px}}|link=]]\n | content = [[File:Ambox content.png|Content|{{#switch:{{{small|}}}|left=25x25px|#default=40x40px}}|link=]]\n | approval = [[File:Thumb up icon.svg|Approval|{{#switch:{{{small|}}}|left=25x25px|#default=40x40px}}|link=]]\n | move = [[File:Ambox_move.png|Move|{{#switch:{{{small|}}}|left=20x20px|#default=25x25px}}|link=]]\n | style = [[File:Edit-clear.svg|Style|{{#switch:{{{small|}}}|left=20x20px|#default=25x25px}}|link=]]\n | protection = [[File:Ambox protection.png|Protection|{{#switch:{{{small|}}}|left=20x20px|#default=40x40px}}|link=]]\n | hierarchy = [[File:Categorisation-hierarchy-top2down.svg|hHerarchy|{{#switch:{{{small|}}}|left=20x20px|#default=40x40px}}|link=]]\n | notice<!-- = default -->\n | #default = [[File:Ambox notice.png|Information|{{#switch:{{{small|}}}|left=25x25px|#default=40x40px}}|link=]]\n }}\n }}{{#switch:{{{small|}}}\n | left = <!-- Don't use the /DIV -->\n | #default = </div>\n }}</td>"}},"i":0}},"\n<td class=\"mbox-text\" style=\"{{{textstyle|}}}width:100%;border:none;padding:0.25em 0.9em;text-align:left;font-size:80%;line-height:1.4em;\">",{"template":{"target":{"wt":"#if:{{{small|}}}","function":"if"},"params":{"1":{"wt":"<abbr title=\"{{{text|}}}\">{{{smalltext|}}}</abbr>"},"2":{"wt":"<div class=\"mbox-text-span\">{{{text|}}}{{#if:{{{fix|}}}|<span class=\"hide-when-compact\"> {{{fix}}}</span>}}</div>"}},"i":1}},"</td>\n",{"template":{"target":{"wt":"#if:{{{imageright|}}}\n","function":"if"},"params":{"1":{"wt":" {{#ifeq:{{{imageright|}}}|none\n | <!-- No image. -->\n | <td class=\"mbox-imageright\" style=\"border:none;padding:2px 0.9em 2px 0;text-align:center;\">{{#switch:{{{small|}}}\n | left = {{{imageright|}}}\n | #default = <div style=\"width:{{{imagerightwidth|52}}}px;\">{{{imageright|}}}</div>\n }}</td>\n }}\n"}},"i":2}},"\n</tr>"]}'>