Template:Infoboxframe
From HoloNet
Jump to navigationJump to searchThis is a framing wrapper template used in the construction of infoboxes. It takes the parameters width
, BG1
, and src
. The actual contents of the frame - the instances of {{Infocell}} - should be put as the first unnamed parameter.
width
is used to pass the infobox's own width parameter to this template.BG1
sets the infobox color and should match other values ofBG1
in the infobox.divid
needs the type of infobox to fill the div id. Typically it's the source type of infobox, like "Character_infobox".src
needs the infobox's full name, including Template: to fill the [Source] button.event
is a parameter that will change the infobox to a flexible-width. This should only be used for event infoboxes.
Standard example:
{{Infoboxframe | put the infocell templates here |BG1=333333 |divid=Character_infobox |src=Template:New infobox |width={{{width|}}} }}
Event example:
{{Infoboxframe | put the infocell templates here |BG1=333333 |divid=Character_infobox |src=Template:New infobox |event=yes |width={{{width|}}} |field3={{{side3|}}} |field4={{{side4|}}} }}