On 27/06/12 13:31, Carnë Draug wrote:
I expected that this would be a common thing and that
I'd find many
templates already doing this but actually found none. The
recommendation on wikipedia is to use <syntaxhighlight> directly
(which I'd like to avoid since we want to change the default look of
it and are already using a template to place the code inside a table
with a title and legend). The alternatives that I see are:
* use wikipedia's {{!}} template (it does solve my problem)
* modify the actual extension code so it does all I want and use
that instead of a template
However, none of them sound right. Does anyone knows how to solve this?
Any of them would work. The {{!}} template is really embedded into the
wikitext usage. It probably should be put into the core.