Modèle:Infobox biographie : Différence entre versions

De Réformation tranquille
Sauter à la navigation Sauter à la recherche
(Page blanchie)
Balise : Blanchiment
Ligne 1 : Ligne 1 :
 +
<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}}}; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; 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>

Version du 8 juin 2022 à 12:07

20px INFORMATION

TEST

Modèle:Documentation