Template:Code/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Emil76~enwiki
Wijzigingen m.b.v. Popups hersteld tot versie 187058933
meta>DragonHawk
revise and expand docs
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
This template must be [[Wikipedia:Template substitution|substituted]], e.g. {{tlsx|code|<nowiki>[[foo|bar]]</nowiki>}} produces <code><nowiki>[[foo|bar]]</nowiki></code>.
Wraps a short span of text in {{tag|code}} tags.  This template should be used for short samples; longer content should use {{tag|pre}} or {{tag|source}}.  See [[Help:Wiki markup]] for an explaination of what the various tags do.
 
If the code content includes an equals sign (=), you must specify the parameter explicitly: <code><nowiki>{{code|1=date=30 Feb 2010}}</nowiki></code>.
 
This template does not need to be [[Wikipedia:Template substitution|substituted]].
 
=== See also ===
* {{tl|nowiki}}
* {{tl|pre}}
* {{tl|tag}}
* [[Help:Wiki markup]]


<includeonly><!--
<includeonly><!--

Revision as of 21:05, 28 February 2010

Wraps a short span of text in <code>...</code> tags. This template should be used for short samples; longer content should use <pre>...</pre> or <source>...</source>. See Help:Wiki markup for an explaination of what the various tags do.

If the code content includes an equals sign (=), you must specify the parameter explicitly: {{code|1=date=30 Feb 2010}}.

This template does not need to be substituted.

See also