Vorlage:Infobox: Unterschied zwischen den Versionen

Aus STA Dokumentationsplattform
Zur Navigation springen Zur Suche springen
w>Primefac
(Undid revision 855063393 by Jdlrobson (talk) rather problematic change mentioned on talk page, reverting until it can be sorted)
 
imported>Admin
(Die Seite wurde neu angelegt: „<div style="background:{{{accentcolor|#0174DF}}}; color:white; width:105px;padding-left:0.5em; margin-left:0.5em; border:.1em solid {{{accentcolor|#0174DF}}};"…“)
Zeile 1: Zeile 1:
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
+
<div style="background:{{{accentcolor|#0174DF}}}; color:white; width:105px;padding-left:0.5em; margin-left:0.5em; border:.1em solid {{{accentcolor|#0174DF}}};">'''INFORMATION''' </div>
{{documentation}}
+
<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;">
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
+
{{{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>
 
</noinclude>

Version vom 27. Mai 2020, 07:08 Uhr

INFORMATION

TEST

{{#switch:<translate></translate> | = Skriptfehler: Ein solches Modul „documentation“ ist nicht vorhanden. | #default=

 Skriptfehler: Ein solches Modul „Template translation“ ist nicht vorhanden.

}}{{#if:<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>| [[Category:Template documentation pages{{#translation:}}]] }}