Template:Box start/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>ThomasWikia
(Created page with ';Description :This template starts a yellow box, as the first part of a two column box by default. ;Syntax :<code>{{t|Box start|boxcolor=|masterboxwidth=|boxwidth=|bk...')
 
m (2 revisions imported: Import from https://sims.wikia.com)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
:This template starts a yellow box, as the first part of a two column box by default.
:This template starts a yellow box, as the first part of a two column box by default.
;Syntax
;Syntax
:<code>{{t|Box start|boxcolor&#61;|masterboxwidth&#61;|boxwidth&#61;|bkgndcolor&#61;|bordercolor&#61;|textcolor&#61;}}</code>
:<code>{{t|Box start|borderpx&#61;|boxcolor&#61;|masterboxwidth&#61;|boxwidth&#61;|bkgndcolor&#61;|bordercolor&#61;|textcolor&#61;}}</code>
:Type <code>{{t|Box start}}</code>, then whatever you would like inside the first box, then <code>{{t|Box more}}</code> and whatever you want in the second box, ended by <code>{{t|Boxes end}}</code>.
:Type <code>{{t|Box start}}</code>, then whatever you would like inside the first box, then <code>{{t|Box more}}</code> and whatever you want in the second box, ended by <code>{{t|Boxes end}}</code>.
;Parameters
;Parameters

Latest revision as of 19:02, 28 February 2019

Description
This template starts a yellow box, as the first part of a two column box by default.
Syntax
{{Box start|<borderpx=>|<boxcolor=>|<masterboxwidth=>|<boxwidth=>|<bkgndcolor=>|<bordercolor=>|<textcolor=>}}
Type {{Box start}}, then whatever you would like inside the first box, then {{Box more}} and whatever you want in the second box, ended by {{Boxes end}}.
Parameters
You can add more boxes, but you need to change the boxwidth= which defaults to 50%.
Sample output
{{Box start}}
First box text
{{Boxes end}}
gives...

First box text

{{Box start|boxcolor=red}}
First box text
{{Boxes end}}
gives...

First box text

{{Box start|boxcolor=green}}
First box text
{{Boxes end}}
gives...

First box text

{{Box start|boxcolor=blue}}
First box text
{{Boxes end}}
gives...

First box text

{{Box start|boxcolor=gray}}
First box text
{{Boxes end}}
gives...

First box text

{{Box start|bkgndcolor=#880|textcolor=#ffff00}}
First box light text dark background
{{Boxes end}}
gives...

First box light text dark background

{{Box start|bordercolor=black}}
First box with black border
{{Boxes end}}
gives...

First box with black border

{{Box start|masterboxwidth=50%}}
First box text only 50% wide
{{Boxes end}}
gives...

First box text only 50% wide

{{Box start}}
First box text
{{Box more}}
Second box text
{{Boxes end}}
gives...

First box text

Second box text

{{Box start|boxwidth=33%}}
First box text
{{Box more|boxwidth=33%}}
''Second box text''
{{Box more|boxwidth=33%}}
''Third box text''
{{Boxes end}}
gives...

First box text

Second box text

Third box text

See also