Owl.png Wiki reading hard on the eyes? Try out our Dark Theme! Visit the preferences page while logged in and select Hydra Dark. Owl.png

Template:Infobox wrapper

From Terraria Wiki
Jump to: navigation, search
Template-info.svg Documentation The documentation below is transcluded from Template:Infobox wrapper/doc. (edit | history)

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
Bunny.png
Statistics
Type
Sounds
Duck
Duck.png
Statistics
Type
Sounds
Bird
Bird.png
Statistics
Type
Sounds

Multiple parameters style: (recommended)

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

Bunny
Bunny.png
Statistics
Type
Sounds
Duck
Duck.png
Statistics
Type
Sounds
Bird
Bird.png
Statistics
Type
Sounds

float left:

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

Bunny
Bunny.png
Statistics
Type
Sounds
Duck
Duck.png
Statistics
Type
Sounds
Bird
Bird.png
Statistics
Type
Sounds

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
Bunny.png
Statistics
Type
Sounds
Duck
Duck.png
Statistics
Type
Sounds
Bird
Bird.png
Statistics
Type
Sounds

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
Bunny.png
Statistics
Type
Sounds
Duck
Duck.png
Statistics
Type
Sounds
Bird
Bird.png
Statistics
Type
Sounds


horizontal direction:

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

Bunny
Bunny.png
Statistics
Type
Sounds
Duck
Duck.png
Statistics
Type
Sounds
Bird
Bird.png
Statistics
Type
Sounds

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
Bunny.png
Statistics
Type
Sounds
Duck
Duck.png
Statistics
Type
Sounds
Bird
Bird.png
Statistics
Type
Sounds

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
Bunny.png
Statistics
Type
Sounds
Duck
Duck.png
Statistics
Type
Sounds
Bird
Bird.png
Statistics
Type
Sounds