Template:Infobox bear: Difference between revisions
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> |
||
⚫ | |||
⚫ | |||
⚫ | |||
|nicknames=Example infobox |
|||
⚫ | |||
|retired=January 1, 3001 |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
==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 |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}}</pre> |
|||
gives |
|||
⚫ | |||
|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
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= }}