Template:Boxcode: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(meh, i cant make it work... returning to an older version) |
||
Line 1: | Line 1: | ||
<div style="float:left; width:100%; background:#e5e5ff; border:3px ridge #8888ff;">[[image:Edit-copy_green.svg.png|Code|20x20px]]''code'' | <div style="float:left; width:100%; background:#e5e5ff; border:3px ridge #8888ff;">[[image:Edit-copy_green.svg.png|Code|20x20px]]''code'' | ||
<div style="margin:10px; overflow:auto;">< | <div style="margin:10px; overflow:auto;"><noinclude></noinclude>{{{content|}}}<noinclude></noinclude></div> | ||
</div> | </div> | ||
<div style="clear:both;"></div><noinclude> | <div style="clear:both;"></div><noinclude> | ||
==Usage== | ==Usage== | ||
<nowiki>{{Boxcode| | <nowiki>{{Boxcode|content=some content}}</nowiki> | ||
==Example== | ==Example== | ||
{{Boxcode|xml | {{Boxcode|content= | ||
<syntaxhighlight lang="xml"> | |||
code | code | ||
lines | lines | ||
here | here | ||
very long lines adds a horizontal scroll bar to the template, this preserves the width of wiki pages............................................................................................................................................................................................................................................................................................... o/ sup | very long lines adds a horizontal scroll bar to the template, this preserves the width of wiki pages............................................................................................................................................................................................................................................................................................... o/ sup | ||
}} | </syntaxhighlight>}} | ||
[[Category:templates]]</noinclude> | [[Category:templates]]</noinclude> |
Revision as of 19:33, 7 November 2014
Usage
{{Boxcode|content=some content}}
Example
code
code
lines
here
very long lines adds a horizontal scroll bar to the template, this preserves the width of wiki pages............................................................................................................................................................................................................................................................................................... o/ sup