Template:Box start/doc: Difference between revisions
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=|masterboxwidth=|boxwidth=|bkgndcolor=|bordercolor=|textcolor=}}</code> |
:<code>{{t|Box start|borderpx=|boxcolor=|masterboxwidth=|boxwidth=|bkgndcolor=|bordercolor=|textcolor=}}</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}}
|
{{Box start|boxcolor=red}} First box text {{Boxes end}}
| |||||
{{Box start|boxcolor=green}} First box text {{Boxes end}}
|
{{Box start|boxcolor=blue}} First box text {{Boxes end}}
| |||||
{{Box start|boxcolor=gray}} First box text {{Boxes end}}
|
{{Box start|bkgndcolor=#880|textcolor=#ffff00}} First box light text dark background {{Boxes end}}
| |||||
{{Box start|bordercolor=black}} First box with black border {{Boxes end}}
|
{{Box start|masterboxwidth=50%}} First box text only 50% wide {{Boxes end}}
| |||||
{{Box start}} First box text {{Box more}} Second box text {{Boxes end}}
|
{{Box start|boxwidth=33%}} First box text {{Box more|boxwidth=33%}} ''Second box text'' {{Box more|boxwidth=33%}} ''Third box text'' {{Boxes end}}
|
- See also