Template:Box: Difference between revisions
Created page with "<div style="box-shadow: 0 0 0.2em #999999; border-radius: 0.2em; margin: 0.5em 0.5em 1em 0.5em; background: {{{background-content-color|#f8f9fa}}}; {{{style|}}};"> <!-- CSS for icon and background --> <div style="background: {{{background-title-color|#eaecf0}}}; border-radius: 0.2em 0.2em 0 0; padding: 0.5em 1em 0.5em 1em;; display: flex; align-items: center;"> {{#if:{{{icon|}}}|<span style="opacity: 0.8; display: flex; align-items: center; margin-right: 0.5em; l..." |
No edit summary |
||
Line 26: | Line 26: | ||
"label": "Content", | "label": "Content", | ||
"description": "Content of the box.", | "description": "Content of the box.", | ||
"example": "{{clr}}{{Template: | "example": "{{clr}}{{Template:Box/Sample}}", | ||
"type": "content", | "type": "content", | ||
"required": true | "required": true | ||
Line 33: | Line 33: | ||
"label": "Link", | "label": "Link", | ||
"description": "Wikipedia page title for editing the content.", | "description": "Wikipedia page title for editing the content.", | ||
"example": "Template: | "example": "Template:Box/Sample", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"suggested": true | "suggested": true | ||
Line 99: | Line 99: | ||
} | } | ||
}, | }, | ||
"description": "The | "description": "The box template allows you to highlight something with a coloured box.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"title", | "title", |