Template:Infobox bear: Difference between revisions

From The Build-A-Bear Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
(Corrected text wrapping issue, centered image caption, added decat=y)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{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==
==Usage==
* Inserts a right-floating infobox with a few set optional parameters.
* 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.
* 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:
Full blank:
<pre>{{Infobox bear
<pre>{{Infobox bear
Line 8: Line 25:
|image=[[File:|center|250px]]
|image=[[File:|center|250px]]
|caption=
|caption=

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

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

|price=
|price=
|tag_name=
|tag_name=
|SKU=
|SKU=
}}</pre>
}}</pre>
Example:
<pre>{{Infobox bear

|image=[[File:Example.jpg|center|250px]]
|caption=Sample caption
|release=October 26, 1997
|countries=US, UK, DK
|height=10 inches
|weight=6 ounces
|fur=Brown
|eyes=Black
|price=$15 (USD)
|tag_name=SAMPLE BEAR
|SKU= 000001
}}</pre>
gives
{{Infobox bear

|image=[[File:Example.jpg|center|250px]]
|caption=Sample caption
|release=October 26, 1997
|countries=US, UK, DK
|height=10 inches
|weight=6 ounces
|fur=Brown
|eyes=Black
|price=$15 (USD)
|tag_name=SAMPLE BEAR
|SKU= 000001
}}
* Additional bears ca
</noinclude>
</noinclude>
<includeonly>{{Infobox
<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 = Also known as | data1 = {{{nicknames|}}}
| label1 = Also known as | data1 = {{{nicknames|}}}

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=
}}