{{BlueBox|1=|col=|width=|pad=|2=|style=|fsize=|tag=}}
Vorlage:BlueBox/doc
Zur Navigation springen
Zur Suche springen
Bearbeiten · Raw · Versionen · Cache leeren · Messages · Seiteninformation · Vorlage bearbeiten · Seiteninformation Vorlage
Diese Seite ist die Dokumentations-Unterseite der Vorlage BlueBox |
Die Vorlage {{BlueBox}} erzeugt eine als Code formatierte Textbox mit blassblauem Hintergrund, ohne einen ohne einen neuen Absatz zu erzeugen. Dies wird durch <span style="display: inline-block"> erreicht. Durch display: inline-block ist es möglich, die Breite der Box anzugeben.
Parameter
Name | Beschreibung | Standard | Status | |
---|---|---|---|---|
1 | angezeigter Text | leer | optional | |
col | Textfarbe CSS color Property | #000 | optional | |
width | Boxbreite CSS width Property | 50em | optional | |
pad | Rahmenabstände CSS padding Property | 0.1em 0.4em | optional | |
2 | Hintergrundfarbe CSS color Property | #f0f0f0 | optional | |
style | zusätzlicher CSS-Style | leer | optional | |
fsize | Schriftgröße fontsize | 90% | optional | |
tag | HTML Tag Typ | span | optional |
Kopiervorlagen
{{BlueBox|1=|col=|width=|pad=|2=|style=|fsize=|tag=}}
{{BlueBox
|1=
|col=
|width=
|pad=
|2=
|style=
|fsize=
|tag=}}
|1=
|col=
|width=
|pad=
|2=
|style=
|fsize=
|tag=}}
{{BlueBox
|1=
|col=
|width=
|pad=
|2=
|style=
|fsize=
|tag=}}
|1=
|col=
|width=
|pad=
|2=
|style=
|fsize=
|tag=}}
Anwendung
{{BlueBox}}
ergibt als Wikitext expandiert:
<span style="font-size: 90%; font-family: "Consolas", monospace; display: inline-block; background: #f0f0f0; color:black; padding: 0 0.4em; width: auto; " class="oneclick">Gallia est omnis divisa in partes tres, </span>
angewendet:
Gallia est omnis divisa in partes tres,
{{BlueBox|1=20190130.xlsm|2=#ffe0e0|pad=2em}}
ergibt als Wikitext expandiert:
<span style="font-size: 90%; font-family: "Consolas", monospace; display: inline-block; background: #ffe0e0; color:black; padding: 2em; width: auto; " class="oneclick">20190130.xlsm</span>
angewendet:
20190130.xlsm
{{BlueBox|1=20190130.xlsm|2=transparent|pad=2em|tag=span}}
ergibt als Wikitext expandiert:
<span style="font-size: 90%; font-family: "Consolas", monospace; display: inline-block; background: transparent; color:black; padding: 2em; width: auto; " class="oneclick">20190130.xlsm</span>
angewendet:
20190130.xlsm
Code
<includeonly>
<onlyinclude><{{{tag|span}}} style="font-size: {{{fsize|90%}}}; font-family: "Consolas", monospace; display: {{{display|inline-block}}}; background: {{{2|#f0f0f0}}}; color:{{{col|black}}}; padding: {{{pad|0 0.4em}}}; width: {{{width|auto}}}; {{{style|}}}" class="{{{class|oneclick}}}">{{{text|{{{1|{{Lorem|40}}}}}}}}</{{{tag|span}}}></onlyinclude></includeonly>{{Dokumentation}}