This page will only parse completely when it is included in another page.

Usage: {{infobox2|}}


This is a template for a new type of infobox. It can be accessed by using [template]infobox2 and ended with the [/template] command. This infobox is a bordered box, 200 pixels in width on the right side of a wiki page. A large font, bolded main header can be placed at the top. Under that a picture can be added and an italic caption for the picture can be given underneath. The body of the infobox can support twenty "lines". A subheader can be added which is bolded and highlighted. Plain text can likewise be added. Additionally it is possible to split the text into two columns of labels and data. Note that this is considered finished, but small refinements may be made.




Infobox Header

This is the caption for the picture. As you can see it is centered and italic.


This is the first subheader

This is just normal text that will autowrap and is left justified
Label 1:
Data for label 1


This is just more text. As you can see there is spacing issues. I haven't worked it out yet.

A new subheader

Label 3:
Data 3


Label 4:
Data 4


Label 5:
Data 5


Label 6:
Data 6


Label 7:
 


Label 8:
 
A new subheader with some info

A point should be mentioned that multiple lines should not be skipped as it begins to cause weird spacing issues.



For example: if one were to use label8, the next label should be 9 or 10. Skipping to label15 with nothing for lines 11-14 might have unintended spacing issues.

































The infobox on the right displays how the box looks. There are some non-uniform spacing issues I've tried to combat, but haven't been able to prevent and someone smarter than me who knows what they are actually doing might be able to fix any issues. I may add in a simple function to have the infobox appear on the left or right in the future as well as change the width of the box. For right now though, it serves its purpose. To have the box's upper end appear in line with text on the left, be sure to add the template ABOVE the section of text. Below are the list of current inputs.


| header =
| image =
| caption =
| subhead1 =
| text1 =
| label1 =
| data1 =
| subhead2 =
| text2 =
| label2 =
| data2 =
...
| subhead20 =
| text20 =
| label20 =
| data20 =


It is important to note that you can use subhead1, text1, label1, and data1 all at the same time or in any combination, but they will always output in that order. That is to say the subhead will always be at the top, under which text will appear, under which the label and data lines will appear. So if you want a label and data list above text, you will need to use labelX and dataX followed by textX+1.

The code for the infobox on the right is as follows.


[template]infobox2
| header = Infobox Header
| image = Avanil.png
| caption = This is the caption for the picture. As you can see it is centered and italic.
| subhead1 = This is the first subheader
| text1 = This is just normal text that will autowrap and is left justified
| label1 = Label 1
| data1 = Data for label 1
| text2 = This is just more text. As you can see there is spacing issues. I haven't worked it out yet.
| subhead3 = A new subheader
| label3 = Label 3
| data3 = Data 3
| label4 = Label 4
| data4 = Data 4
| label5 = Label 5
| data5 = Data 5
| label6 = Label 6
| data6 = Data 6
| label7 = Label 7
| label8 = Label 8
| subhead9 = A new subheader with some info
| text9 = A point should be mentioned that multiple lines should not be skipped as it begins to cause weird spacing issues.
| text10 = For example: if one were to use label8, the next label should be 9 or 10. Skipping to label15 with nothing for lines 11-14 might have unintended spacing issues.
[/template]







[div]
style="border: 1px #ffffff solid; background: #001821; width: 200px; float:right;"
class="grid_24 alpha omega" | [div] class="grid_24 alpha omega cardheaderbrown" | [div] class="grid_24 cardtitle" |[CENTER][SIZE="4"][B]{{{header}}}[/CENTER][/SIZE][/B]
[div] [IMAGE]{{{image}}}|100px|center[/IMAGE][/div]
[div] [CENTER][I]{{{caption}}}[/I][/CENTER] [/div]

[div][/div][/div]

