|
|
Line 1: |
Line 1: |
| <table style="clear:right;float:right;max-width:330px"> | | <includeonly><infobox> |
| <td> | | <title source="name"><default>{{PAGENAME}}</default></title> |
| {|border="0" cellpadding="5" cellspacing="0" style="float:right; margin-left:1em; margin-bottom:1em; border:1px solid #555555; border-radius:5px;background:#d2d2d2; line-height:120%" width="330"
| | <image source="image"/> |
| |-
| | <data source="Warcry"><label>Warcry</label></data> |
| !colspan=3 style="font-size:150%;"|{{#if:{{{Name|}}}|<center><font color="#000000">'''''{{{Name}}}'''''</font></center>|'''Name'''}}
| | <data source="Founding"><label>Founding</label></data> |
| !colspan=1 width=25%|{{#if:{{{Symbol|}}}|[[Image:{{{Symbol}}}|middle|border|65px]]|[[Image:unknown2.jpg|middle|border|60px]]}}
| | <data source="Successors of"><label>Successors of</label></data> |
| |-
| | <data source="Successor Chapters"><label>Successor Chapters</label></data> |
| |{{#if:{{{Marine|}}}|
| | <data source="Number"><label>Number</label></data> |
| colspan=2 width=50% style="text-align:center;border-top:1px solid #808080;border-right:1px solid #808080;"{{!}}[[Image:{{{Marine}}}|middle|border|x160px]]|colspan=2 width=50% style="text-align:center;border-top:1px solid #808080;border-right:1px solid #808080;"{{!}}}}
| | <data source="Primarch"><label>Primarch</label></data> |
| |{{#if:{{{Miniature|}}}|
| | <data source="Chapter Master"><label>Chapter Master</label></data> |
| colspan=2 width=50% style="text-align:center;border-top:1px solid #808080;"{{!}}[[Image:{{{Miniature}}}|middle|border|x160px]]|colspan=2 width=50% style="text-align:center;border-top:1px solid #808080;border-right:1px solid #808080;"{{!}}}}
| | <data source="Homeworld"><label>Homeworld</label></data> |
| |- | | <data source="Fortress-Monastery"><label>Fortress-Monastery</label></data> |
| {{#if:{{{Founding Chapter|}}}|
| | <data source="Alligiance"><label>Allegiance</label></data> |
| {{!}}colspan=1 width=25% style="font-size:85%;background:#d2d2d2;border-top:1px solid #808080;vertical-align:top;text-align:left; " {{!}}'''Founding Chapter:'''
| | <data source="Colours"><label>Colours</label></data> |
| {{!}}colspan=3 style="font-size:85%;border-top:1px solid #808080;" {{!}}{{{Founding Chapter}}}
| | </infobox></includeonly> |
| | <noinclude> |
| | == Usage & preview == |
| | Type in this: |
| | |
| | <pre> |
| | {{Infobox Chapter |
| | |bgcolor= |
| | |fgcolor= |
| | |name= |
| | |image= |
| | |Warcry= |
| | |Founding= |
| | |Successors of= |
| | |Successor Chapters= |
| | |Number= |
| | |Primarch= |
| | |Chapter Master= |
| | |Homeworld= |
| | |Fortress-Monastery= |
| | |Alligiance= |
| | |Colours= |
| }} | | }} |
| |-
| | |
| {{#if:{{{Founding|}}}|
| | </pre> |
| {{!}}colspan=1 width=25% style="font-size:85%;background:#d2d2d2;border-top:1px solid #808080;vertical-align:top;text-align:left; " {{!}}'''Founding:'''
| | |
| {{!}}colspan=3 style="font-size:85%;border-top:1px solid #808080;" {{!}}{{{Founding}}}
| | to see this: |
| | |
| | {{Infobox Chapter |
| | |bgcolor=This is a test |
| | |fgcolor=This is a test |
| | |name=This is a test |
| | |image=This is a test |
| | |Warcry=This is a test |
| | |Founding=This is a test |
| | |Successors of=This is a test |
| | |Successor Chapters=This is a test |
| | |Number=This is a test |
| | |Primarch=This is a test |
| | |Chapter Master=This is a test |
| | |Homeworld=This is a test |
| | |Fortress-Monastery=This is a test |
| | |Alligiance=This is a test |
| | |Colours=This is a test |
| }} | | }} |
| |-
| | [[Category:Templates]]</noinclude> |
| {{#if:{{{Descendants|}}}|
| |
| {{!}}colspan=1 width=25% style="font-size:85%;background:#d2d2d2;border-top:1px solid #808080;vertical-align:top;text-align:left; " {{!}}'''Descendants:'''
| |
| {{!}}colspan=3 style="font-size:85%;border-top:1px solid #808080;" {{!}}{{{Descendants}}}
| |
| }}
| |
| |-
| |
| {{#if:{{{Chapter Master|}}}|
| |
| {{!}}colspan=1 width=25% style="font-size:85%;background:#d2d2d2;border-top:1px solid #808080;vertical-align:top;text-align:left; " {{!}}'''Chapter Master:'''
| |
| {{!}}colspan=3 style="font-size:85%;border-top:1px solid #808080;" {{!}}{{{Chapter Master}}}
| |
| }}
| |
| |-
| |
| {{#if:{{{Homeworld|}}}|
| |
| {{!}}colspan=1 width=25% style="font-size:85%;background:#d2d2d2;border-top:1px solid #808080;vertical-align:top;text-align:left; " {{!}}'''Homeworld:'''
| |
| {{!}}colspan=3 style="font-size:85%;border-top:1px solid #808080;" {{!}}{{{Homeworld}}}
| |
| }}
| |
| |-
| |
| {{#if:{{{Fortress-Monastery|}}}|
| |
| {{!}}colspan=1 width=25% style="font-size:85%;background:#d2d2d2;border-top:1px solid #808080;vertical-align:top;text-align:left; " {{!}}'''Fortress-Monastery:'''
| |
| {{!}}colspan=3 style="font-size:85%;border-top:1px solid #808080;" {{!}}{{{Fortress-Monastery}}}
| |
| }}
| |
| |-
| |
| {{#if:{{{Colours|}}}|
| |
| {{!}}colspan=1 width=25% style="font-size:85%;background:#d2d2d2;border-top:1px solid #808080;vertical-align:top;text-align:left; " {{!}}'''Colours:'''
| |
| {{!}}colspan=3 style="font-size:85%;border-top:1px solid #808080;" {{!}}{{{Colours}}}
| |
| }}
| |
| |-
| |
| {{#if:{{{Specialty|}}}|
| |
| {{!}}colspan=1 width=25% style="font-size:85%;background:#d2d2d2;border-top:1px solid #808080;vertical-align:top;text-align:left; " {{!}}'''Specialty:'''
| |
| {{!}}colspan=3 style="font-size:85%;border-top:1px solid #808080;" {{!}}{{{Specialty}}}
| |
| }}
| |
| |-
| |
| {{#if:{{{Strength|}}}|
| |
| {{!}}colspan=1 width=25% style="font-size:85%;background:#d2d2d2;border-top:1px solid #808080;vertical-align:top;text-align:left; " {{!}}'''Strength:'''
| |
| {{!}}colspan=3 style="font-size:85%;border-top:1px solid #808080;" {{!}}{{{Strength}}}
| |
| }}
| |
| |-
| |
| {{#if:{{{Battle Cry|}}}|
| |
| {{!}}colspan=1 width=25% style="font-size:85%;background:#d2d2d2;border-top:1px solid #808080;vertical-align:top;text-align:left; " {{!}}'''Battle Cry'''
| |
| {{!}}colspan=3 style="font-size:85%;border-top:1px solid #808080;"{{!}}{{{Battle Cry}}}
| |
| }}
| |
| |-
| |
| |}</td></table><noinclude>
| |
| {{Documentation}}
| |
| </noinclude> | |
Usage & preview
Type in this:
{{Infobox Chapter
|bgcolor=
|fgcolor=
|name=
|image=
|Warcry=
|Founding=
|Successors of=
|Successor Chapters=
|Number=
|Primarch=
|Chapter Master=
|Homeworld=
|Fortress-Monastery=
|Alligiance=
|Colours=
}}
to see this:
<infobox>
<title source="name"><default>LoyalistChapters</default></title>
<image source="image"/>
<label>Warcry</label>
<label>Founding</label>
<label>Successors of</label>
<label>Successor Chapters</label>
<label>Number</label>
<label>Primarch</label>
<label>Chapter Master</label>
<label>Homeworld</label>
<label>Fortress-Monastery</label>
<label>Allegiance</label>
<label>Colours</label>
</infobox>