Vorlage:Console/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 Console
Die Vorlage {{Console}} ahmt das Erscheinungsbild einer Linux-Konsole oder Windows-Eingabeaufforderung nach

Parameter

x
NameBeschreibungStandardStatus
1Text in der KonsoleBefehlszeilenkommandooptional
whitespaceUmgang mit Weißraum lt. CSS-Spezifikation white-spacepre-wrapoptional
padInnenabstände CSS-Spezifikation padding0.3em 1emoptional
borderRahmengestaltung lt. CSS-Spezifikation border1px solid #666optional
marginAußenabstände CSS-Spezifikation margin0optional
classCSS Klasseleeroptional

Kopiervorlagen

{{Console|1=|whitespace=|pad=|border=|margin=|class=}}
{{Console|1=|whitespace=|pad=|border=|margin=|class=}}
{{Console
|1=
|whitespace=
|pad=
|border=
|margin=
|class=}}
{{Console
|1=
|whitespace=
|pad=
|border=
|margin=
|class=}}

Anwendung

{{Console}}
ergibt als Wikitext expandiert:
<div><div class="oneclick" style="display: inline-block;">

<span style="line-height: 1.4; font-family:&quot;Liberation Mono&quot;, &quot;Consolas&quot;, monospace; white-space: pre-wrap; display: inline-block; background-color: #454545; color: #fff; padding: 0.3em 1em; border: 1px solid #666">Befehlszeilenkommando Zeile 1 Befehlszeilenkommando Zeile 2 Befehlszeilenkommando Zeile 3

</span></div></div>
angewendet:

Befehlszeilenkommando Zeile 1 Befehlszeilenkommando Zeile 2 Befehlszeilenkommando Zeile 3

{{Console|1=php /mnt/data/mv/maintenance/refreshLinks.php --namespace 6|class=}}
ergibt als Wikitext expandiert:
<div><div class="oneclick" style="display: inline-block;">

<span style="line-height: 1.4; font-family:&quot;Liberation Mono&quot;, &quot;Consolas&quot;, monospace; white-space: pre-wrap; display: inline-block; background-color: #454545; color: #fff; padding: 0.3em 1em; border: 1px solid #666">php /mnt/data/mv/maintenance/refreshLinks.php --namespace 6

</span></div></div>
angewendet:

php /mnt/data/mv/maintenance/refreshLinks.php --namespace 6

Code

<includeonly>

<onlyinclude><div><div {{#if:{{{class|}}}|class="{{{class}}}"|class="oneclick"}} style="display: {{{display|inline-block}}};"> <span style="line-height: 1.4; font-family:&quot;Liberation Mono&quot;, &quot;Consolas&quot;, monospace; white-space: {{{whitespace|pre-wrap}}}; display: inline-block; background-color: #454545; color: #fff; padding: {{{pad|0.3em 1em}}}; border: {{{border|1px solid #666}}}">{{{1|Befehlszeilenkommando Zeile 1 Befehlszeilenkommando Zeile 2 Befehlszeilenkommando Zeile 3}}}

</span></div></div></onlyinclude></includeonly>{{Dokumentation}}