Vorlage:Code/Dokumentation

Aus Terraria Wiki
< Vorlage:Code
Version vom 23. August 2019, 22:36 Uhr von Rye Greenwood (Diskussion | Beiträge) (sync :: en revid:841796::)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

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