Template talk:Infobox event

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Add link parameter to infoxbox image?[edit]

Looking to add Help:Pictures#Links to infobox image. I think this change would do it, but I don't edit templates often and make frequent errors, so please double-check me.

Replace:

| image2     = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_name|{{{Image_Name|}}}}}}}}|size={{{image_size|{{{Imagesize|}}}}}}|sizedefault=frameless|upright={{{image_upright|1.1}}}|thumbtime={{{thumbtime|{{{Thumb_Time|}}}}}}|alt={{{alt|{{{image_alt|{{{Image_Alt|}}}}}}}}}}}

With:

| image2     = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_name|{{{Image_Name|}}}}}}}}|size={{{image_size|{{{Imagesize|}}}}}}|sizedefault=frameless|upright={{{image_upright|1.1}}}|thumbtime={{{thumbtime|{{{Thumb_Time|}}}}}}|alt={{{alt|{{{image_alt|{{{Image_Alt|}}}}}}}}}}}|link={{{link}}}

Feoffer (talk) 01:55, 29 January 2024 (UTC)[reply]

Looks like you've got the close braces in the wrong place. Where do you want the links to point to and why? — Martin (MSGJ · talk) 12:56, 29 January 2024 (UTC)[reply]
Except in very narrow circumstances, images should not have a custom link override. If the subject in the image (or the image itself) has an article, link to it in the caption. You want to have the cropped version of the Roswell Daily Record, but still link to the full picture. I personally would restore the picture of the front page, which doesn't require linking to it in the caption, with |image=, or on the Commons file page. SWinxy (talk) 04:21, 30 January 2024 (UTC)[reply]
 Not done for now: please establish a consensus for this alteration before using the {{Edit template-protected}} template. Also, the sandbox and the testcases page should be unprotected if you want to test your code. – Jonesey95 (talk) 14:11, 31 January 2024 (UTC)[reply]

Module parameter[edit]

The parameter |module= triggers the error category, but still works.--Auric talk 23:13, 12 March 2024 (UTC)[reply]

Template-protected edit request on 6 May 2024[edit]

Please add "module" to the list of parameters checked for with "check for unknown parameters". Thanks! Phuzion (talk) 14:33, 6 May 2024 (UTC)[reply]

 Done — Martin (MSGJ · talk) 19:51, 6 May 2024 (UTC)[reply]