As part of the template translation improvements (T139332), this ticket explores how to provide support the translation of inline templates such as [[ https://en.wikipedia.org/wiki/Template:Convert | unit conversion ]]. Unlike block templates (T143121), inline templates appear inside the flow of text.
Supporting inline templates requires to find a way to select and edit them in the context of a translation (allowing to compare source and translated content in a fluent experience).
[[ http://pauginer.github.io/prototypes/translation/templates/index.html | A prototype ]] allows you to try the main concept also captured below:
{F4403001, size=full}
# Proposed solution
{F4402729, size=full}
The proposal is aligned with the way block templates are adapted (T143121). The main differences are that:
- Inline templates are highlighted in grey on hover and in blue (like links) when selected.
- The template editing mode does not replace the template but creates a space below it to edit the information.
{F4402951, size=full}