Template:Code/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Emil76~enwiki
No edit summary
meta>Emil76~enwiki
No edit summary
Line 3: Line 3:
You must add nowiki tags before and after the code you want to display:
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>}}
{{code|<nowiki>{{Code|&#60;nowiki>... code to be displayed ...&#60;/nowiki>}}</nowiki>}}
;Parameters
Use 'scroll' as second parameter to create a vertical scollbar.
<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 12:06, 23 February 2008

You must add nowiki tags before and after the code you want to display: <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Code|<nowiki>... code to be displayed ...</nowiki>}}</syntaxhighlight>

Parameters

Use 'scroll' as second parameter to create a vertical scollbar.