Hi,
I used to include something like:
|{{{!}} class = "mw-collapsible mw-collapsed wikitable"|| || ! {{{content name|}}} || ||{{!}}- || ||{{!}} {{{content|}}} || ||{{!}}}|
||
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
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
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
Ok, plan B:
install the extensions with composer https://www.mediawiki.org/wiki/Composer/For_extensions
If you can install Mediawiki in any computer with Internet, as long as the operating system is the same, you should be all right.
El 8 de marzo de 2015 a las 12:39 AM Brenton Horne brentonhorne77@gmail.com escribió:
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
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org