Nope that didn't work, gave this output: http://i.imgur.com/rhmOhPe.png.
On 6/03/2015 10:50 AM, Ricordisamoa wrote:
Il 04/03/2015 08:32, Brenton Horne ha scritto:
Hi,
I used to include something like:
|{{{!}} class = "mw-collapsible mw-collapsed wikitable"|| || ! {{{content name|}}} || ||{{!}}- || ||{{!}} {{{content|}}} || ||{{!}}}|
Not sure, but "{{{!}}" and "{{!}}}" should probably be "{{!}}"...
||
in infoboxes where content is too large to include the normal way but this used to cause parsing problems often leaving a right brace } after the collapsed content. Now I use:| |
|<div class = "mw-collapsible mw-collapsed" style = "width:{{{col_width|220}}}px;">{{{content|}}}</div>| ||
as it doesn't seem to come with the same issues but I would like to know if there's an automated way of setting the |col_width| to the width of the column it is included in. I tried:
|{{#expr:{{{width|300}}}-{{{titlew|80}}}}}px||| ||
(where width is the width of the box and titlew is the width of the 1st [label] column; the nos are their defaults) but it seemed to get the whole thing (i.e., the <div class.../div> object) invisible. Any ideas of how I can do this?
Thanks for your time, Brenton _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l