Changes
Jump to navigation
Jump to search
m
Protected "Template:LinkCatIfExists2": Highly visible template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
<includeonly>{{#ifexist: Category:{{{1|}}} |<!--
# The category does exist
# So create a link
-->[[:Category:{{{1|}}}{{!}}{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}]]<!--
-->|<!--
# The category does NOT exist
# so just output plaintext
--><span style="color:#888">{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</span>}}</includeonly><noinclude>{{Documentation}}</noinclude>
# The category does exist
# So create a link
-->[[:Category:{{{1|}}}{{!}}{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}]]<!--
-->|<!--
# The category does NOT exist
# so just output plaintext
--><span style="color:#888">{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</span>}}</includeonly><noinclude>{{Documentation}}</noinclude>