Page MenuHomePhabricator

Allow customization of floating/alignment of the babel box
Open, LowPublic

Description

For example by implementing an extra parameter, such as {{#babel:xx|yy|align=left}} or {{#babel:xx|yy|float=no}}.


Version: unspecified
Severity: enhancement

Details

Reference
bz64164

Event Timeline

bzimport raised the priority of this task from to Low.
bzimport set Reference to bz64164.
bzimport added a subscriber: Unknown Object (MLST).

Extra parameters for suppressing the header ("Babel user information"), footer ("Users by language") and the border of the box would be nice, too, by the way.

(In reply to Waldir from comment #1)

Extra parameters for suppressing the header ("Babel user information"),
footer ("Users by language") and the border of the box would be nice, too,
by the way.

That's bug 31309.

Change 332332 had a related patch set uploaded (by Georggi199):
Fixed 2 issues with Babel boxes and categorisation of language codes

https://gerrit.wikimedia.org/r/332332

In the interim, you can achieve most layouts through applying CSS styles to a wrapping <div>.

Example of horizontal alignment:

<div style="display: flex;">
  {{#babel:plain=1|en|fr|es}}
</div>