ul in output[]
How about using ul for the list of rewards instead of concatenation with +? It has semantic meaning as a list. There is an hlist class the wiki uses for navboxes which can also be applied here. Endilyn (talk) 04:04, 25 August 2019 (UTC)
- The problem is MediaWiki automatically splits unindented paragraphs around lists even if they have
display:inline
; this isn't an issue forhlist
since normally a navbox cell doesn't include anything other than the list, but text templates on the wiki should never break paragraph flow. For example,Total rewards: {{Rt|1=[{kind=Orb};{kind=Hero Feather}]}} (3 rounds)
produces:
- The same works if the paragraph is indented (wrapped inside <dl> and <dd>):
- I will revert to the <span> version if this MediaWiki parse issue can't be fixed. --HertzDevil (talk) 11:09, 9 September 2019 (UTC)
- There is an
hlist inline
as well I happened to find in this list,<ul class="hlist inline><li>a</li><li>b</li></ul>
for example produces:- a
- b
- There is an