[if=" {{{subhead1|}}} "][div] class="grid_24 alpha omega boxoddrow" style="background: #5D91A3"|[CENTER][B]{{{subhead1}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text1|}}} "][div] class="grid_24 alpha omega boxoddrow" |<br>{{{text1}}}<br>[/div] [/if]
[if=" {{{label1|}}}"][div] class="grid_24 alpha omega boxoddrow"|[div] class="grid_7"|{{{label1}}}:[/div][div] class="grid_17"| [if=" {{{data1|}}}"]{{{data1}}} [else /] &nbsp;[/if][/div][/div][/if]
[if=" {{{subhead2|}}} "][div] class="grid_24 alpha omega boxevenrow" <br> style="background: #5D91A3"|[CENTER][B]{{{subhead2}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text2|}}} "][div] class="grid_24 alpha omega boxevenrow" |<br>{{{text2}}}<br>[/div] [/if]
[if=" {{{label2|}}}"][div] class="grid_24 alpha omega boxevenrow"|[div] class="grid_7"|{{{label2}}}:[/div][div] class="grid_17"| [if=" {{{data2|}}}"]{{{data2}}} [else /] &nbsp;[/if][/div][/div][/if]
[if=" {{{subhead3|}}} "][div] class="grid_24 alpha omega boxoddrow" style="background: #5D91A3"|[CENTER][B]{{{subhead3}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text3|}}} "][div] class="grid_24 alpha omega boxoddrow" |<br>{{{text3}}}<br>[/div] [/if]
[if=" {{{label3|}}}"][div] class="grid_24 alpha omega boxoddrow"|[div] class="grid_7"|{{{label3}}}:[/div][div] class="grid_17"| [if=" {{{data3|}}}"]{{{data3}}} [else /] &nbsp;[/if][/div][/div][/if]
[if=" {{{subhead4|}}} "][div] class="grid_24 alpha omega boxevenrow" <br> style="background: #5D91A3"|[CENTER][B]{{{subhead4}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text4|}}} "][div] class="grid_24 alpha omega boxevenrow" |<br>{{{text4}}}<br>[/div] [/if]
[if=" {{{label4|}}}"][div] class="grid_24 alpha omega boxevenrow"|[div] class="grid_7"|{{{label4}}}:[/div][div] class="grid_17"| [if=" {{{data4|}}}"]{{{data4}}}[/if][/div][/div][/if]
[if=" {{{subhead5|}}} "][div] class="grid_24 alpha omega boxoddrow" style="background: #5D91A3"|[CENTER][B]{{{subhead5}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text5|}}} "][div] class="grid_24 alpha omega boxoddrow" |<br>{{{text5}}}<br>[/div] [/if]
[if=" {{{label5|}}}"][div] class="grid_24 alpha omega boxoddrow"|[div] class="grid_7"|{{{label5}}}:[/div][div] class="grid_17"| [if=" {{{data5|}}}"]{{{data5}}}[/if][/div][/div][/if]
[if=" {{{subhead6|}}} "][div] class="grid_24 alpha omega boxevenrow" <br> style="background: #5D91A3"|[CENTER][B]{{{subhead6}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text6|}}} "][div] class="grid_24 alpha omega boxevenrow" |<br>{{{text6}}}<br>[/div] [/if]
[if=" {{{label6|}}}"][div] class="grid_24 alpha omega boxevenrow"|[div] class="grid_7"|{{{label6}}}:[/div][div] class="grid_17"| [if=" {{{data6|}}}"]{{{data6}}}[/if][/div][/div][/if]
[if=" {{{subhead7|}}} "][div] class="grid_24 alpha omega boxoddrow" style="background: #5D91A3"|[CENTER][B]{{{subhead7}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text7|}}} "][div] class="grid_24 alpha omega boxoddrow" |<br>{{{text7}}}<br>[/div] [/if]
[if=" {{{label7|}}}"][div] class="grid_24 alpha omega boxoddrow"|[div] class="grid_7"|{{{label7}}}:[/div][div] class="grid_17"| [if=" {{{data7|}}}"]{{{data7}}} [else /] &nbsp;[/if][/div][/div][/if]
[if=" {{{subhead8|}}} "][div] class="grid_24 alpha omega boxevenrow" <br> style="background: #5D91A3"|[CENTER][B]{{{subhead8}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text8|}}} "][div] class="grid_24 alpha omega boxevenrow" |<br>{{{text8}}}<br>[/div] [/if]
[if=" {{{label8|}}}"][div] class="grid_24 alpha omega boxevenrow"|[div] class="grid_7"|{{{label8}}}:[/div][div] class="grid_17"| [if=" {{{data8|}}}"]{{{data8}}} [else /] &nbsp;[/if][/div][/div][/if]
[if=" {{{subhead9|}}} "][div] class="grid_24 alpha omega boxoddrow" style="background: #5D91A3"|[CENTER][B]{{{subhead9}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text9|}}} "][div] class="grid_24 alpha omega boxoddrow" |<br>{{{text9}}}<br>[/div] [/if]
[if=" {{{label9|}}}"][div] class="grid_24 alpha omega boxoddrow"|[div] class="grid_7"|{{{label9}}}:[/div][div] class="grid_17"| [if=" {{{data9|}}}"]{{{data9}}} [else /] &nbsp;[/if][/div][/div][/if]
[if=" {{{subhead10|}}} "][div] class="grid_24 alpha omega boxevenrow" <br> style="background: #5D91A3"|[CENTER][B]{{{subhead10}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text10|}}} "][div] class="grid_24 alpha omega boxevenrow" |<br>{{{text10}}}<br>[/div] [/if]
[if=" {{{label10|}}}"][div] class="grid_24 alpha omega boxevenrow"|[div] class="grid_7"|{{{label10}}}:[/div][div] class="grid_17"| [if=" {{{data10|}}}"]{{{data10}}} [else /] &nbsp;[/if][/div][/div][/if]
[if=" {{{subhead11|}}} "][div] class="grid_24 alpha omega boxoddrow" style="background: #5D91A3"|[CENTER][B]{{{subhead11}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text11|}}} "][div] class="grid_24 alpha omega boxoddrow" |<br>{{{text11}}}<br>[/div] [/if]
[if=" {{{label11|}}}"][div] class="grid_24 alpha omega boxoddrow"|[div] class="grid_7"|{{{label11}}}:[/div][div] class="grid_17"| [if=" {{{data11|}}}"]{{{data11}}}[/if][/div][/div][/if]
[if=" {{{subhead12|}}} "][div] class="grid_24 alpha omega boxevenrow" <br> style="background: #5D91A3"|[CENTER][B]{{{subhead12}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text12|}}} "][div] class="grid_24 alpha omega boxevenrow" |<br>{{{text12}}}<br>[/div] [/if]
[if=" {{{label12|}}}"][div] class="grid_24 alpha omega boxevenrow"|[div] class="grid_7"|{{{label12}}}:[/div][div] class="grid_17"| [if=" {{{data12|}}}"]{{{data12}}}[/if][/div][/div][/if]
[if=" {{{subhead13|}}} "][div] class="grid_24 alpha omega boxoddrow" style="background: #5D91A3"|[CENTER][B]{{{subhead13}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text13|}}} "][div] class="grid_24 alpha omega boxoddrow" |<br>{{{text13}}}<br>[/div] [/if]
[if=" {{{label13|}}}"][div] class="grid_24 alpha omega boxoddrow"|[div] class="grid_7"|{{{label13}}}:[/div][div] class="grid_17"| [if=" {{{data13|}}}"]{{{data13}}}[/if][/div][/div][/if]
[if=" {{{subhead14|}}} "][div] class="grid_24 alpha omega boxevenrow" <br> style="background: #5D91A3"|[CENTER][B]{{{subhead14}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text14|}}} "][div] class="grid_24 alpha omega boxevenrow" |<br>{{{text14}}}<br>[/div] [/if]
[if=" {{{label14|}}}"][div] class="grid_24 alpha omega boxevenrow"|[div] class="grid_7"|{{{label14}}}:[/div][div] class="grid_17"| [if=" {{{data14|}}}"]{{{data14}}} [/if][/div][/div][/if]
[if=" {{{subhead15|}}} "][div] class="grid_24 alpha omega boxoddrow" style="background: #5D91A3"|[CENTER][B]{{{subhead15}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text15|}}} "][div] class="grid_24 alpha omega boxoddrow" |<br>{{{text15}}}<br>[/div] [/if]
[if=" {{{label15|}}}"][div] class="grid_24 alpha omega boxoddrow"|[div] class="grid_7"|{{{label15}}}:[/div][div] class="grid_17"| [if=" {{{data15|}}}"]{{{data15}}} [/if][/div][/div][/if]
[if=" {{{subhead16|}}} "][div] class="grid_24 alpha omega boxevenrow" <br> style="background: #5D91A3"|[CENTER][B]{{{subhead16}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text16|}}} "][div] class="grid_24 alpha omega boxevenrow" |<br>{{{text16}}}<br>[/div] [/if]
[if=" {{{label16|}}}"][div] class="grid_24 alpha omega boxevenrow"|[div] class="grid_7"|{{{label16}}}:[/div][div]
class="grid_17"| [if=" {{{data16|}}}"]{{{data16}}}[/if][/div][/div][/if]
[if=" {{{subhead17|}}} "][div] class="grid_24 alpha omega boxoddrow" style="background: #5D91A3"|[CENTER][B]{{{subhead17}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text17|}}} "][div] class="grid_24 alpha omega boxoddrow" |<br>{{{text17}}}<br><br>[/div] [/if]
[if=" {{{label17|}}}"][div] class="grid_24 alpha omega boxoddrow"|[div] class="grid_7"|{{{label17}}}:[/div][div] class="grid_17"| [if=" {{{data17|}}}"]{{{data17}}} [/if][/div][/div][/if]
[if=" {{{subhead18|}}} "][div] class="grid_24 alpha omega boxevenrow" <br> style="background: #5D91A3"|[CENTER][B]{{{subhead18}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text18|}}} "][div] class="grid_24 alpha omega boxevenrow" |<br>{{{text18}}}<br>[/div] [/if]
[if=" {{{label18|}}}"][div] class="grid_24 alpha omega boxevenrow"|[div] class="grid_7"|{{{labe1l8}}}:[/div][div] class="grid_17"| [if=" {{{data18|}}}"]{{{data18}}}[/if][/div][/div][/if]
[if=" {{{subhead19|}}} "][div] class="grid_24 alpha omega boxoddrow" style="background: #5D91A3"|[CENTER][B]{{{subhead19}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text19|}}} "][div] class="grid_24 alpha omega boxoddrow" |<br>{{{text19}}}<br><br>[/div] [/if]
[if=" {{{label19|}}}"][div] class="grid_24 alpha omega boxoddrow"|[div] class="grid_7"|{{{label19}}}:[/div][div] class="grid_17"| [if=" {{{data19|}}}"]{{{data19}}} [/if][/div][/div][/if]
[if=" {{{subhead20|}}} "][div] class="grid_24 alpha omega boxevenrow" <br> style="background: #5D91A3"|[CENTER][B]{{{subhead20}}}[/B][/CENTER] <br>[/div][/if]
[if=" {{{text20|}}} "][div] class="grid_24 alpha omega boxevenrow" |<br>{{{text20}}}<br>[/div] [/if]
[if=" {{{label20|}}}"][div] class="grid_24 alpha omega boxevenrow"|[div] class="grid_7"|{{{label20}}}:[/div][div] class="grid_17"| [if=" {{{data20|}}}"]{{{data20}}} [/if][/div][/div][/if]

[/div][/div]

[top]Pages That Use This Template

The following pages include this template:


Tags for this Page

Bookmarks

Posting Permissions

Posting Permissions
  • You may not create new articles
  • You may not edit articles
  • You may not protect articles
  • You may not post comments
  • You may not post attachments
  • You may not edit your comments
BIRTHRIGHT, DUNGEONS & DRAGONS, D&D, the BIRTHRIGHT logo, and the D&D logo are trademarks owned by Wizards of the Coast, Inc., a subsidiary of Hasbro, Inc., and are used by permission. ©2002-2010 Wizards of the Coast, Inc.