Template:NZF: Difference between revisions

From WikiMSK

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{
<includeonly>{{
#if: {{{1|}}}|{{{1}}}[[File:Pills icon.png|20px|link=https://nzf.org.nz/Search/Results?term={{{1}}}|alt=Link to NZF search for: {{{1}}}]]}}{{
#if: {{{1|}}}|{{{1}}}[[File:Pills icon.png|20px|link=https://nzf.org.nz/Search/Results?term={{{1}}}|alt=Link to NZF search for: {{{1}}}]]}}{{#if: {{{search|}}}|[[File:Pills icon.png|20px|link=https://nzf.org.nz/Search/Results?term={{{search}}}|alt=Link to NZF search for: {{{search}}}]]}}{{#if: {{{code|}}}|[[File:Pills icon.png|20px|link=https://nzf.org.nz/nzf_{{{code}}}|alt=Link to NZF: {{{code}}}]]}}</includeonly><noinclude>[[Category:Templates]]
#if: {{{search|}}}|[[File:Pills icon.png|20px|link=https://nzf.org.nz/Search/Results?term={{{search}}}|alt=Link to NZF search for: {{{search}}}]]}}{{
#if: {{{code|}}}|[[File:Pills icon.png|20px|link=https://nzf.org.nz/nzf_{{{code}}}|alt=Link to NZF: {{{code}}}]]}}
</includeonly><noinclude>
[[Category:Templates]]
<templatedata>
<templatedata>
{
{
Line 18: Line 14:
}
}
},
},
"description": "Shows up a pill icon that links to NZF with a search term"
"description": "Shows up a pill icon that links to NZF with a search term or direct to page with medication code"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 21:53, 28 February 2022

Shows up a pill icon that links to NZF with a search term or direct to page with medication code

Template parameters

ParameterDescriptionTypeStatus
11

Label plus icon with search to NZF

Unknownoptional
searchsearch

No label, pill icon with search to NZF

Unknownoptional
codecode

The NZF code, no label

Unknownoptional