Template:Chem/link: Difference between revisions

From Vigyanwiki
< Template:Chem
m (Changed protection level for "Template:Chem/link": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
m (1 revision imported from alpha:Template:Chem/link)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>{{#if:{{{link|}}}|[[{{{link}}}|{{#if:{{{1|}}}|{{{1}}}|{{{link}}}}}]]|{{{1|}}}}}</onlyinclude>
<onlyinclude>{{#if:{{{link|}}}|[[{{{link}}}|{{#if:{{{1|}}}|{{{1}}}|{{{link}}}}}]]|{{{1|}}}}}</onlyinclude>
This creates a link if and only if the link parameter is specified.
This creates a link if and only if the link parameter is specified.
[[Category:Subtemplates of Template Chem]]
[[Category:Subtemplates of Template Chem]][[Category: Templates Vigyan Ready]]

Latest revision as of 09:43, 14 December 2022

This creates a link if and only if the link parameter is specified.