Difference between revisions of "Template:Sidebox"
Jump to navigation
Jump to search
(Created page with "<includeonly> {| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%; border: 5px black solid; float: right; margin: 1em; margin-top: 1px; margin-lef...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | Basic sidebox template. Used by other sidebox templates. | ||
+ | Example: | ||
+ | <pre>{{Sidebox | ||
+ | |name=Billy Bats | ||
+ | |image=BillyBrujah.jpg | ||
+ | |box_header=Mafia | ||
+ | |label1=Family | ||
+ | |data1=Corleone | ||
+ | |label2=Sect | ||
+ | |data2=The Borough Families | ||
+ | |label3=City | ||
+ | |data3=NYC | ||
+ | |label4=Status | ||
+ | |data4=Witness Protection | ||
+ | |player=Joe | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | {{Sidebox | ||
+ | |name=Billy Bats | ||
+ | |image=BillyBrujah.jpg | ||
+ | |box_header=Mafia | ||
+ | |label1=Family | ||
+ | |data1=Corleone | ||
+ | |label2=Sect | ||
+ | |data2=The Borough Families | ||
+ | |label3=City | ||
+ | |data3=NYC | ||
+ | |label4=Status | ||
+ | |data4=Witness Protection | ||
+ | |player=Joe | ||
+ | }}</noinclude> | ||
<includeonly> | <includeonly> | ||
{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%; border: 5px black solid; float: right; margin: 1em; margin-top: 1px; margin-left: 1px; -moz-border-radius: 12px; " | {| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%; border: 5px black solid; float: right; margin: 1em; margin-top: 1px; margin-left: 1px; -moz-border-radius: 12px; " | ||
− | | colspan="2" style="text-align:center; font-size: large;" | + | {{#if: {{{name|}}}|{{!}} colspan="2" style="text-align:center; font-size: large;" {{!}}'''{{{name}}}''' |
− | | | + | {{!}}-|}} |
− | | colspan="2" style="text-align:center; font-size: large;" | + | {{#if: {{{box_header|}}}|{{!}} colspan="2" style="text-align:center; font-size: large;" {{!}}'''{{{box_header}}}''' |
− | | | + | {{!}}-|}} |
− | | colspan="2" style="text-align:center;" | {{#if: {{{ | + | {{#if: {{{image|}}}|{{!}} colspan="2" style="text-align:center;" {{!}}[[Image:{{{image}}}|200x200px]] |
− | |- | + | {{!}}-|}} |
− | ! '''{{{ | + | {{#if: {{{label1|}}}|{{!}}- |
− | | {{{ | + | ! '''{{{label1}}}:''' |
− | |- | + | {{!}} {{{data1}}}|}} |
− | ! '''{{{ | + | {{#if: {{{label2|}}}|{{!}}- |
− | | {{{ | + | ! '''{{{label2}}}:''' |
− | |- | + | {{!}} {{{data2}}}|}} |
− | ! '''{{{ | + | {{#if: {{{label3|}}}|{{!}}- |
− | | {{{ | + | ! '''{{{label3}}}:''' |
− | |- | + | {{!}} {{{data3}}}|}} |
− | ! '''{{{ | + | {{#if: {{{label4|}}}|{{!}}- |
− | + | ! '''{{{label4}}}:''' | |
+ | {{!}} {{{data4}}}|}} | ||
+ | {{#if: {{{label5|}}}|{{!}}- | ||
+ | ! '''{{{label5}}}:''' | ||
+ | {{!}} {{{data5}}}|}} | ||
|} | |} | ||
</includeonly> | </includeonly> |
Latest revision as of 13:53, 22 July 2019
Basic sidebox template. Used by other sidebox templates. Example:
{{Sidebox |name=Billy Bats |image=BillyBrujah.jpg |box_header=Mafia |label1=Family |data1=Corleone |label2=Sect |data2=The Borough Families |label3=City |data3=NYC |label4=Status |data4=Witness Protection |player=Joe }}
Billy Bats | |
Mafia | |
Family: | Corleone |
---|---|
Sect: | The Borough Families |
City: | NYC |
Status: | Witness Protection |