Template:Infobox wrapper

From Terraria Mods Wiki
Jump to navigation Jump to 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
Statistics
Type
Duck
Statistics
Type
Bird
Statistics
Type

Multiple parameters style: (recommended)

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

Bunny
Statistics
Type
Duck
Statistics
Type
Bird
Statistics
Type

float left:

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

Bunny
Statistics
Type
Duck
Statistics
Type
Bird
Statistics
Type

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
Statistics
Type
Duck
Statistics
Type
Bird
Statistics
Type

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
Statistics
Type
Duck
Statistics
Type
Bird
Statistics
Type


horizontal direction:

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

Bunny
Statistics
Type
Duck
Statistics
Type
Bird
Statistics
Type

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
Statistics
Type
Duck
Statistics
Type
Bird
Statistics
Type

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
Statistics
Type
Duck
Statistics
Type
Bird
Statistics
Type