Template:Code/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>16@r
moved from the template page
 
meta>Emil76~enwiki
No edit summary
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>.
You must add nowiki tags before and after the code you want to display:
 
{{code|<nowiki>{{Code|&#60;nowiki>... code to be displayed ...&#60;/nowiki>}}</nowiki>}}
<includeonly><!--
<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
[[Category:Typing-aid templates|Code]]
[[Category:Typing-aid templates|Code]]
</includeonly>
</includeonly>

Revision as of 11:47, 23 February 2008

You must add nowiki tags before and after the code you want to display: {{Code|<nowiki>... code to be displayed ...</nowiki>}}