Ovaj šablon upotrebljava zamršene funkcije vikisintakse.
Savetuje Vam se da se upoznate sa postavkama za šablon i parser funkcijama pre uređivanja. Ako Vaša izmena prouzrokuje neočekivane probleme, molimo da je vratite što je pre moguće, zato što se ovaj šablon verovatno koristi na velikom broju stranica. Imajte na umu da možete da provodite eksperimente i da trebate da testirate svaku eventualnu izmenu, ili na stranici Pesak za šablone ili na sopstvenoj korisničkoj podstranici.
{{Subst only}}
This template provides a speedy way to wrap template source code in <code><nowiki>...</nowiki></code> markup. To work correctly, it must be substituted.
Recommended use is:
{{subst:codenowiki |1=(code)}}
i.e. so that anything before an equals (=) sign in the code isn't interpreted as a parameter name.
If the template is transcluded rather than substituted on a page, its output can be corrected by re-saving the page, triggering the substitution embedded within it:
To indicate text is a variable name. Use for any variable names except those including "I" (uppercase i) and/or "l" (lowercase L); for these, {{var serif}} should be used to ensure a noticeable distinction
To display parameters as used in code (i.e. with triple braces), especially to indicate relationships between them. May be combined with {{para}} above
To display parameter values lightly bordered; replaces <code>...</code>, especially when value contains embedded or leading/trailing blanks; visualized here with middot (·) but can use ␠, ▯, or any character.
To showcase with colors in horizontal format the syntax of any template, while providing an easy way to display placeholder texts using colons as separators
To indicate text is source code. To nest other templates within {{code}}, use <code>...</code>. {{codett}} differs only in styling: someMethod becomes Šablon:Codett
(or {{dc}} ) To indicate deprecated source code in template documentation, articles on HTML specs, etc. The {{dc2}} variant uses strike-through (<blink>) while {{dcr}} uses red (<blink>).
To showcase with colors and multiple lines (vertical format) the syntax of any template, while providing an easy way to display placeholder texts using colons as separators