Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | <div | + | <div style="background:{{{accentcolor|#0174DF}}}; color:white; width:146px;padding-left:0.5em; margin-left:0.5em; border:.1em solid {{{accentcolor|#0174DF}}};">[[File:OOjs UI icon info.svg|20px]] '''INFORMATION''' </div> |
| − | + | <div style="background:{{{backgroundcolor|transparent}}}; width:{{{width|auto}}}; border-left:1em solid {{{accentcolor|#0174DF}}}; border:.1em solid {{{accentcolor|#0174DF}}}; box-sizing:border-box; padding-left:0.5em; margin-left:0.5em; text-align:{{{textalignment|left}}}; overflow:hidden;"> | |
| − | + | {{{text|TEST}}} | |
| − | < | + | </div><noinclude> |
| − | + | {{documentation|content= | |
| − | + | ||
| − | + | <templatedata> | |
| − | + | { | |
| − | + | "params": { | |
| − | + | "accentcolor": { | |
| − | + | "label": { | |
| − | + | "en": "Accent color", | |
| − | + | "de": "Akzentfarbe" | |
| − | + | }, | |
| − | + | "description": { | |
| − | + | "en": "HEX color code", | |
| − | + | "de": "HEX Farbcode" | |
| − | + | }, | |
| − | + | "example": "#0174DF", | |
| + | "type": "string", | ||
| + | "autovalue": "#0174DF" | ||
| + | }, | ||
| + | "backgroundcolor": { | ||
| + | "label": { | ||
| + | "en": "Background color", | ||
| + | "de": "Hintergrund(farbe)" | ||
| + | }, | ||
| + | "description": { | ||
| + | "en": "HEX Code or HTML settings", | ||
| + | "de": "HEX Code oder HTML Settings" | ||
| + | }, | ||
| + | "example": "transparent", | ||
| + | "type": "string", | ||
| + | "autovalue": "transparent" | ||
| + | }, | ||
| + | "width": { | ||
| + | "label": { | ||
| + | "en": "Width", | ||
| + | "de": "Breite" | ||
| + | }, | ||
| + | "description": { | ||
| + | "en": "Width of the box", | ||
| + | "de": "Breite der Box" | ||
| + | }, | ||
| + | "type": "string", | ||
| + | "autovalue": "auto" | ||
| + | }, | ||
| + | "textalignment": { | ||
| + | "label": { | ||
| + | "en": "Text-alignment", | ||
| + | "de": "Textausrichtung" | ||
| + | }, | ||
| + | "description": { | ||
| + | "en": "Alginment of the text", | ||
| + | "de": "Ausrichtung des Textes" | ||
| + | }, | ||
| + | "example": "center", | ||
| + | "type": "string", | ||
| + | "autovalue": "left" | ||
| + | }, | ||
| + | "text": { | ||
| + | "label": { | ||
| + | "en": "Text", | ||
| + | "de": "Text" | ||
| + | }, | ||
| + | "description": { | ||
| + | "en": "The text you want to display", | ||
| + | "de": "Anzuzeigender Text" | ||
| + | }, | ||
| + | "type": "string", | ||
| + | "autovalue": "", | ||
| + | "required": true, | ||
| + | "suggested": true | ||
| + | } | ||
| + | }, | ||
| + | "description": { | ||
| + | "de": "Informations-Infobox", | ||
| + | "en": "Information-Infobox" | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
| + | |||
| + | }} | ||
| + | </noinclude> | ||