Jump to content

Module talk:InfoboxImage: Difference between revisions

From Fifth Empire Wiki
m Error handling: typo fix
Line 54: Line 54:
:Any other suggestions would be welcome. There is also the task to roll it out to more infoboxes since I only did it to most of those that were using the {{tl|Hide if placeholder image}} template. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 21:55, 26 March 2013 (UTC)
:Any other suggestions would be welcome. There is also the task to roll it out to more infoboxes since I only did it to most of those that were using the {{tl|Hide if placeholder image}} template. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 21:55, 26 March 2013 (UTC)
::This looks good! I've updated the descriptions at [[User:John of Reading/Image errors]]. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 22:15, 26 March 2013 (UTC)
::This looks good! I've updated the descriptions at [[User:John of Reading/Image errors]]. -- [[User:John of Reading|John of Reading]] ([[User talk:John of Reading|talk]]) 22:15, 26 March 2013 (UTC)
== Suggestion: maximum size ==
I have a suggestion: some infoboxes (e.g., Infobox mountain) have a maximum size parameter for their image. Can someone add this feature to this module? I could try to figure out Lua syntax, but it may be faster for someone who knows what they are doing. —[[User:Hike395|hike395]] ([[User talk:Hike395|talk]]) 12:05, 29 March 2013 (UTC)

Revision as of 12:05, 29 March 2013

{{#invoke:InfoboxImage|InfoboxImage}}
{{#invoke:InfoboxImage|InfoboxImage|image=}}
{{#invoke:InfoboxImage|InfoboxImage|image=[[Image:Abbey Rd Studios.jpg|200px]]}} File:Abbey Rd Studios.jpg
{{#invoke:InfoboxImage|InfoboxImage|image=Abbey Rd Studios.jpg}} File:Abbey Rd Studios.jpg
{{#invoke:InfoboxImage|InfoboxImage|image=File:Abbey Rd Studios.jpg}} File:Abbey Rd Studios.jpg
{{#invoke:InfoboxImage|InfoboxImage|image=Image:Abbey Rd Studios.jpg}} File:Abbey Rd Studios.jpg
{{#invoke:InfoboxImage|InfoboxImage|image=Abbey Rd Studios.jpg|size=100px}} File:Abbey Rd Studios.jpg
{{#invoke:InfoboxImage|InfoboxImage|image=Abbey Rd Studios.jpg|size=100}} File:Abbey Rd Studios.jpg
{{#invoke:InfoboxImage|InfoboxImage|image=Abbey Rd Studios.jpg|sizedefault=250px|alt=The front stairs and door of Abbey Road Studios}} The front stairs and door of Abbey Road Studios
{{#invoke:InfoboxImage|InfoboxImage|image=Abbey Rd Studios.jpg|alt=The front stairs and door of Abbey Road Studios}} The front stairs and door of Abbey Road Studios
{{#invoke:InfoboxImage|InfoboxImage|image=Abbey Rd Studios.jpg|size=100px|alt=The front stairs and door of Abbey Road Studios}} The front stairs and door of Abbey Road Studios
{{#invoke:InfoboxImage|InfoboxImage|image=Bilbao.svg|size=100|border=yes}} File:Bilbao.svg
{{#invoke:InfoboxImage|InfoboxImage|image=Replace this image male.svg|suppressplaceholder=yes}}
{{#invoke:InfoboxImage|InfoboxImage|image=[[Image:replace this image male.svg|200px]]|suppressplaceholder=yes}}

Error handling

I've listed some common infobox errors at User:John of Reading/Image errors. Anyone interested in this LUA module might like to take a look. -- John of Reading (talk) 10:02, 26 March 2013 (UTC)

I've done some work on this. Have done the following:
Any other suggestions would be welcome. There is also the task to roll it out to more infoboxes since I only did it to most of those that were using the {{Hide if placeholder image}} template. -- WOSlinker (talk) 21:55, 26 March 2013 (UTC)
This looks good! I've updated the descriptions at User:John of Reading/Image errors. -- John of Reading (talk) 22:15, 26 March 2013 (UTC)

Suggestion: maximum size

I have a suggestion: some infoboxes (e.g., Infobox mountain) have a maximum size parameter for their image. Can someone add this feature to this module? I could try to figure out Lua syntax, but it may be faster for someone who knows what they are doing. —hike395 (talk) 12:05, 29 March 2013 (UTC)