[%- IF playerid && needsClient %][% setuplinks = playersetup %][% ELSE %][% setuplinks = additionalLinks.setup %][% END -%] [%- FOREACH token = setuplinks.keys -%] [% stringkeys.$token = token | string | html -%] [%- END -%] [%- IF useTabList %] [%- IF setuplinks && stringkeys %] [%- IF style == "list" %]

[% END %] [%- FOREACH stringkey = stringkeys.sort %] [%- IF style == "list" %]
- [%- ELSIF loop.index > 0%]|[% END %] [% stringkey | string | html %][% IF style == "list" %]
[% END %] [%- END -%] [%- IF style == "list" %]

[% END %] [%- END -%] [%- ELSE -%] [%- BLOCK addSetupLinks -%] [%- IF setuplinks -%] [%- FOREACH stringkey = stringkeys.sort %] [% stringkeys.$stringkey %] [%- END -%] [%- END -%] [%- END %]
[% END %]