Zeile 13: |
Zeile 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 |
Zeile 42: |
Zeile 42: |
| |Seasons = All_Seasons_Icon | | |Seasons = All_Seasons_Icon |
| |Marriage = Mermaid's Pendant | | |Marriage = Mermaid's Pendant |
− | }}.png | {{{width|24px}}} | link={{#arrayprint:$slink_text}} | alt={{#arrayprint:$slink_text}}]] <!-- | + | }}.png | {{#if:{{{size|}}}|{{{size}}}px|{{{width|24px}}}}} | link={{#arrayprint:$slink_text}} | alt=]] <!-- |
| | | |
| // Add link, with special treatment for text of All Seasons | | // Add link, with special treatment for text of All Seasons |