Template:Template link general: Difference between revisions

en>Benwing
first version of generic template link template, maybe not working
 
en>Benwing
m use literal brackets
Line 10: Line 10:
-->{{#if:{{{bold|}}}|'''}}<!--
-->{{#if:{{{bold|}}}|'''}}<!--
   -- begin link if not nolink=yes; add any LANG and SISTER prefixes
   -- begin link if not nolink=yes; add any LANG and SISTER prefixes
-->{{#if:{{{nolink|}}}||[[{{{LANG|}}}{{{SISTER|}}}<!--
-->{{#if:{{{nolink|}}}||&#91;&#91;{{{LANG|}}}{{{SISTER|}}}<!--
   -- specify page to link to (unless nolink=yes)
   -- specify page to link to (unless nolink=yes)
-->{{#if:{{{1|}}}|{{#if:{{{anypage|}}}||{{ns:Template}}:}}{{{1|}}}|{{FULLPAGENAME}}}}&#124;}}<!--
-->{{#if:{{{1|}}}|{{#if:{{{anypage|}}}||{{ns:Template}}:}}{{{1|}}}|{{FULLPAGENAME}}}}&#124;}}<!--