Template:Boxcode: Difference between revisions

From PS3 Developer wiki
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=45% float=left|content=<syntaxhighlight lang="xml">
{{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=45% float=right|content=<syntaxhighlight lang="xml">
{{Boxcode|width=50%|float=right|title=width=50% float=right|content=<syntaxhighlight lang="xml">
<code>
<code>
lines
lines

Revision as of 05:08, 26 August 2021

Code SampleEdit-copy purple.svg.png
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 TitleEdit-copy purple.svg.png
<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=leftEdit-copy purple.svg.png
<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=rightEdit-copy purple.svg.png
<code>
lines
<!--here-->
very long lines adds a horizontal scroll bar at bottom of the template to preserve the width of the wiki pages