>Fbstj |
>Paladox |
Line 5: |
Line 5: |
| | center= margin: 0.5em auto; | | | center= margin: 0.5em auto; |
| }} background-color: {{{bg-color|#E7EFF5}}}; {{{border|border: 1px solid #A1CEF5}}}; padding: 5px 8px; {{border-radius|10px}} {{{style|}}}; text-align: center;">{{{content}}}</div><noinclude> | | }} background-color: {{{bg-color|#E7EFF5}}}; {{{border|border: 1px solid #A1CEF5}}}; padding: 5px 8px; {{border-radius|10px}} {{{style|}}}; text-align: center;">{{{content}}}</div><noinclude> |
| | | {{TNT|Documentation}} |
| <templatedata>
| |
| { | |
| "description": "",
| |
| "paramOrder": [
| |
| "content",
| |
| "align",
| |
| "bg-color",
| |
| "border",
| |
| "style"
| |
| ],
| |
| "params": {
| |
| "align": {
| |
| "label": "Alignment",
| |
| "description": "How to align the badge, either left, right or middle/center ",
| |
| "type": "string",
| |
| "required": true
| |
| },
| |
| "bg-color": {
| |
| "label": "Background color",
| |
| "description": "A CSS color string",
| |
| "type": "string",
| |
| "default": "#E7EFF5"
| |
| },
| |
| "border": {
| |
| "label": "Border style",
| |
| "description": "A CSS border style string",
| |
| "type": "string",
| |
| "default": "border: 1px solid #A1CEF5"
| |
| },
| |
| "style": {
| |
| "label": "Extra style",
| |
| "description": "Extra CSS for the badge's style tag.",
| |
| "type": "string",
| |
| "default": "10px"
| |
| },
| |
| "content": {
| |
| "label": "Contents",
| |
| "description": "The badge's content",
| |
| "type": "content",
| |
| "required": true
| |
| }
| |
| }
| |
| } | |
| </templatedata>
| |
| </noinclude> | | </noinclude> |