Content deleted Content added
Use is discouraged per WP:THUMBSIZE; see {{Para|upright}} below instead. |
mNo edit summary |
||
(9 intermediate revisions by 8 users not shown) | |||
Line 35:
|-
| upright
| If upright=yes, adds "upright" which displays image at 75% of default image size (which is
|-
| center
Line 54:
Note: If you specify the maxsize or sizedefault params, then you should include the px after the number.
==Parameters displayed in image syntax==
Line 71 ⟶ 69:
When "size" and "sizedefault" are not defined, "maxsize" is used (in actual use "px" is required after the number; omitted here to show it is not added by the module):
:<syntaxhighlight lang="wikitext" style="overflow:auto;">{{#invoke:InfoboxImage | InfoboxImage | image={{{image}}} | maxsize=
:<code>{{#invoke:InfoboxImage | InfoboxImage | image={{{image}}} | maxsize=
When "size", "sizedefault", and "maxsize" are not defined, "frameless" is added, which displays the image at the default thumbnail size (
:<syntaxhighlight lang="wikitext" style="overflow:auto;">{{#invoke:InfoboxImage | InfoboxImage | image={{{image}}} }}</syntaxhighlight>
:<code>{{#invoke:InfoboxImage | InfoboxImage | image={{{image}}} }}</code>
Line 121 ⟶ 119:
| {{#invoke:InfoboxImage|InfoboxImage|image=Abbey Rd Studios.jpg|size=100px}}
|-
| {{mlx|InfoboxImage|InfoboxImage|image{{=}}{{elc|
| {{#invoke:InfoboxImage|InfoboxImage|image=[[
|-
| {{mlx|InfoboxImage|InfoboxImage|image{{=}}{{elc|
| {{#invoke:InfoboxImage|InfoboxImage|image=[[
|-
| {{mlx|InfoboxImage|InfoboxImage|image{{=}}Abbey Rd Studios.jpg|sizedefault{{=}}250px|alt{{=}}The front stairs and door of Abbey Road Studios}}
Line 148 ⟶ 146:
| {{#invoke:InfoboxImage|InfoboxImage|image=Image is needed male.svg}}
|-
| {{mlx|InfoboxImage|InfoboxImage|image{{=}}Image is needed male.svg|suppressplaceholder{{=}}no}}
| {{#invoke:InfoboxImage|InfoboxImage|image=Image is needed male.svg|suppressplaceholder=no}}
|-
Line 171 ⟶ 169:
| {{mlx|InfoboxImage|InfoboxImage|image{{=}}no such image|maxsize{{=}}100px|center{{=}}yes}}<!-- this issue sh'd be fixed somewhow-->
| {{#invoke:InfoboxImage|InfoboxImage|image=no such image|maxsize=100px|center=yes}}
| {{mlx|InfoboxImage|InfoboxImage|image{{=}}{{tji|Multiple image|width: 60|image1: Yellow card.svg|image2: Red card.svg}}}}
| {{#invoke:InfoboxImage|InfoboxImage|image={{multiple image|width=50|image1=Yellow card.svg|image2=Red card.svg}}}}
|}
== Placeholder images which can be suppressed ==
{{div col|colwidth=22em}}
* [[:File:Blue - replace this image female.svg]]
* [[:File:Blue - replace this image male.svg]]
* [[:File:Male no free image yet.png]]
* [[:File:Flag of None (square).svg]]
Line 196 ⟶ 195:
* [[:File:Red - replace this image female.svg]]
* [[:File:Red - replace this image male.svg]]
* [[:File:Replace this image female.svg]]
* [[:File:Replace this image male (blue).svg]]
Line 212 ⟶ 210:
* [[:File:NoDVDcover copy.png]]
* [[:File:Noribbon.svg]]
* [[:File:No portrait-BFD-test.svg]]
* [[:File:Placeholder barnstar ribbon.png]]
Line 247 ⟶ 244:
* [[:File:Project Trains no image.png]]
* [[:File:Image-request.png]]
{{div col end}}
▲|}
== Tracking categories ==
* {{clc|Pages using infoboxes with thumbnail images}}
* {{clc|Pages using infoboxes with URL in image parameter}}
<includeonly>{{Sandbox other||
Line 257 ⟶ 255:
[[Category:Modules that add a tracking category]]
[[Category:Infobox modules]]
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>
|