This wiki is still a major work in progress, and a lot is being worked on. Please be patient. —Newmaker
Difference between revisions of "Template:Infobox"
m (Remove extra spaces) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
| width = {{#if: {{{imagewidth|}}} | {{{imagewidth}}} | 320px }} | | width = {{#if: {{{imagewidth|}}} | {{{imagewidth}}} | 320px }} | ||
| caption= {{{imagecaption|}}} | | caption= {{{imagecaption|}}} | ||
− | }} | + | }}<br>{{{imagecaption|}}}{{#if: {{{image2|}}} | <div style='margin: 0.5em 0;'>{{imageexists |
− | <br>{{{imagecaption|}}} | ||
− | |||
− | {{#if: {{{image2|}}} | {{imageexists | ||
| file = {{#if: {{{image2|}}} | {{{image2}}} | {{PAGENAMEE}}-image2.png }} | | file = {{#if: {{{image2|}}} | {{{image2}}} | {{PAGENAMEE}}-image2.png }} | ||
| width = {{#if: {{{image2width|}}} | {{{image2width}}} | }} | | width = {{#if: {{{image2width|}}} | {{{image2width}}} | }} | ||
| caption= {{{image2caption|}}} | | caption= {{{image2caption|}}} | ||
− | }}<br>{{{image2caption|}}} | + | }}<br>{{{image2caption|}}}</div> |
}} | }} | ||
− | |||
|-class="breakouttitle" | |-class="breakouttitle" | ||
! ''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}'' | ! ''{{ #if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}'' | ||
Line 21: | Line 17: | ||
{{{content|}}} | {{{content|}}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
− | |||
{{infobox | {{infobox | ||
− | |image= | + | |image=EvenCareLobby.png |
|imagewidth= | |imagewidth= | ||
− | |imagecaption= | + | |imagecaption=A sample caption |
− | |image2= | + | |image2=EvenCareLobbyIcon.png |
|image2width=50px | |image2width=50px | ||
|image2caption= | |image2caption= | ||
− | |title= | + | |title=The Infobox Template |
− | |content= | + | |content=Technically it's several boxes, but who's counting? |
}} | }} | ||
+ | |||
+ | It's an infobox! It's how you describe things that need info, in a box. | ||
==Usage== | ==Usage== | ||
Line 47: | Line 44: | ||
</pre> | </pre> | ||
− | [[Category: | + | [[Category:Infobox templates|*]]</noinclude> |