Tag Info

New answers tagged

1

You would write the following in Template:PMC: [http://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{1}}}/ PMC {{{1}}}] And then call it with {{PMC|2824929}}. Of course this doesn't verify that the number is valid or even that one has been provided.


1

Make sure the ParserFunctions extension is installed. Then put the following in a template, such as Template:Iftest {{#if: {{{CODE|}}} | [[CODE-{{{CODE}}}]] | (not applicable) }} If CODE-parameter is empty or not present you get (not applicable). i.e. {{Iftest|CODE=123}} gives [[CODE-123]] {{Iftest|CODE=}} gives (not applicable) {{Iftest}} gives (not ...



Top 50 recent answers are included