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"

From Petscop
Jump to: navigation, search
 
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|}}} | <br><br>{{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"
Line 19: Line 18:
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
{{infobox
 
{{infobox
|image=GiftPlaneEntry.png
+
|image=EvenCareLobby.png
 
|imagewidth=
 
|imagewidth=
|imagecaption=
+
|imagecaption=A sample caption
|title=Gift Plane
+
|image2=EvenCareLobbyIcon.png
|content=
+
|image2width=50px
 +
|image2caption=
 +
|title=The Infobox Template
 +
|content=Technically it's several boxes, but who's counting?
 
}}
 
}}
  

Latest revision as of 01:52, 18 November 2018

A sample caption
A sample caption
EvenCareLobbyIcon.png
The Infobox Template

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

{{infobox
|image=
|imagewidth=
|imagecaption=
|image2=
|image2width=
|image2caption=
|title=
|content=
}}