Terraria Wiki
Terraria Wiki
K ({{doc}} → {{dokumentation}})
(sync :: en revid:841927::)
 
Zeile 1: Zeile 1:
<code style="background:{{{background|#ddd}}};padding:2px;">{{{1}}}</code><noinclude>{{dokumentation}}</noinclude>
+
<code class={{{class|code}}} style={{{style|}}}>{{#tag:syntaxhighlight|{{{1|}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|code}}}|id={{{id|}}}|style={{{style|}}}|enclose="none"}}</code><noinclude>{{dokumentation}}</noinclude>

Aktuelle Version vom 23. August 2019, 22:36 Uhr

Template-info Dokumentation Die folgende Dokumentation stammt von der Seite Vorlage:Code/Dokumentation. (bearbeiten | Versionsgeschichte)
Siehe auch die englische Vorlagenseite: Template:Code. Sie enthält möglicherweise umfassendere oder aktuellere Informationen.

To be used if you want to list some short code, which you want to stand out. Similar to using <code></code> tags, except that it has a grey background.

Verwendung

Use {{code|Code to display}}, which results in Code to display.

Unnamed parameter 1

The code to display.

class=

Css class(es).

id=

Id attribute.

lang=

The language of code.

examples: {{code|lang=css|border:1px solid #fff}} => results in border:1px solid #fff