Template:Infobox: Difference between revisions

From Pantonian Republic Wiki
Jump to navigation Jump to search
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
{{#invoke:Infobox|infobox}}<noinclude>
{{documentation}}
 
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
Uses [[Module:Infobox|Wikipedia infobox]]
 
{{Infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border: 1px solid #eaecf0;
background: #f8f9fa;
 
 
| title  = title
| above  = above
| subheader = subheader
| subheader2 = subheader2 <br> ―—
 
| image = image
| caption = caption
| image2 = image2
| caption2 = caption2 <br> ―—
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3 <br> ―—
 
| below  = below
}}
 
<pre>
{{Infobox
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
</pre>
 
 
<br clear=all>
; bodystyle
{{Infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border: 1px solid #eaecf0;
 
background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
 
<pre>
{{Infobox
| bodystyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
</pre>
 
 
<br clear=all>
; titlestyle
{{Infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border: 1px solid #eaecf0;
background: #f8f9fa;
 
 
| titlestyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
 
<pre>
{{Infobox
| titlestyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
</pre>
 
 
<br clear=all>
; abovestyle
{{Infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border: 1px solid #eaecf0;
background: #f8f9fa;
 
 
| abovestyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
 
<pre>
{{Infobox
| abovestyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
</pre>
 
 
<br clear=all>
; imagestyle
{{Infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border: 1px solid #eaecf0;
background: #f8f9fa;
 
 
| imagestyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
 
<pre>
{{Infobox
| imagestyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
</pre>
 
 
<br clear=all>
; captionstyle
{{Infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border: 1px solid #eaecf0;
background: #f8f9fa;
 
 
| captionstyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
 
<pre>
{{Infobox
| captionstyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
</pre>
 
 
<br clear=all>
; rowstyle
{{Infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border: 1px solid #eaecf0;
background: #f8f9fa;
 
 
| rowstyle2 = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
 
<pre>
{{Infobox
| rowstyle2 = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
</pre>
 
 
<br clear=all>
; headerstyle
{{Infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border: 1px solid #eaecf0;
background: #f8f9fa;
 
 
| headerstyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
 
<pre>
{{Infobox
| headerstyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
</pre>
 
 
<br clear=all>
; labelstyle
{{Infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border: 1px solid #eaecf0;
background: #f8f9fa;
 
 
| labelstyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
 
<pre>
{{Infobox
| labelstyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
</pre>
 
 
<br clear=all>
; datastyle
{{Infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border: 1px solid #eaecf0;
background: #f8f9fa;
 
 
| datastyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
 
<pre>
{{Infobox
| datastyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
</pre>
 
 
<br clear=all>
; belowstyle
{{Infobox
| bodystyle =
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border: 1px solid #eaecf0;
background: #f8f9fa;
 
 
| belowstyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
 
<pre>
{{Infobox
| belowstyle = background:beige
 
| title  = title
| above  = above
| subheader  = subheader
| subheader2 = subheader2
 
| image    = image
| caption  = caption
| image2  = image2
| caption2 = caption2
 
| header1 = header1
| label2  = label2
| data2  = data2
 
| data3  = data3
 
| below  = below
}}
</pre>
 
</noinclude>
</noinclude>

Latest revision as of 14:25, 16 May 2023


Uses Wikipedia infobox

title
above
subheader
subheader2
―—
image
caption
image2
caption2
―—
header1
label2data2
data3
―—
below
{{Infobox
 | title  = title
 | above  = above
 | subheader  = subheader
 | subheader2 = subheader2

 | image    = image
 | caption  = caption
 | image2   = image2
 | caption2 = caption2

 | header1 = header1
 | label2  = label2
 | data2   = data2

 | data3   = data3

 | below   = below
}}



bodystyle
title
above
subheader
subheader2
image
caption
image2
caption2
header1
label2data2
data3
below
{{Infobox
 | bodystyle = background:beige

 | title  = title
 | above  = above
 | subheader  = subheader
 | subheader2 = subheader2

 | image    = image
 | caption  = caption
 | image2   = image2
 | caption2 = caption2

 | header1 = header1
 | label2  = label2
 | data2   = data2

 | data3   = data3

 | below   = below
}}



titlestyle
title
above
subheader
subheader2
image
caption
image2
caption2
header1
label2data2
data3
below
{{Infobox
 | titlestyle = background:beige

 | title  = title
 | above  = above
 | subheader  = subheader
 | subheader2 = subheader2

 | image    = image
 | caption  = caption
 | image2   = image2
 | caption2 = caption2

 | header1 = header1
 | label2  = label2
 | data2   = data2

 | data3   = data3

 | below   = below
}}



abovestyle
title
above
subheader
subheader2
image
caption
image2
caption2
header1
label2data2
data3
below
{{Infobox
 | abovestyle = background:beige

 | title  = title
 | above  = above
 | subheader  = subheader
 | subheader2 = subheader2

 | image    = image
 | caption  = caption
 | image2   = image2
 | caption2 = caption2

 | header1 = header1
 | label2  = label2
 | data2   = data2

 | data3   = data3

 | below   = below
}}



imagestyle
title
above
subheader
subheader2
image
caption
image2
caption2
header1
label2data2
data3
below
{{Infobox
 | imagestyle = background:beige

 | title  = title
 | above  = above
 | subheader  = subheader
 | subheader2 = subheader2

 | image    = image
 | caption  = caption
 | image2   = image2
 | caption2 = caption2

 | header1 = header1
 | label2  = label2
 | data2   = data2

 | data3   = data3

 | below   = below
}}



captionstyle
title
above
subheader
subheader2
image
caption
image2
caption2
header1
label2data2
data3
below
{{Infobox
 | captionstyle = background:beige

 | title  = title
 | above  = above
 | subheader  = subheader
 | subheader2 = subheader2

 | image    = image
 | caption  = caption
 | image2   = image2
 | caption2 = caption2

 | header1 = header1
 | label2  = label2
 | data2   = data2

 | data3   = data3

 | below   = below
}}



rowstyle
title
above
subheader
subheader2
image
caption
image2
caption2
header1
label2data2
data3
below
{{Infobox
 | rowstyle2 = background:beige

 | title  = title
 | above  = above
 | subheader  = subheader
 | subheader2 = subheader2

 | image    = image
 | caption  = caption
 | image2   = image2
 | caption2 = caption2

 | header1 = header1
 | label2  = label2
 | data2   = data2

 | data3   = data3

 | below   = below
}}



headerstyle
title
above
subheader
subheader2
image
caption
image2
caption2
header1
label2data2
data3
below
{{Infobox
 | headerstyle = background:beige

 | title  = title
 | above  = above
 | subheader  = subheader
 | subheader2 = subheader2

 | image    = image
 | caption  = caption
 | image2   = image2
 | caption2 = caption2

 | header1 = header1
 | label2  = label2
 | data2   = data2

 | data3   = data3

 | below   = below
}}



labelstyle
title
above
subheader
subheader2
image
caption
image2
caption2
header1
label2data2
data3
below
{{Infobox
 | labelstyle = background:beige

 | title  = title
 | above  = above
 | subheader  = subheader
 | subheader2 = subheader2

 | image    = image
 | caption  = caption
 | image2   = image2
 | caption2 = caption2

 | header1 = header1
 | label2  = label2
 | data2   = data2

 | data3   = data3

 | below   = below
}}



datastyle
title
above
subheader
subheader2
image
caption
image2
caption2
header1
label2data2
data3
below
{{Infobox
 | datastyle = background:beige

 | title  = title
 | above  = above
 | subheader  = subheader
 | subheader2 = subheader2

 | image    = image
 | caption  = caption
 | image2   = image2
 | caption2 = caption2

 | header1 = header1
 | label2  = label2
 | data2   = data2

 | data3   = data3

 | below   = below
}}



belowstyle
title
above
subheader
subheader2
image
caption
image2
caption2
header1
label2data2
data3
below
{{Infobox
 | belowstyle = background:beige

 | title  = title
 | above  = above
 | subheader  = subheader
 | subheader2 = subheader2

 | image    = image
 | caption  = caption
 | image2   = image2
 | caption2 = caption2

 | header1 = header1
 | label2  = label2
 | data2   = data2

 | data3   = data3

 | below   = below
}}