Line 13: |
Line 13: |
| | | |
| // Check whether there's already a file link in {{{1}}}... implying this is probably a recursive call. Return immediately | | // Check whether there's already a file link in {{{1}}}... implying this is probably a recursive call. Return immediately |
− | -->{{#if:{{#pos:{{{1|}}}|<nowiki>[[File</nowiki>}}|{{{1}}}|<!-- | + | -->{{#if:{{#pos:{{{1|}}}|{{Bracket|2}}File}}|{{{1}}}|<!-- |
| // Parse input data, then loop over all extracted entries | | // Parse input data, then loop over all extracted entries |
| -->{{#arraydefine:$sseason|{{ParseInputValues|{{{1|}}}|{{#arrayprint:$engl_seasons}}|{{#arrayprint:$lang_seasons}}|default=true}}}}<!-- | | -->{{#arraydefine:$sseason|{{ParseInputValues|{{{1|}}}|{{#arrayprint:$engl_seasons}}|{{#arrayprint:$lang_seasons}}|default=true}}}}<!-- |
| -->{{#if:{{#arrayprint:$sseason}} | | | -->{{#if:{{#arrayprint:$sseason}} | |
− | <span style="display:inline; margin-right:0;"><!-- | + | <span style="display:inline; margin-right:0; white-space: nowrap"><!-- |
| -->{{#arrayprint:$sseason||@season@|<!-- | | -->{{#arrayprint:$sseason||@season@|<!-- |
| | | |
| // Add space and bullet if this is not first entry | | // Add space and bullet if this is not first entry |
− | -->{{#ifexpr:{{#arraysearch:$sseason|@season@}}>0| • }}<!-- | + | -->{{#ifexpr:{{#arraysearch:$sseason|@season@}}>0|</span> • <span style="display:inline; margin-right:0; white-space: nowrap">}}<!-- |
| | | |
| // Convert @season@ (english page name) into translated page name | | // Convert @season@ (english page name) into translated page name |