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
 
(2 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|}}}
}}{{{image2caption|}}}
+
}}<br>{{{image2caption|}}}</div>
 
}}
 
}}
 
|-class="breakouttitle"
 
|-class="breakouttitle"
Line 18: Line 17:
 
{{{content|}}}
 
{{{content|}}}
 
|}</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?
 
}}
 
}}
 +
 +
It's an infobox! It's how you describe things that need info, in a box.
  
 
==Usage==
 
==Usage==
Line 41: Line 44:
 
</pre>
 
</pre>
  
[[Category:Templates]]</noinclude>
+
[[Category:Infobox templates|*]]</noinclude>

Latest revision as of 00: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=
}}