Template talk:TextC

From Exiled Kingdoms Wiki

#explode vs #replace

What is the reason for using #explode to convert the lists? It seems utterly complex compared to the former approach with #replace.

Something like: <ul><li>{{#replace:{{{list}}}|;|</li><li>}}</li></ul>

The outcome should be basically the same and it would work with arbitrary long lists.

MikeB (talk) 12:59, 9 January 2017 (MST)