Template:Boxcode: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
{{clear}}<br> | {{clear}}<br> | ||
{{Boxcode|width=50%|float=left|title=width= | {{Boxcode|width=50%|float=left|title=width=50% float=left|content=<syntaxhighlight lang="xml"> | ||
<code> | <code> | ||
lines | lines | ||
Line 26: | Line 26: | ||
very long lines adds a horizontal scroll bar at bottom of the template to preserve the width of the wiki pages | very long lines adds a horizontal scroll bar at bottom of the template to preserve the width of the wiki pages | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
{{Boxcode|width=50%|float=right|title=width= | {{Boxcode|width=50%|float=right|title=width=50% float=right|content=<syntaxhighlight lang="xml"> | ||
<code> | <code> | ||
lines | lines |
Revision as of 04:08, 26 August 2021
Code Sample
content
Usage
{{Boxcode|content=Code Sample}}
...or...
{{Boxcode|title=Custom Title|content=Code Sample}}
...or...
{{Boxcode|width=50%|title=Custom Title|content=Code Sample}}
...or...
{{Boxcode|width=50%|float=right|title=Custom Title|content=Code Sample}}
Examples
Custom Title
<code>
lines
<!--here-->
very long lines adds a horizontal scroll bar at bottom of the template to preserve the width of the wiki pages ...............................................................................................................................................................................................................................................................................................o/sup
width=50% float=left
<code>
lines
<!--here-->
very long lines adds a horizontal scroll bar at bottom of the template to preserve the width of the wiki pages
width=50% float=right
<code>
lines
<!--here-->
very long lines adds a horizontal scroll bar at bottom of the template to preserve the width of the wiki pages