Xenwolf (talk | contribs)
Line 709: Line 709:


You might want to check my sandbox and comment on my latest tests. The template ''temperament data'' is something similar to infobox interval and et. The ''collapsed box'' is nothing but a general formatting device. Let me know if either of them makes anything better. [[User:FloraC|FloraC]] ([[User talk:FloraC|talk]]) 05:59, 31 January 2021 (UTC)
You might want to check my sandbox and comment on my latest tests. The template ''temperament data'' is something similar to infobox interval and et. The ''collapsed box'' is nothing but a general formatting device. Let me know if either of them makes anything better. [[User:FloraC|FloraC]] ([[User talk:FloraC|talk]]) 05:59, 31 January 2021 (UTC)
: The problem occurs whenever pipe chars (<code><nowiki>|</nowiki></code>)are passed to a template. Replacing pipes by <code><nowiki>{{!}}</nowiki></code> each will solve the problem. See following example:
<div style="margin-left: 1.5em; padding: 0 0.5em; border: 1px solid #ddf; background-color: #fafafa">
{{User:FloraC/Collapsed box
| title="bla"
| text=
{{{!}} class="wikitable"
! head1
! head2
{{!}}-
{{!}} cell1
{{!}} cell2
{{!}}-
{{!}} cell3
{{!}} cell4
{{!}}}
}}
</div>
: This, of course, defeats the idea of making collapsible content easier to write. If we'd automatically produce ''Approximate ratios'' from mapping and odd-limit, this could be solved by generating HTML tables with Lua. --[[User:Xenwolf|Xenwolf]] ([[User talk:Xenwolf|talk]]) 12:29, 31 January 2021 (UTC)