Template:Boxcode: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 33: Line 33:
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=auto|title=width=auto|content=<syntaxhighlight lang="xml">
 
{{Boxcode|width=600px|title=width=600px|content=<syntaxhighlight lang="xml">
<code>
lines
<!--here-->
very long lines adds a horizontal scroll bar
</syntaxhighlight>}}
{{Boxcode|width=auto|float=right|title=width=auto float=right|content=<syntaxhighlight lang="xml">
<code>
lines
<!--here-->
very long lines adds a horizontal scroll bar
</syntaxhighlight>}}
{{Boxcode|width=auto|float=right|title=width=auto float=right|content=<syntaxhighlight lang="xml">
<code>
<code>
lines
lines

Revision as of 20:07, 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%Edit-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
width=600pxEdit-copy purple.svg.png
<code>
lines
<!--here-->
very long lines adds a horizontal scroll bar
width=auto float=rightEdit-copy purple.svg.png
<code>
lines
<!--here-->
very long lines adds a horizontal scroll bar
width=auto float=rightEdit-copy purple.svg.png
<code>
lines
<!--here-->
very long lines adds a horizontal scroll bar