Template:Scroll box: Difference between revisions

From PCSX2 Wiki
Jump to navigation Jump to search
No edit summary
Line 91: Line 91:
</pre>
</pre>


===Result===
{{scroll box
{{scroll box
|width=600px
|height=235px
|height=235px
|content=
|content=

Revision as of 09:24, 1 December 2014

{{{1}}}


Usage instructions

{{scroll box
|content=

}}

NOTE: An optional width variable can be used to control the width of the scroll box:

{{scroll box
|width=75%
|content=

}}

Example

Code

{{scroll box
|content=
*Test
*Test
*Test
*Test
*Test
*Test
*Test
*Test
*Test
*Test
*Test
*Test
*Test
*Test
*Test
*Test
}}

Result

  • Test
  • Test
  • Test
  • Test
  • Test
  • Test
  • Test
  • Test
  • Test
  • Test
  • Test
  • Test
  • Test
  • Test
  • Test


Alternative code to manipulate size of box (Necessary for making scrolling galleries)

NOTE: If you want the box to automatically adjust to whatever content is in there, simply remove the height and width sections.

{{scroll box
|width=??px
|height=??px
|content=
*AltTest
*AltTest
*AltTest
*AltTest
*AltTest
*AltTest
*AltTest
*AltTest
*AltTest
*AltTest
*AltTest
*AltTest
*AltTest
*AltTest
*AltTest
}}
  • AltTest
  • AltTest
  • AltTest
  • AltTest
  • AltTest
  • AltTest
  • AltTest
  • AltTest
  • AltTest
  • AltTest
  • AltTest
  • AltTest
  • AltTest
  • AltTest
  • AltTest