Template talk:TFLcontent

Pre or plain

The problem with

 tags is that they don't wrap long lines and require considerable horizontal scrolling to see the content, very much deprecated by modern web designers. The dotted-border div that the wiki-software adds (and then allows the text to go beyond) is another aberration that needs consigning to the dustbin of failed web design.

For anything that's meant to be an example, 'pre' is an epic fail. I'll restore the example to a more amenable format. --RexxS (talk) 13:54, 30 May 2011 (UTC)

:white-space: pre-wrap; has been repeatedly proposed but rejected. Anyway, for lack of anything better, this will have to do. Edokter (talk) — 17:49, 8 December 2011 (UTC)

Use Module:Main page image

{{edit fully-protected|answered=yes}}

See Talk:Main Page#Plan for implementation for more detail. I have tested this at Template:TFLcontent/sandbox. See results at Template:TFLcontent/testcases.

Request: Replace 120x120px

:with {{#invoke:Main_page_image|width|{{Remove file prefix|{{{image|{{{1|Example-serious.jpg}}}}}}}}}}

{{u|ProcrastinatingReader}}, please check above request for accuracy. --- C&C (Coffeeandcrumbs) 12:07, 26 July 2020 (UTC)

:Mostly looks good to me! Just a small note that this template doesn't accept unnamed params (or have a default image for viewing it here), so it shouldn't need the {{{1|Example-serious.jpg}}}}}} part. I've applied this change to the sandbox. ProcrastinatingReader (talk) 13:13, 26 July 2020 (UTC)

::{{u|ProcrastinatingReader}}, thanks!

::

::To template editor, please:

::

::Replace 120x120px

:::with {{#invoke:Main_page_image|width|{{Remove file prefix|{{{image}}}}}}} --- C&C (Coffeeandcrumbs) 14:41, 26 July 2020 (UTC)

:File:Yes check.svg Done — Martin (MSGJ · talk) 14:33, 2 August 2020 (UTC)

Spillover

Follow up from WP:ERRORS. Seems like this may be a recurring problem, that when there is a portrait oriented image here it can spill over in to the next section. Ping to {{ping|Giants2008}} that works in this area much more than me for any input. I added a section clearing break in to Wikipedia:Today's featured list/June 13, 2022 as an immediate one-day fix, but this may need more long-term solutions. — xaosflux Talk 15:25, 13 June 2022 (UTC)

:This may be related to changes in Wikipedia:Main Page/styles.css - I left a message at User talk:Izno to ask up on this as a first step. — xaosflux Talk 23:51, 13 June 2022 (UTC)