Template:Col-2

From Book of Travels Wiki
Jump to navigation Jump to search
Template-info.svg Documentation
Description

Make a 2 Column in Template:Navbox mobile

Used together with Template:Navbox mobile and Template:Col-1
Parameters
  1. strip | (optional) If it contains anything, it will make the header gray for accent/ easier reading.
  2. 1 | add title in left column
  3. 2 | Adding in the column templates in here
Syntax

Only this template

{{Col-2
|Left Column
|Content here
}}


With column template

{{Navbox mobile|title = Test Navbox|strip = 1|
{{Col-2|Left Column|
Content here
}}
{{Col-1|strip=1|
Content here
}}
}}

Results:


Test Navbox
Left Column

Content here

Content here

! class="col2" style="width: 15%;" | {{{1}}} | style="width: 75%;" | {{{2}}} |-style="padding:0.2em 0.5em;"