Difference between revisions of "Template:Team home"

From Rigged Wiki
Jump to navigation Jump to search
(Added conditional code to restrict regex cases to team names length 3 or longer (the minimum for a / as a separator); this should improve performance by reducing number of regex calls needed)
Line 1: Line 1:
'''{{#if: {{{1|}}}|[[&#x2F;{{{1|}}}&#x2F;]]|TBD}}''' [[File:{{#if: {{{1|}}}|{{#ifexpr:{{#len:{{{1}}}}}>=3|{{#rreplace:{{{1}}}|\/|_}}|{{{1}}}}}|TBD}} icon.png|25px{{#if: {{{1|}}}|{{!}}link=&#x2F;{{{1}}}&#x2F;]]|{{!}}link=]]}}<noinclude>[[Category:Templates]]</noinclude>
'''{{#if: {{{1|}}}|[[&#x2F;{{{1|}}}&#x2F;]]|TBD}}''' [[File:{{#if: {{{1|}}}|{{#ifexpr:{{#len:{{{1}}}}}>=7|{{#rreplace:{{{1}}}|\/|_}}|{{{1}}}}}|TBD}} icon.png|25px{{#if: {{{1|}}}|{{!}}link=&#x2F;{{{1}}}&#x2F;]]|{{!}}link=]]}}<noinclude>[[Category:Templates]]</noinclude>

Revision as of 12:53, 4 June 2017

TBD TBD icon.png