|
|
Line 1: |
Line 1: |
| {|Border="1" align="right" cellspacing="0" cellpadding="3" style="border: 1px solid #7a7a7a; float: right; width: {{{width|300}}}px; background: #ffffff; margin: 0px 0px 15px 15px; border-collapse: collapse;" | | {| class="infobox" style="border: 2px #AAAAAA solid; -moz-border-radius: 10px; background:white; float: right; padding: 7px; width:290px;" |
| |-
| | <!-- saving for character infobox space |
| |height="32" colspan="2" align="center" style="background: {{{background color|#D1BEF4}}};"| | | |+ colspan="2" style="font-size: larger;"|'''{{{boxtitle}}}''' |
| <div style="top:+0.2em;font-size: 105%">'''''{{{Box title|No Title}}}'''''</div>
| | |- |
| {{#if: {{{Image file|}}}|
| | |- |
| {{!}}-
| | --> |
| {{!}}colspan="2" align="center" valign="top" style="background: #FFFFFF;"{{!}}
| | |colspan="2" style="text-align:center;"|{{{image}}} |
| [[Image:{{{Image file}}}|{{{Image size}}}px]]
| | |- |
| |
| | |colspan="2" style="text-align:center; background:#D1BEF4"|'''<font color="black">{{{boxtitle}}}</font>''' |
| }} | | |- |
| |- | | |valign="top" style=" background:#D1BEF4; width:110px"|'''<font color="black">{{{option1}}}</font>''' |
| |height="32" Width="30%" valign="top" style="background: {{{background color|#D1BEF4}}};"| | | |style="background:#FFFFFF"|{{{info1}}} |
| <div style="top:+0.2em;font-size: 95%">'''{{{Row 1 title|No Title}}}'''</div> | | |- |
| |valign="top" style="background: #FFFFFF;"| | | |valign="top" style=" background:#D1BEF4; width:110px"|'''<font color="black">{{{option2}}}</font>''' |
| <div style="top:+0.2em;font-size: 95%">{{{Row 1 info|No information}}}</div> | | |style="background:#FFFFFF"|{{{info2}}} |
| {{#if: {{{Row 2 title|}}}|
| | |- |
| {{!}}-
| | |valign="top" style="background:#D1BEF4"|'''<font color="black">{{{option3}}}</font>''' |
| {{!}}height="32" Width="30%" valign="top" style="background: {{{background color|#D1BEF4}}};"{{!}}
| | |style="background:#FFFFFF"|{{{info3}}} |
| <div style="top:+0.2em;font-size: 95%">'''{{{Row 2 title}}}'''</div> | | |- |
| {{!}}valign="top" style="background: #FFFFFF;"{{!}}
| | |valign="top" style="background:#D1BEF4"|'''<font color="black">{{{option4}}}</font>''' |
| <div style="top:+0.2em;font-size: 95%">{{{Row 2 info|No information}}}</div>
| | |style="background:#FFFFFF"|{{{info4}}} |
| {{#if: {{{Row 3 title|}}}|
| | |- |
| {{!}}-
| | |valign="top" style="background:#D1BEF4"|'''<font color="black">{{{option5}}}</font>''' |
| {{!}}height="32" Width="30%" valign="top" style="background: {{{background color|#D1BEF4}}};"{{!}}
| | |style="background:#FFFFFF"|{{{info5}}} |
| <div style="top:+0.2em;font-size: 95%">'''{{{Row 3 title}}}'''</div> | | |- |
| {{!}}valign="top" style="background: #FFFFFF;"{{!}}
| | |valign="top" style="background:#D1BEF4"|'''<font color="black">{{{option6}}}</font>''' |
| <div style="top:+0.2em;font-size: 95%">{{{Row 3 info|No information}}}</div>
| | |style="background:#FFFFFF"|{{{info6}}} |
| {{#if: {{{Row 4 title|}}}|
| | |- |
| {{!}}-
| | |valign="top" style="background:#D1BEF4"|'''<font color="black">{{{option7}}}</font>''' |
| {{!}}height="32" Width="30%" valign="top" style="background: {{{background color|#D1BEF4}}};"{{!}}
| | |style="background:#FFFFFF"|{{{info7}}} |
| <div style="top:+0.2em;font-size: 95%">'''{{{Row 4 title}}}'''</div> | | |- |
| {{!}}valign="top" style="background: #FFFFFF;"{{!}}
| | |valign="top" style="background:#D1BEF4"|'''<font color="black">{{{option8}}}</font>''' |
| <div style="top:+0.2em;font-size: 95%">{{{Row 4 info|No information}}}</div>
| | |style="background:#FFFFFF"|{{{info8}}} |
| {{#if: {{{Row 5 title|}}}|
| | |- |
| {{!}}-
| | |valign="top" style="background:#D1BEF4"|'''<font color="black">{{{option9}}}</font>''' |
| {{!}}height="32" Width="30%" valign="top" style="background: {{{background color|#D1BEF4}}};"{{!}}
| | |style="background:#FFFFFF"|{{{info9}}} |
| <div style="top:+0.2em;font-size: 95%">'''{{{Row 5 title}}}'''</div> | | |- |
| {{!}}valign="top" style="background: #FFFFFF;"{{!}}
| | |valign="top" style="background:#D1BEF4"|'''<font color="black">{{{option10}}}</font>''' |
| <div style="top:+0.2em;font-size: 95%">{{{Row 5 info|No information}}}</div>
| | |style="background:#FFFFFF"|{{{info10}}} |
| {{#if: {{{Row 6 title|}}}|
| | |} |
| {{!}}-
| |
| {{!}}height="32" Width="30%" valign="top" style="background: {{{background color|#D1BEF4}}};"{{!}}
| |
| <div style="top:+0.2em;font-size: 95%">'''{{{Row 6 title}}}'''</div> | |
| {{!}}valign="top" style="background: #FFFFFF;"{{!}}
| |
| <div style="top:+0.2em;font-size: 95%">{{{Row 6 info|No information}}}</div>
| |
| {{#if: {{{Row 7 title|}}}|
| |
| {{!}}-
| |
| {{!}}height="32" Width="30%" valign="top" style="background: {{{background color|#D1BEF4}}};"{{!}}
| |
| <div style="top:+0.2em;font-size: 95%">'''{{{Row 7 title}}}'''</div> | |
| {{!}}valign="top" style="background: #FFFFFF;"{{!}}
| |
| <div style="top:+0.2em;font-size: 95%">{{{Row 7 info|No information}}}</div>
| |
| {{#if: {{{Row 8 title|}}}|
| |
| {{!}}-
| |
| {{!}}height="32" Width="30%" valign="top" style="background: {{{background color|#D1BEF4}}};"{{!}}
| |
| <div style="top:+0.2em;font-size: 95%">'''{{{Row 8 title}}}'''</div> | |
| {{!}}valign="top" style="background: #FFFFFF;"{{!}}
| |
| <div style="top:+0.2em;font-size: 95%">{{{Row 8 info|No information}}}</div>
| |
| {{#if: {{{Row 9 title|}}}|
| |
| {{!}}-
| |
| {{!}}height="32" Width="30%" valign="top" style="background: {{{background color|#D1BEF4}}};"{{!}}
| |
| <div style="top:+0.2em;font-size: 95%">'''{{{Row 9 title}}}'''</div> | |
| {{!}}valign="top" style="background: #FFFFFF; border: 1px solid #aaaaaa"{{!}}
| |
| <div style="top:+0.2em;font-size: 95%">{{{Row 9 info|No information}}}</div>
| |
| {{#if: {{{Row 10 title|}}}|
| |
| {{!}}-
| |
| {{!}}height="32" Width="30%" valign="top" style="background: {{{background color|#D1BEF4}}};"{{!}}
| |
| <div style="top:+0.2em;font-size: 95%">'''{{{Row 10 title}}}'''</div>
| |
| {{!}}valign="top" style="background: #FFFFFF;"{{!}}
| |
| <div style="top:+0.2em;font-size: 95%">{{{Row 10 info|No information}}}</div>
| |
| {{#if: {{{Row 11 title|}}}|
| |
| {{!}}-
| |
| {{!}}height="32" colspan="2" align="center" valign="top" style="background: #aaaaaa;"{{!}}
| |
| Too many parameters
| |
| |
| |
| }}
| |
| |
| |
| }}
| |
| |
| |
| }}
| |
| |
| |
| }}
| |
| |
| |
| }}
| |
| |
| |
| }}
| |
| |
| |
| }}
| |
| |
| |
| }} | |
| | | |
| }} | |
| |
| |
| }}
| |
| |}
| |
| <noinclude>
| |
| | |
| | |
| | |
| | |
|
| |
|
| ==Usage== | | ==Usage== |
| Syntax:<br> | | Syntax:<br> |
| <code>'''<nowiki>{{</nowiki>Infobox'''<br /> | | <code>'''<nowiki>{{</nowiki>Infobox'''<br /> |
| '''|'''Box title = <br /> | | '''|'''boxtitle = <br /> |
| '''|'''Image file = <br />
| | '''|'''image = <br /> |
| '''|'''Image size = <br /> | | '''|'''option1 = <br /> |
| '''|'''Row 1 title = <br /> | | '''|'''info1 = <br /> |
| '''|'''Row 1 info = <br /> | | '''|'''option2 = <br /> |
| '''|'''Row 2 title = <br /> | | '''|'''info2 = <br /> |
| '''|'''Row 2 info = <br /> | | '''|'''option3 = <br /> |
| '''|'''Row 3 title = <br /> | | '''|'''info3 = <br /> |
| '''|'''Row 3 info = <br /> | | '''|'''option4 = <br /> |
| '''|'''Row 4 title = <br /> | | '''|'''info4 = <br /> |
| '''|'''Row 4 info = <br /> | | '''|'''option5 = <br /> |
| '''|'''Row 5 title = <br /> | | '''|'''info5 = <br /> |
| '''|'''Row 5 info = <br /> | | '''|'''option6 = <br /> |
| '''|'''Row 6 title = <br /> | | '''|'''info6 = <br /> |
| '''|'''Row 6 info = <br /> | | '''|'''option7 = <br /> |
| '''|'''Row 7 title = <br /> | | '''|'''info7 = <br /> |
| '''|'''Row 7 info = <br /> | | '''|'''option8 = <br /> |
| '''|'''Row 8 title = <br /> | | '''|'''info8 = <br /> |
| '''|'''Row 8 info = <br /> | | '''|'''option9 = <br /> |
| '''|'''Row 9 title = <br /> | | '''|'''info9 = <br /> |
| '''|'''Row 9 info = <br /> | | '''|'''option10 = <br /> |
| '''|'''Row 10 title = <br /> | | '''|'''info10 = <br /> |
| '''|'''Row 10 info = <br /> | |
| '''<nowiki>}}</nowiki>'''</code> | | '''<nowiki>}}</nowiki>'''</code> |
|
| |
|
| Notes:
| |
| * Keeping the '''Box Title''' empty will result in displaying '''No title'''
| |
| * If you don't want to display image, just keep '''Image file Name''' and '''Image Size''' empty.
| |
| * Keeping the '''Row 1 title''' empty will result in displaying '''No title'''.
| |
| * Keeping the '''Row (any row) info''' empty will result in displaying '''No information'''.
| |
| * Keeping the '''Row (any below row 1) title''' empty will result in that row and the rest of the rows below it will not be displayed.
| |
| * Max row for information: 10 rows.
| |
|
| |
| Usage examples are here: [[Wikia:template talk:Infobox]].
| |
|
| |
| To use this template, you must manually copy both: template:infobox and [[template:!]] to your wiki.
| |
|
| |
| {{wikia|template}}
| |
| [[Category:Templates|{{PAGENAME}}]] | | [[Category:Templates|{{PAGENAME}}]] |
| [[Category:Infoboxes|{{PAGENAME}}]] | | [[Category:Infoboxes|{{PAGENAME}}]] |
| </noinclude> | | </noinclude> |