Template:Infobox bear: Difference between revisions

From The Build-A-Bear Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Infobox | above = {{PAGENAME}} | image = {{{image|}}} | caption1 = {{{caption|}}} | autoheaders = y | headerstyle = background:lightgrey | label1 = Release | data1 = {{{release|}}} | label2 = Availability | data2 = {{{countries|}}} | header3 = Traits | label4 = Height | data4 = {{{height|}}} | label5 = Weight | data5 = {{{weight|}}} | label6 = Fur Color | data6 = {{{fur|}}} | label7 = Eye Color | data6 = {{{eyes|}}} | header8 =...")
 
(Corrected text wrapping issue, centered image caption, added decat=y)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
{{Infobox
{{Infobox bear

|image=[[File:Example.jpg|center|250px]]
|caption=Sample caption
|nicknames=Example infobox
|release=October 26, 1997
|retired=January 1, 3001
|countries=US, UK, AU
|height=10 inches
|weight=6 ounces
|fur=Brown
|eyes=Black
|price=$15 (USD)
|tag_name=SAMPLE BEAR
|SKU= 000001
}}
==Usage==
* Inserts a right-floating infobox with a few set optional parameters.
* All fields are technically optional; when all the fields under a given header are missing then the header will also not show up on the visible infobox.
*
Full blank:
<pre>{{Infobox bear

|image=[[File:|center|250px]]
|caption=

|nicknames=
|release=
|retired=
|countries=

|height=
|weight=
|fur=
|eyes=

|price=
|tag_name=
|SKU=
}}</pre>
</noinclude>
<includeonly>{{Infobox
| above = {{PAGENAME}}
| above = {{PAGENAME}}
| image = {{{image|}}}
| image = {{{image|}}}
| captionstyle = text-align: center
| caption1 = {{{caption|}}}
| caption1 = {{{caption|}}}
| autoheaders = y
| autoheaders = y
| headerstyle = background:lightgrey
| headerstyle = background:lightgrey
| decat = y
| bodystyle = width:22em


| label1 = Release | data1 = {{{release|}}}
| label1 = Also known as | data1 = {{{nicknames|}}}
| label2 = Availability | data2 = {{{countries|}}}
| label2 = Introduced | data2 = {{{release|}}}
| label3 = Retired | data3 = {{{retired|}}}
| label4 = Countries | data4 = {{{countries|}}}


| header3 = Traits
| header5 = Traits
| label4 = Height | data4 = {{{height|}}}
| label6 = Height | data6 = {{{height|}}}
| label5 = Weight | data5 = {{{weight|}}}
| label7 = Weight | data7 = {{{weight|}}}
| label6 = Fur Color | data6 = {{{fur|}}}
| label8 = Fur Color | data8 = {{{fur|}}}
| label7 = Eye Color | data6 = {{{eyes|}}}
| label9 = Eye Color | data9 = {{{eyes|}}}


| header8 = Stats
| header10 = Stats
| label9 = Original Retail Value | data9 = {{{price|}}}
| label11 = Original retail value | data11 = {{{price|}}}
| label10 = Tag name | data10 = {{{tag_name|}}}
| label12 = Tag name | data12 = {{{tag_name|}}}
| label11 = SKU(s) | data11 = {{{SKU|}}}
| label13 = SKU(s) | data13 = {{{SKU|}}}
}}</includeonly>
}}

Latest revision as of 11:02, 30 December 2023


Infobox bear
Sample caption
Also known asExample infobox
IntroducedOctober 26, 1997
RetiredJanuary 1, 3001
CountriesUS, UK, AU
Traits
Height10 inches
Weight6 ounces
Fur ColorBrown
Eye ColorBlack
Stats
Original retail value$15 (USD)
Tag nameSAMPLE BEAR
SKU(s)000001

Usage

  • Inserts a right-floating infobox with a few set optional parameters.
  • All fields are technically optional; when all the fields under a given header are missing then the header will also not show up on the visible infobox.

Full blank:

{{Infobox bear

|image=[[File:|center|250px]]
|caption=

|nicknames=
|release=
|retired=
|countries=

|height=
|weight=
|fur=
|eyes=

|price=
|tag_name=
|SKU=
}}