سانچو:Codenowiki
{{subst:dtag|nowiki|{{{1}}}}}
Script error: The function "main" does not exist.
Ignore the code appearing above; it is not how the final result will display |
This template provides a speedy way to wrap template source code in <code>
markup. To work correctly, it must be substituted.
<nowiki>...</nowiki>
</code>
Recommended use is:
The 1=
is often necessary so that that anything before an equals sign in the code isn't interpreted as a parameter name.
Example
[سنواريو]- {{subst:codenowiki |1=Here be code}} ... outputs: ...
Here be code
The code produced by the template for this output is:
- <code><nowiki>Here be code</nowiki></code>
Embedded substitution
[سنواريو]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:
{{subst:Nowiki|Here be code}}
Limitations
[سنواريو]This template does not work with signatures. Typing {{subst:codenowiki|~~~~}}
results in displaying your full signature's code.
See also
[سنواريو]{{codett}}
سانچو:Semantic markup templates
مٿي ڏنل دستاويز صفحو سانچو:Codenowiki/دستاويز سان شامل ڪئي ويئي آهي۔ (سنواريو | تاريخچو) يوزر سانچي جي ريتخانو (تخليق | آئينو) ۽ ثابتات (تخليق) ۾ تجربا ڪري سگهن ٿا۔ براه ڪرم /دستاويز جي هيٺين صفحي تي زمرا شامل فرمايو۔ هن سانچو جا هيٺيان صفحا۔ |