模板:Infobox wrapper/doc

出自Terraria Wiki
跳至導覽 跳至搜尋

Usage

Describe usage instructions here.

Unnamed Parameter(s)

Infobox(es) to be wrapped.

float = right/left/none

CSS float, default is right.

direction = column/row

The direction of wrapped infobox(es).Default is column.

other parameters

See {{flexbox}}

Examples

Single parameter style(not recommended):

{{infobox wrapper | {{npc infobox | name = Bunny}}{{npc infobox | name = Duck | boxwidth=12em}}{{npc infobox | name = Bird}} | css=background:#ffff99; }} :

兔兔
Bunny.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Duck.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Bird.png
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型

Multiple parameters style: (recommended)

{{infobox wrapper | {{npc infobox | name = Bunny}} | {{npc infobox | name = Duck | boxwidth=12em}} | {{npc infobox | name = Bird}} | css=background:#ff9999 }}

兔兔
Bunny.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Duck.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Bird.png
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型

float left:

{{infobox wrapper | float=left | {{npc infobox | name = Bunny}} | {{npc infobox | name = Duck | boxwidth=12em}} | {{npc infobox | name = Bird}} | css=background:#ff9999;}}

兔兔
Bunny.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Duck.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Bird.png
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型

no float(infoboxes float right by default):

{{infobox wrapper | float=none | {{npc infobox | name = Bunny}} | {{npc infobox | name = Duck | boxwidth=12em}} | {{npc infobox | name = Bird}} | css=background:#ff9999;}}

兔兔
Bunny.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Duck.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Bird.png
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型

no float with infoboxes float left:

{{infobox wrapper | float=none | {{npc infobox | name = Bunny | float=left}} | {{npc infobox | name = Duck | boxwidth=12em | float=left}} | {{npc infobox | name = Bird | float=left}} | css=background:#ff9999;}}

兔兔
Bunny.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Duck.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Bird.png
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型


horizontal direction:

{{infobox wrapper | direction=row | {{npc infobox | name = Bunny}} | {{npc infobox | name = Duck | boxwidth=12em}} | {{npc infobox | name = Bird}} | css=background:#ff9999;}}

兔兔
Bunny.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Duck.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Bird.png
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型

horizontal direction & no float:

{{infobox wrapper | direction=row | float=none | {{npc infobox | name = Bunny}} | {{npc infobox | name = Duck | boxwidth=12em}} | {{npc infobox | name = Bird}} | css=background:#ff9999;}}

兔兔
Bunny.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Duck.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Bird.png
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型

horizontal direction & float left:

{{infobox wrapper | direction=row | float=left | {{npc infobox | name = Bunny}} | {{npc infobox | name = Duck | boxwidth=12em}} | {{npc infobox | name = Bird}} | css=background:#ff9999;}}

兔兔
Bunny.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Duck.png前代主機版和任天堂3DS版
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型
Bird.png
Classic mode icon.png 經典
Expert mode icon.png 專家
Master mode icon.png 大師
詳細信息
類型