Template:SubstanceBox: Difference between revisions

>Kenan
m Add DI
>Kenan
m Reverted edits by Kenan (talk) to last revision by TobiasEins
Line 916: Line 916:


     |}}
     |}}
    {{#arraydefine: uncertaininteractions
    | {{#ask:[[:{{{MaterialTable_Title|LSD}}}]]
        |?UncertainInteraction
        |headers=hide
        |format=list
        |mainlabel=-
        |link=none
      }}
    }}
    {{#arraydefine: unsafeinteractions
    | {{#ask:[[:{{{MaterialTable_Title|LSD}}}]]
        |?UnsafeInteraction
        |headers=hide
        |format=list
        |mainlabel=-
        |link=none
      }}
    }}
    {{#arraydefine: dangerousinteractions
    | {{#ask:[[:{{{MaterialTable_Title|LSD}}}]]
        |?DangerousInteraction
        |headers=hide
        |format=list
        |mainlabel=-
        |link=none
      }}
    }}
    {{#ifeq: {{#arraysize:uncertaininteractions}} | 0 | {{#ifeq: {{#arraysize:unsafeinteractions}} | 0 | {{#ifeq: {{#arraysize:dangerousinteractions}} | 0 ||
                <tr><th id="Interactions" class="SubHeader1" colspan="2">Interactions</th></tr>
            }}| <tr><th id="Interactions" class="SubHeader1" colspan="2">Interactions</th></tr>
        }}| <tr><th id="Interactions" class="SubHeader1" colspan="2">Interactions</th></tr>
    }}
    {{#arrayprint:uncertaininteractions||@@@@|
        <tr><th class="ROASubHeader SBInteractionLabel SBInteractionUncertain" colspan="2">[[@@@@]]</th></tr>
    }}
    {{#arrayprint:unsafeinteractions||@@@@|
        <tr><th class="ROASubHeader SBInteractionLabel SBInteractionUnsafe" colspan="2">[[@@@@]]</th></tr>
    }}
    {{#arrayprint:dangerousinteractions||@@@@|
        <tr><th class="ROASubHeader SBInteractionLabel SBInteractionDangerous" colspan="2">[[@@@@]]</th></tr>
    }}
</table><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
</table><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>