Template talk:Collapse/Archive 1
This is an archive of past discussions about Template:Collapse. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 |
Collapse inside an indented table
On Jimbo's talk page there is an examples where a collaspe block inside a table.
::<table><tr><td>{{sources-talk}}</table>
This uses {{sources-talk}} which basically calls {{collapse}}. The problem is text after the block becomes indented. A minimal falling example is
Foo ::<table><tr><td>{{collapse|title=dummy title|dummy text}}</td></tr></table> Bar
Giving
Foo
Note: removed to fix Linter error that catches exactly this issue. Elli (talk | contribs) 06:50, 5 April 2021 (UTC)
Bar
--Salix alba (talk): 08:43, 23 July 2018 (UTC)
This might be a problem with the parse rather than the template code, so I've asked the question at Wikipedia:Village_pump_(technical)#Collapse inside an indented table.--Salix alba (talk): 08:57, 23 July 2018 (UTC)
See also Template:Quote#Limitations (some of which is transcluded documentation usable for any block-element template). This may already be covered (in general if not in particulars) there. — SMcCandlish ☏ ¢ 😼 19:30, 23 July 2018 (UTC)
- Salix alba: Your above example between "Foo" and "Bar" is a Multiline table in list lint error, and the page will be indented from there on down. Now you know. This markup needs to be avoided. —Anomalocaris (talk) 06:50, 24 February 2020 (UTC)