Template:Row/Meds: Difference between revisions
Jump to navigation
Jump to search
(Attempt to comment out rarity. Sorry if everything breaks.) |
(Removed rarity, moved up all arguments one place.) |
||
Line 1: | Line 1: | ||
<includeonly><tr id="{{anchorencode:{{{NAME|{{{1}}}}}}}}" style="text-align:right"><!-- | <includeonly><tr id="{{anchorencode:{{{NAME|{{{1}}}}}}}}" style="text-align:right"><!-- | ||
--><td style="border: 1px dashed white; padding: 0.1em 0.2em 0.1em 0; text-align:right">{{igs|!|{{{COLOR|{{{ | --><td style="border: 1px dashed white; padding: 0.1em 0.2em 0.1em 0; text-align:right">{{igs|!|{{{COLOR|{{{3|}}}}}}|s=border:1px black solid}}</td><!-- | ||
--><td style="border: 1px solid #aaa; border-left-color: white; padding: 0.2em 0.5em 0.2em 0.2em; text-align:left"> [[{{{NAME|{{{1}}}}}}]]{{#ifeq:{{{CHG|{{{ | --><td style="border: 1px solid #aaa; border-left-color: white; padding: 0.2em 0.5em 0.2em 0.2em; text-align:left"> [[{{{NAME|{{{1}}}}}}]]{{#ifeq:{{{CHG|{{{9|}}}}}}|1|| ({{{CHG|{{{9|}}}}}})}} </td><!-- | ||
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; | --><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; | ||
{{#ifeq: {{{PRC|{{{ | {{#ifeq: {{{PRC|{{{2|}}}}}} |0|color:lightgray}}"> {{{PRC|{{{2|}}}}}} </td><!-- | ||
--><td style="border: 1px solid #aaa; border-right-color: #333; padding: 0.2em 0.5em; text-align:left; font-size: 0.9em; line-height:100%"> {{lc:{{{MATERIAL|{{{ | --><td style="border: 1px solid #aaa; border-right-color: #333; padding: 0.2em 0.5em; text-align:left; font-size: 0.9em; line-height:100%"> {{lc:{{{MATERIAL|{{{5|}}}}}}}} </td><!-- | ||
--><td style="border: 1px solid #aaa; border-left-color: #333; padding: 0.2em 0.5em; white-space:nowrap; color: | --><td style="border: 1px solid #aaa; border-left-color: #333; padding: 0.2em 0.5em; white-space:nowrap; color: | ||
{{#ifexpr: {{{STM|{{{ | {{#ifexpr: {{{STM|{{{6|}}}}}} > 0 |darkgreen|{{#ifexpr: {{{STM|{{{6|}}}}}} < 0 |darkred|lightgray}}}}"> {{{STM|{{{6|}}}}}} </td><!-- | ||
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; white-space:nowrap; color: | --><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; white-space:nowrap; color: | ||
{{#ifexpr: {{{HTH|{{{ | {{#ifexpr: {{{HTH|{{{7|}}}}}} > 0 |darkgreen|{{#ifexpr: {{{HTH|{{{7|}}}}}} < 0 |darkred|lightgray}}}}"> {{{HTH|{{{7|}}}}}} </td><!-- | ||
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; color: | --><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; color: | ||
{{#ifeq: {{{ADD|{{{ | {{#ifeq: {{{ADD|{{{8|}}}}}} |0|lightgray|darkred}}"> {{{ADD|{{{8|}}}}}} </td><!-- | ||
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; white-space:nowrap; color: | --><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; white-space:nowrap; color: | ||
{{#ifexpr: {{{FUN|{{{ | {{#ifexpr: {{{FUN|{{{10|}}}}}} > 0 |darkgreen|{{#ifexpr: {{{FUN|{{{10|}}}}}} < 0 |darkred|lightgray}}}}"> {{{FUN|{{{10|}}}}}} </td><!-- | ||
--><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; font-size: 0.9em; line-height:100%"> {{#switch:{{{use_func|{{{ | --><td style="border: 1px solid #aaa; padding: 0.2em 0.5em; text-align:left; font-size: 0.9em; line-height:100%"> {{#switch:{{{use_func|{{{11|}}}}}} | ||
|none = | |none = | ||
|inhaler = [[Asthma|inhaler]] | |inhaler = [[Asthma|inhaler]] | ||
Line 43: | Line 40: | ||
|prozac = [[Prozac (disease)|prozac]] | |prozac = [[Prozac (disease)|prozac]] | ||
|#default={{{use_func|{{{ | |#default={{{use_func|{{{11|}}}}}} | ||
}} </td> | }} </td> | ||
</tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude> | </tr></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude> |