Template:SubstanceBox: Difference between revisions

>Kenan
m Temporarily remove DI
>Kenan
m Reverted edits by Kenan (talk) to last revision by TobiasEins
Line 1: Line 1:
<table id="InfoTable" class="{{{displayClasses|}}}">
<table ID="InfoTable" class="{{{displayClasses|}}}">
    <!-- RoA array declarations -->
 
    {{#arraydefine: InhaledDosage |
        Threshold;{{{InhaledROA_Threshold|}}},
        Light;{{{InhaledROA_Light|}}},
        Common;{{{InhaledROA_Common|}}},
        Strong;{{{InhaledROA_Strong|}}},
        Heavy;{{{InhaledROA_Heavy|}}}
    }}
 
    {{#arraydefine: InhaledDuration |
        Total;{{{InhaledROA_Duration|}}},
        Onset;{{{InhaledROA_Onset|}}},
        Come up;{{{InhaledROA_Comeup|}}},
        Peak;{{{InhaledROA_Peak|}}},
        Offset;{{{InhaledROA_Offset|}}},
        After effects;{{{InhaledROA_Aftereffects|}}}
    }}
 
    {{#arraydefine: SmokedDosage |
        Threshold;{{{SmokedROA_Threshold|}}},
        Light;{{{SmokedROA_Light|}}},
        Common;{{{SmokedROA_Common|}}},
        Strong;{{{SmokedROA_Strong|}}},
        Heavy;{{{SmokedROA_Heavy|}}}
    }}
 
    {{#arraydefine: SmokedDuration |
        Total;{{{SmokedROA_Duration|}}},
        Onset;{{{SmokedROA_Onset|}}},
        Come up;{{{SmokedROA_Comeup|}}},
        Peak;{{{SmokedROA_Peak|}}},
        Offset;{{{SmokedROA_Offset|}}},
        After effects;{{{SmokedROA_Aftereffects|}}}
    }}


    <!-- Routes of Administration array population -->
     {{#arraydefine: OralDosage |
     {{#arraydefine: OralDosage |
        Threshold;{{{OralROA_Threshold|}}},
    Threshold;{{{OralROA_Threshold|}}},
        Light;{{{OralROA_Light|}}},
    Light;{{{OralROA_Light|}}},
        Common;{{{OralROA_Common|}}},
    Common;{{{OralROA_Common|}}},
        Strong;{{{OralROA_Strong|}}},
    Strong;{{{OralROA_Strong|}}},
        Heavy;{{{OralROA_Heavy|}}}
    Heavy;{{{OralROA_Heavy|}}}
     }}
     }}
     {{#arraydefine: OralDuration |
     {{#arraydefine: OralDuration |
        Total;{{{OralROA_Duration|}}},
    Total;{{{OralROA_Duration|}}},
        Onset;{{{OralROA_Onset|}}},
    Onset;{{{OralROA_Onset|}}},
        Come up;{{{OralROA_Comeup|}}},
    Come up;{{{OralROA_Comeup|}}},
        Peak;{{{OralROA_Peak|}}},
    Peak;{{{OralROA_Peak|}}},
        Offset;{{{OralROA_Offset|}}},
    Offset;{{{OralROA_Offset|}}},
        After effects;{{{OralROA_Aftereffects|}}}
    After effects;{{{OralROA_Aftereffects|}}}
     }}
     }}
 
 
    {{#arraydefine: SublingualDosage |
        Threshold;{{{SublingualROA_Threshold|}}},
        Light;{{{SublingualROA_Light|}}},
        Common;{{{SublingualROA_Common|}}},
        Strong;{{{SublingualROA_Strong|}}},
        Heavy;{{{SublingualROA_Heavy|}}}
    }}
 
    {{#arraydefine: SublingualDuration |
        Total;{{{SublingualROA_Duration|}}},
        Onset;{{{SublingualROA_Onset|}}},
        Come up;{{{SublingualROA_Comeup|}}},
        Peak;{{{SublingualROA_Peak|}}},
        Offset;{{{SublingualROA_Offset|}}},
        After effects;{{{SublingualROA_Aftereffects|}}}
    }}
 
    {{#arraydefine: BuccalDosage |
        Threshold;{{{BuccalROA_Threshold|}}},
        Light;{{{BuccalROA_Light|}}},
        Common;{{{BuccalROA_Common|}}},
        Strong;{{{BuccalROA_Strong|}}},
        Heavy;{{{BuccalROA_Heavy|}}}
    }}
 
    {{#arraydefine: BuccalDuration |
        Total;{{{BuccalROA_Duration|}}},
        Onset;{{{BuccalROA_Onset|}}},
        Come up;{{{BuccalROA_Comeup|}}},
        Peak;{{{BuccalROA_Peak|}}},
        Offset;{{{BuccalROA_Offset|}}},
        After effects;{{{BuccalROA_Aftereffects|}}}
    }}
 
    {{#arraydefine: InsufflatedDosage |
        Threshold;{{{InsufflatedROA_Threshold|}}},
        Light;{{{InsufflatedROA_Light|}}},
        Common;{{{InsufflatedROA_Common|}}},
        Strong;{{{InsufflatedROA_Strong|}}},
        Heavy;{{{InsufflatedROA_Heavy|}}}
    }}
 
    {{#arraydefine: InsufflatedDuration |
        Total;{{{InsufflatedROA_Duration|}}},
        Onset;{{{InsufflatedROA_Onset|}}},
        Come up;{{{InsufflatedROA_Comeup|}}},
        Peak;{{{InsufflatedROA_Peak|}}},
        Offset;{{{InsufflatedROA_Offset|}}},
        After effects;{{{InsufflatedROA_Aftereffects|}}}
    }}
 
    {{#arraydefine: RectalDosage |
        Threshold;{{{RectalROA_Threshold|}}},
        Light;{{{RectalROA_Light|}}},
        Common;{{{RectalROA_Common|}}},
        Strong;{{{RectalROA_Strong|}}},
        Heavy;{{{RectalROA_Heavy|}}}
    }}
 
    {{#arraydefine: RectalDuration |
        Total;{{{RectalROA_Duration|}}},
        Onset;{{{RectalROA_Onset|}}},
        Come up;{{{RectalROA_Comeup|}}},
        Peak;{{{RectalROA_Peak|}}},
        Offset;{{{RectalROA_Offset|}}},
        After effects;{{{RectalROA_Aftereffects|}}}
    }}
 
    {{#arraydefine: TransdermalDosage |
        Threshold;{{{TransdermalROA_Threshold|}}},
        Light;{{{TransdermalROA_Light|}}},
        Common;{{{TransdermalROA_Common|}}},
        Strong;{{{TransdermalROA_Strong|}}},
        Heavy;{{{TransdermalROA_Heavy|}}}
    }}
 
    {{#arraydefine: TransdermalDuration |
        Total;{{{TransdermalROA_Duration|}}},
        Onset;{{{TransdermalROA_Onset|}}},
        Come up;{{{TransdermalROA_Comeup|}}},
        Peak;{{{TransdermalROA_Peak|}}},
        Offset;{{{TransdermalROA_Offset|}}},
        After effects;{{{TransdermalROA_Aftereffects|}}}
    }}
 
    {{#arraydefine: SubcutaneousDosage |
        Threshold;{{{SubcutaneousROA_Threshold|}}},
        Light;{{{SubcutaneousROA_Light|}}},
        Common;{{{SubcutaneousROA_Common|}}},
        Strong;{{{SubcutaneousROA_Strong|}}},
        Heavy;{{{SubcutaneousROA_Heavy|}}}
    }}
 
    {{#arraydefine: SubcutaneousDuration |
        Total;{{{SubcutaneousROA_Duration|}}},
        Onset;{{{SubcutaneousROA_Onset|}}},
        Come up;{{{SubcutaneousROA_Comeup|}}},
        Peak;{{{SubcutaneousROA_Peak|}}},
        Offset;{{{SubcutaneousROA_Offset|}}},
        After effects;{{{SubcutaneousROA_Aftereffects|}}}
    }}
 
    {{#arraydefine: IntramuscularDosage |
        Threshold;{{{IntramuscularROA_Threshold|}}},
        Light;{{{IntramuscularROA_Light|}}},
        Common;{{{IntramuscularROA_Common|}}},
        Strong;{{{IntramuscularROA_Strong|}}},
        Heavy;{{{IntramuscularROA_Heavy|}}}
    }}
 
    {{#arraydefine: IntramuscularDuration |
        Total;{{{IntramuscularROA_Duration|}}},
        Onset;{{{IntramuscularROA_Onset|}}},
        Come up;{{{IntramuscularROA_Comeup|}}},
        Peak;{{{IntramuscularROA_Peak|}}},
        Offset;{{{IntramuscularROA_Offset|}}},
        After effects;{{{IntramuscularROA_Aftereffects|}}}
    }}
 
    {{#arraydefine: IntravenousDosage |
        Threshold;{{{IntravenousROA_Threshold|}}},
        Light;{{{IntravenousROA_Light|}}},
        Common;{{{IntravenousROA_Common|}}},
        Strong;{{{IntravenousROA_Strong|}}},
        Heavy;{{{IntravenousROA_Heavy|}}}
    }}
 
    {{#arraydefine: IntravenousDuration |
        Total;{{{IntravenousROA_Duration|}}},
        Onset;{{{IntravenousROA_Onset|}}},
        Come up;{{{IntravenousROA_Comeup|}}},
        Peak;{{{IntravenousROA_Peak|}}},
        Offset;{{{IntravenousROA_Offset|}}},
        After effects;{{{IntravenousROA_Aftereffects|}}}
    }}
 
     <!-- Header -->
     <!-- Header -->
     <tr class="SubstanceTitle">
     <tr class="SubstanceTitle">
         <th class="Header" colspan="2">{{{MaterialTable_Title|LSD}}}</th>
         <th class="Header" colspan="2">{{{MaterialTable_Title}}}</th>
     </tr>
     </tr>


     <!-- Source -->
     <!-- Source -->
     {{#ifeq: {{{ModuleSource}}} | true |
     {{#ifeq: {{{ModuleSource}}} | true |
        {{#if: {{{PhotoImageFile}}} |
 
            <tr>
    {{#if: {{{PhotoImageFile}}} |
                <td class="Image" colspan="2">[[ {{{PhotoImageFile}}} | thumb | center | {{{PhotoImageWidth}}} {{#if:
    <tr>
                    {{{PhotoImageCaption}}} | {{!}} {{{PhotoImageCaption}}} |}} ]]
        <td class="Image" colspan="2">[[ {{{PhotoImageFile}}} | thumb | center | {{{PhotoImageWidth}}} {{#if:
                </td>
            {{{PhotoImageCaption}}} | {{!}} {{{PhotoImageCaption}}} |}} ]]
            </tr>
        </td>
        |}}
 
    </tr>
    |}}
 
     |}}
     |}}


Line 208: Line 40:
     {{#ifeq: {{{ModuleCombination}}} | true |
     {{#ifeq: {{{ModuleCombination}}} | true |


        <!-- Component 1 -->
    <!-- Component 1 -->
        {{#if: {{{CombinationImage1_Caption}}} |
    {{#if: {{{CombinationImage1_Caption}}} |
            <tr>
    <tr>
                <td class="Caption" colspan="2">''{{{CombinationImage1_Caption}}}''</td>
        <td class="Caption" colspan="2">''{{{CombinationImage1_Caption}}}''</td>
             </tr>
    </tr>
        |}}
    |}}
    {{#if: {{{CombinationImage1_File}}} |
    <tr>
        <td class="Image" colspan="2">[[ {{{CombinationImage1_File}}} | frameless | center |
             {{{CombinationImage1_Width}}} ]]
        </td>
    </tr>
    |}}


         {{#if: {{{CombinationImage1_File}}} |
    <!-- Component 2 -->
            <tr>
    {{#if: {{{CombinationImage2_Caption}}} |
                <td class="Image" colspan="2">[[ {{{CombinationImage1_File}}} | frameless | center |
    <tr>
                    {{{CombinationImage1_Width}}} ]]
         <td class="Caption" colspan="2">''{{{CombinationImage2_Caption}}}''</td>
                </td>
    </tr>
            </tr>
    |}}
        |}}
    {{#if: {{{CombinationImage2_File}}} |
    <tr>
        <td class="Image" colspan="2">[[ {{{CombinationImage2_File}}} | frameless | center |
            {{{CombinationImage2_Width}}} ]]
        </td>
    </tr>
    |}}


        <!-- Component 2 -->
    <!-- Component 3 -->
        {{#if: {{{CombinationImage2_Caption}}} |
    {{#if: {{{CombinationImage3_Caption}}} |
            <tr>
    <tr>
                <td class="Caption" colspan="2">''{{{CombinationImage2_Caption}}}''</td>
        <td class="Caption" colspan="3">''{{{CombinationImage3_Caption}}}''</td>
            </tr>
    </tr>
        |}}
    |}}
 
    {{#if: {{{CombinationImage3_File}}} |
        {{#if: {{{CombinationImage2_File}}} |
    <tr>
            <tr>
        <td class="Image" colspan="2">[[ {{{CombinationImage3_File}}} | frameless | center |
                <td class="Image" colspan="2">[[ {{{CombinationImage2_File}}} | frameless | center |
            {{{CombinationImage3_Width}}} ]]
                    {{{CombinationImage2_Width}}} ]]
         </td>
                </td>
    </tr>
            </tr>
    |}}
        |}}
 
        <!-- Component 3 -->
         {{#if: {{{CombinationImage3_Caption}}} |
            <tr>
                <td class="Caption" colspan="3">''{{{CombinationImage3_Caption}}}''</td>
            </tr>
        |}}


        {{#if: {{{CombinationImage3_File}}} |
            <tr>
                <td class="Image" colspan="2">[[ {{{CombinationImage3_File}}} | frameless | center |
                    {{{CombinationImage3_Width}}} ]]
                </td>
            </tr>
        |}}
     |}}
     |}}


     <!-- Molecular Structure -->
     <!-- Molecular Structure -->
     {{#ifeq: {{{ModuleStructure}}} | true |
     {{#ifeq: {{{ModuleStructure}}} | true |
        <!-- Caption -->
        <!--{{#if: {{{MolecularStructureCaption}}} |
            <tr>
                <td class="Caption" colspan="2">''{{{MolecularStructureCaption}}}''</td>
            </tr>
        |}}-->


         <!-- Skeletal -->
    <!-- Caption -->
        {{#if: {{{SkeletalImageFile}}} |
    <!--{{#if: {{{MolecularStructureCaption}}} |
            <tr>
    <tr>
                <td class="Image" colspan="2">[[ {{{SkeletalImageFile}}} | frameless | center | {{{SkeletalImageWidth}}} ]]</td>
         <td class="Caption" colspan="2">''{{{MolecularStructureCaption}}}''</td>
            </tr>
    </tr>
         |}}
    |}}-->
 
    <!-- Skeletal -->
    {{#if: {{{SkeletalImageFile}}} |
    <tr>
        <td class="Image" colspan="2">[[ {{{SkeletalImageFile}}} | frameless | center | {{{SkeletalImageWidth}}} ]]</td>
        <!--<td class="Image" colspan="2">http://opsin.ch.cam.ac.uk/opsin/{{{NameSystematic}}}.png</td>-->
    </tr>
    |}}
 
    <!-- 3D -->
    {{#if: {{{3DImageFile}}} |
    <tr>
         <td class="Image" colspan="2">[[ {{{3DImageFile}}} | frameless | center | {{{3DImageWidth}}} ]]</td>
    </tr>
    |}}


        <!-- 3D -->
        {{#if: {{{3DImageFile}}} |
            <tr>
                <td class="Image" colspan="2">[[ {{{3DImageFile}}} | frameless | center | {{{3DImageWidth}}} ]]</td>
            </tr>
        |}}
     |}}
     |}}


     <!-- Naming Convention -->
     <!-- Naming Convention -->
     {{#ifeq: {{{ModuleNomenclature}}} | true |
     {{#ifeq: {{{ModuleNomenclature}}} | true |
        <tr>
            <th id="Nomenclature" class="SubHeader1" colspan="2">Chemical Nomenclature</th>
        </tr>


        {{#if: {{{NameCommon}}} |
    <tr>
            <tr>
        <th id="Nomenclature" class="SubHeader1" colspan="2">Chemical Nomenclature</th>
                <th class="RowHeader">Common names</th>
    </tr>
                <td class="RowValues">''{{{NameCommon}}}''</td>
            </tr>
        |}}


         {{#if: {{{NameSubstitution}}} |
    {{#if: {{{NameCommon}}} |
            <tr>
    <tr>
                <th class="RowHeader">Substitutive name</th>
         <th class="RowHeader">Common names</th>
                <td class="RowValues">''{{{NameSubstitution}}}''</td>
        <td class="RowValues">''{{{NameCommon}}}''</td>
            </tr>
    </tr>
         |}}
    |}}
 
    {{#if: {{{NameSubstitution}}} |
    <tr>
        <th class="RowHeader">Substitutive name</th>
        <td class="RowValues">''{{{NameSubstitution}}}''</td>
    </tr>
    |}}
 
    {{#if: {{{NameSystematic}}} |
    <tr>
         <th class="RowHeader">Systematic name</th>
        <td class="RowValues">''{{{NameSystematic}}}''</td>
    </tr>
    |}}


        {{#if: {{{NameSystematic}}} |
            <tr>
                <th class="RowHeader">Systematic name</th>
                <td class="RowValues">''{{{NameSystematic}}}''</td>
            </tr>
        |}}
     |}}
     |}}


     <!-- Substance Class Membership -->
     <!-- Substance Class Membership -->
     {{#ifeq: {{{ModuleClassMembership}}} | true |
     {{#ifeq: {{{ModuleClassMembership}}} | true |
        <tr>
            <th id="ClassMembership" class="SubHeader1" colspan="2">Class Membership</th>
        </tr>


         {{#if: {{{EffectClass}}} |
    <tr>
            <tr>
         <th id="ClassMembership" class="SubHeader1" colspan="2">Class Membership</th>
                <th class="RowHeader">Psychoactive class</th>
    </tr>
                <td class="RowValues">''{{{EffectClass}}}''</td>
 
            </tr>
    {{#if: {{{EffectClass}}} |
         |}}
    <tr>
        <th class="RowHeader">Psychoactive class</th>
        <td class="RowValues">''{{{EffectClass}}}''</td>
    </tr>
    |}}
 
    {{#if: {{{ChemicalClass}}} |
    <tr>
        <th class="RowHeader">Chemical class</th>
         <td class="RowValues">''{{{ChemicalClass}}}''</td>
    </tr>
    |}}


        {{#if: {{{ChemicalClass}}} |
            <tr>
                <th class="RowHeader">Chemical class</th>
                <td class="RowValues">''{{{ChemicalClass}}}''</td>
            </tr>
        |}}
     |}}
     |}}
     <!-- Routes of Administration -->
     <!-- Routes of Administration -->
     {{#ifeq: {{{ModuleROA}}} | true |
     {{#ifeq: {{{ModuleROA}}} | true |


        <tr>
    <tr>
            <th id="ROA" class="SubHeader1" colspan="2">[[Routes of Administration]]</th>
        <th id="ROA" class="SubHeader1" colspan="2">[[Routes of Administration]]</th>
        </tr>
    </tr>


        <tr>
    <tr>
            <td colspan="2" class="ROAHeader">
        <td colspan="2" class="ROAHeader">


                <table class="ROATable pw-safe-use" width="100%">
            <table class="ROATable pw-safe-use" width="100%">
                    <tr>
                <tr>
                        <td class="ROACaption" colspan="2">
                    <td class="ROACaption" colspan="2">
{{Preamble/SubstanceSafeUse}}
{{Preamble/SubstanceSafeUse}}
                        </td>
                    </td>
                    </tr>
                </tr>
                </table>
            </table>


                <!-- Inhaled -->
            <!-- Inhaled -->
                {{#ifeq: {{{InhaledROA}}} | true |
            {{#ifeq: {{{InhaledROA}}} | true |


                {{#ifeq: {{{InhaledROA_Collapsed}}} | true |
            {{#ifeq: {{{InhaledROA_Collapsed}}} | true |
                <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
            <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                <table class="ROATable mw-collapsible" width="100%">
            <table class="ROATable mw-collapsible" width="100%">
                    }}
                }}


                    <tr>
                <tr>
                        <th class="ROAHeader" colspan="2">[[Routes of Administration#Inhaled|Inhaled]]</th>
                    <th class="ROAHeader" colspan="2">[[Routes of Administration#Inhaled|Inhaled]]</th>
                    </tr>
                </tr>


                    {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Inhaled}}
                {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Inhaled}}


                    <tr>
                <tr>
                        <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                    <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                    </tr>
                </tr>


                    {{#if: {{{InhaledROA_Caption}}} |
                {{#if: {{{InhaledROA_Caption}}} |
                    <!--<tr>
                <!--<tr>
                        <td class="ROACaption" colspan="2">{{{InhaledROA_Caption}}}</td>
                    <td class="ROACaption" colspan="2">{{{InhaledROA_Caption}}}</td>
                    </tr>-->
                </tr>-->
                    |}}
                |}}


                    {{#if: {{{InhaledROA_Bioavailability}}} |
                {{#if: {{{InhaledROA_Bioavailability}}} |
                    <tr>
                <tr>
                        <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                    <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                        <td class="RowValues">{{{InhaledROA_Bioavailability}}}</td>
                    <td class="RowValues">{{{InhaledROA_Bioavailability}}}</td>
                        <!--Display bioavailability -->
                    <!--Display bioavailability -->
                    </tr>
                </tr>
                    |}}
                |}}


                    {{#arrayunique: InhaledDosage}}
                {{#arrayunique: InhaledDosage}}
                    {{#loop: i | 0 | {{#arraysize: InhaledDosage}} |
                {{#loop: i | 0 | {{#arraysize: InhaledDosage}} |
                    {{#arraydefine: val | {{#arrayindex: InhaledDosage | {{#var: i}} }} | ; }}
                {{#arraydefine: val | {{#arrayindex: InhaledDosage | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                <tr>
                        <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                </tr>
                    |}}
                |}}
                    }}
                }}


                    <tr>
                <tr>
                        <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                    <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                    </tr>
                </tr>


                    {{#if: {{{InhaledROA_TimelineFile}}} |
                {{#if: {{{InhaledROA_TimelineFile}}} |
                    <tr>
                <tr>
                        <td colspan="2">[[ {{{InhaledROA_TimelineFile}}} | center | {{{InhaledROA_TimelineWidth}}} ]]</td>
                    <td colspan="2">[[ {{{InhaledROA_TimelineFile}}} | center | {{{InhaledROA_TimelineWidth}}} ]]</td>
                        <!--Display timeline image -->
                    <!--Display timeline image -->
                    </tr>
                </tr>
                    |}}
                |}}
 
                    {{#arrayunique: InhaledDuration}}
                    {{#loop: i | 0 | {{#arraysize: InhaledDuration}} |
                    {{#arraydefine: val | {{#arrayindex: InhaledDuration | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}
 
 
                </table>


                {{#arrayunique: InhaledDuration}}
                {{#loop: i | 0 | {{#arraysize: InhaledDuration}} |
                {{#arraydefine: val | {{#arrayindex: InhaledDuration | {{#var: i}} }} | ; }}
                {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                 |}}
                 |}}
                }}


                <!-- Smoked -->
                {{#ifeq: {{{SmokedROA}}} | true |


                {{#ifeq: {{{SmokedROA_Collapsed}}} | true |
            </table>
                <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                <table class="ROATable mw-collapsible" width="100%">
                    }}


                    <tr>
            |}}
                        <th class="ROAHeader" colspan="2">[[Routes of Administration#Smoked|Smoked]]</th>
                    </tr>


                    <tr>
            <!-- Smoked -->
                        <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
            {{#ifeq: {{{SmokedROA}}} | true |
                    </tr>


                    {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Smoked}}
            {{#ifeq: {{{SmokedROA_Collapsed}}} | true |
            <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
            <table class="ROATable mw-collapsible" width="100%">
                }}


                    {{#if: {{{SmokedROA_Caption}}} |
                <tr>
                    <!--<tr>
                    <th class="ROAHeader" colspan="2">[[Routes of Administration#Smoked|Smoked]]</th>
                        <td class="ROACaption" colspan="2">{{{SmokedROA_Caption}}}</td>
                </tr>
                    </tr>-->
                    |}}


                    {{#if: {{{SmokedROA_Bioavailability}}} |
                <tr>
                    <tr>
                    <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                        <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                </tr>
                        <td class="RowValues">{{{SmokedROA_Bioavailability}}}</td>
                        <!--Display bioavailability -->
                    </tr>
                    |}}


                    {{#arrayunique: SmokedDosage}}
                {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Smoked}}
                    {{#loop: i | 0 | {{#arraysize: SmokedDosage}} |
                    {{#arraydefine: val | {{#arrayindex: SmokedDosage | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                    <tr>
                {{#if: {{{SmokedROA_Caption}}} |
                        <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                <!--<tr>
                    </tr>
                    <td class="ROACaption" colspan="2">{{{SmokedROA_Caption}}}</td>
                </tr>-->
                |}}


                    {{#if: {{{SmokedROA_TimelineFile}}} |
                {{#if: {{{SmokedROA_Bioavailability}}} |
                    <tr>
                <tr>
                        <td colspan="2">[[ {{{SmokedROA_TimelineFile}}} | center | {{{SmokedROA_TimelineWidth}}} ]]</td>
                    <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                        <!--Display timeline image -->
                    <td class="RowValues">{{{SmokedROA_Bioavailability}}}</td>
                    </tr>
                    <!--Display bioavailability -->
                    |}}
                </tr>
                |}}


                    {{#arrayunique: SmokedDuration}}
                {{#arrayunique: SmokedDosage}}
                    {{#loop: i | 0 | {{#arraysize: SmokedDuration}} |
                {{#loop: i | 0 | {{#arraysize: SmokedDosage}} |
                    {{#arraydefine: val | {{#arrayindex: SmokedDuration | {{#var: i}} }} | ; }}
                {{#arraydefine: val | {{#arrayindex: SmokedDosage | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                <tr>
                        <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                </tr>
                    |}}
                |}}
                    }}
                }}


                <tr>
                    <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                </tr>


                 </table>
                {{#if: {{{SmokedROA_TimelineFile}}} |
                <tr>
                    <td colspan="2">[[ {{{SmokedROA_TimelineFile}}} | center | {{{SmokedROA_TimelineWidth}}} ]]</td>
                    <!--Display timeline image -->
                 </tr>
                |}}


                {{#arrayunique: SmokedDuration}}
                {{#loop: i | 0 | {{#arraysize: SmokedDuration}} |
                {{#arraydefine: val | {{#arrayindex: SmokedDuration | {{#var: i}} }} | ; }}
                {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                 |}}
                 |}}
                }}


                <!-- Oral -->
                {{#ifeq: {{{OralROA}}} | true |


                {{#ifeq: {{{OralROA_Collapsed}}} | true |
            </table>
                <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                <table class="ROATable mw-collapsible" width="100%">
                    }}


                    <tr>
            |}}
                        <th class="ROAHeader" colspan="2">[[Routes of Administration#Oral|Oral]]</th>
                    </tr>


                    <tr>
            <!-- Oral -->
                        <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
            {{#ifeq: {{{OralROA}}} | true |
                    </tr>


                    {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Oral}}
            {{#ifeq: {{{OralROA_Collapsed}}} | true |
            <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
            <table class="ROATable mw-collapsible" width="100%">
                }}


                    {{#if: {{{OralROA_Bioavailability}}} |
                <tr>
                    <tr>
                    <th class="ROAHeader" colspan="2">[[Routes of Administration#Oral|Oral]]</th>
                        <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                </tr>
                        <td class="RowValues">{{{OralROA_Bioavailability}}}</td>
                        <!--Display bioavailability -->
                    </tr>
                    |}}


                    {{#arrayunique: OralDosage}}
                <tr>
                    {{#loop: i | 0 | {{#arraysize: OralDosage}} |
                    <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                    {{#arraydefine: val | {{#arrayindex: OralDosage | {{#var: i}} }} | ; }}
                </tr>
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                    <tr>
                {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Oral}}
                        <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                    </tr>


                    {{#if: {{{OralROA_TimelineFile}}} |
                {{#if: {{{OralROA_Bioavailability}}} |
                    <tr>
                <tr>
                        <td colspan="2">[[ {{{OralROA_TimelineFile}}} | center | {{{OralROA_TimelineWidth}}} ]]</td>
                    <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                        <!--Display timeline image -->
                    <td class="RowValues">{{{OralROA_Bioavailability}}}</td>
                    </tr>
                    <!--Display bioavailability -->
                    |}}
                </tr>
                |}}


                    {{#arrayunique: OralDuration}}
                {{#arrayunique: OralDosage}}
                    {{#loop: i | 0 | {{#arraysize: OralDuration}} |
                {{#loop: i | 0 | {{#arraysize: OralDosage}} |
                    {{#arraydefine: val | {{#arrayindex: OralDuration | {{#var: i}} }} | ; }}
                {{#arraydefine: val | {{#arrayindex: OralDosage | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                <tr>
                        <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                </tr>
                    |}}
                |}}
                    }}
                }}


                 </table>
                 <tr>
                    <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                </tr>


                {{#if: {{{OralROA_TimelineFile}}} |
                <tr>
                    <td colspan="2">[[ {{{OralROA_TimelineFile}}} | center | {{{OralROA_TimelineWidth}}} ]]</td>
                    <!--Display timeline image -->
                </tr>
                 |}}
                 |}}


                 <!-- Buccal -->
                 {{#arrayunique: OralDuration}}
                 {{#ifeq: {{{BuccalROA}}} | true |
                {{#loop: i | 0 | {{#arraysize: OralDuration}} |
                {{#arraydefine: val | {{#arrayindex: OralDuration | {{#var: i}} }} | ; }}
                 {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                |}}
                }}
 
            </table>


                {{#ifeq: {{{BuccalROA_Collapsed}}} | true |
            |}}
                <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                <table class="ROATable mw-collapsible" width="100%">
                    }}


                    <tr>
            <!-- Buccal -->
                        <th class="ROAHeader" colspan="2">[[Routes of Administration#Buccal|Buccal]]</th>
            {{#ifeq: {{{BuccalROA}}} | true |
                    </tr>


                    <tr>
            {{#ifeq: {{{BuccalROA_Collapsed}}} | true |
                        <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
            <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                    </tr>
            <table class="ROATable mw-collapsible" width="100%">
                }}


                     {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Buccal}}
                <tr>
                     <th class="ROAHeader" colspan="2">[[Routes of Administration#Buccal|Buccal]]</th>
                </tr>


                    {{#if: {{{BuccalROA_Bioavailability}}} |
                <tr>
                    <tr>
                    <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                        <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                </tr>
                        <td class="RowValues">{{{BuccalROA_Bioavailability}}}</td>
                        <!--Display bioavailability -->
                    </tr>
                    |}}


                    {{#arrayunique: BuccalDosage}}
                {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Buccal}}
                    {{#loop: i | 0 | {{#arraysize: BuccalDosage}} |
                    {{#arraydefine: val | {{#arrayindex: BuccalDosage | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                    <tr>
                {{#if: {{{BuccalROA_Bioavailability}}} |
                        <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                <tr>
                     </tr>
                    <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                     <td class="RowValues">{{{BuccalROA_Bioavailability}}}</td>
                    <!--Display bioavailability -->
                </tr>
                |}}


                    {{#if: {{{BuccalROA_TimelineFile}}} |
                {{#arrayunique: BuccalDosage}}
                    <tr>
                {{#loop: i | 0 | {{#arraysize: BuccalDosage}} |
                        <td colspan="2">[[ {{{BuccalROA_TimelineFile}}} | center | {{{BuccalROA_TimelineWidth}}} ]]</td>
                {{#arraydefine: val | {{#arrayindex: BuccalDosage | {{#var: i}} }} | ; }}
                        <!--Display timeline image -->
                {{#if: {{#arrayindex: val | 1 }} |
                    </tr>
                <tr>
                    |}}
                    <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                |}}
                }}


                    {{#arrayunique: BuccalDuration}}
                <tr>
                    {{#loop: i | 0 | {{#arraysize: BuccalDuration}} |
                    <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                    {{#arraydefine: val | {{#arrayindex: BuccalDuration | {{#var: i}} }} | ; }}
                </tr>
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                 </table>
                {{#if: {{{BuccalROA_TimelineFile}}} |
                <tr>
                    <td colspan="2">[[ {{{BuccalROA_TimelineFile}}} | center | {{{BuccalROA_TimelineWidth}}} ]]</td>
                    <!--Display timeline image -->
                 </tr>
                |}}


                {{#arrayunique: BuccalDuration}}
                {{#loop: i | 0 | {{#arraysize: BuccalDuration}} |
                {{#arraydefine: val | {{#arrayindex: BuccalDuration | {{#var: i}} }} | ; }}
                {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                 |}}
                 |}}
                }}


                <!-- Sublingual -->
            </table>
                {{#ifeq: {{{SublingualROA}}} | true |


                {{#ifeq: {{{SublingualROA_Collapsed}}} | true |
            |}}
                <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                <table class="ROATable mw-collapsible" width="100%">
                    }}


                    <tr>
            <!-- Sublingual -->
                        <th class="ROAHeader" colspan="2">[[Routes of Administration#Sublingual|Sublingual]]</th>
            {{#ifeq: {{{SublingualROA}}} | true |
                    </tr>


                    <tr>
            {{#ifeq: {{{SublingualROA_Collapsed}}} | true |
                        <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
            <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                    </tr>
            <table class="ROATable mw-collapsible" width="100%">
                }}


                     {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Sublingual}}
                <tr>
                     <th class="ROAHeader" colspan="2">[[Routes of Administration#Sublingual|Sublingual]]</th>
                </tr>


                    {{#if: {{{SublingualROA_Caption}}} |
                <tr>
                    <!--<tr>
                    <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                        <td class="ROACaption" colspan="2">{{{SublingualROA_Caption}}}</td>
                </tr>
                    </tr>-->
                    |}}


                    {{#if: {{{SublingualROA_Bioavailability}}} |
                {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Sublingual}}
                    <tr>
                        <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                        <td class="RowValues">{{{SublingualROA_Bioavailability}}}</td>
                        <!--Display bioavailability -->
                    </tr>
                    |}}


                    {{#arrayunique: SublingualDosage}}
                {{#if: {{{SublingualROA_Caption}}} |
                    {{#loop: i | 0 | {{#arraysize: SublingualDosage}} |
                <!--<tr>
                    {{#arraydefine: val | {{#arrayindex: SublingualDosage | {{#var: i}} }} | ; }}
                    <td class="ROACaption" colspan="2">{{{SublingualROA_Caption}}}</td>
                    {{#if: {{#arrayindex: val | 1 }} |
                </tr>-->
                    <tr>
                |}}
                        <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                    <tr>
                {{#if: {{{SublingualROA_Bioavailability}}} |
                        <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                <tr>
                     </tr>
                    <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                     <td class="RowValues">{{{SublingualROA_Bioavailability}}}</td>
                    <!--Display bioavailability -->
                </tr>
                |}}


                    {{#if: {{{SublingualROA_TimelineFile}}} |
                {{#arrayunique: SublingualDosage}}
                    <tr>
                {{#loop: i | 0 | {{#arraysize: SublingualDosage}} |
                        <td colspan="2">[[ {{{SublingualROA_TimelineFile}}} | center | {{{SublingualROA_TimelineWidth}}}
                {{#arraydefine: val | {{#arrayindex: SublingualDosage | {{#var: i}} }} | ; }}
                            ]]
                {{#if: {{#arrayindex: val | 1 }} |
                        </td>
                <tr>
                        <!--Display timeline image -->
                    <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    </tr>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    |}}
                </tr>
                |}}
                }}


                    {{#arrayunique: SublingualDuration}}
                <tr>
                    {{#loop: i | 0 | {{#arraysize: SublingualDuration}} |
                    <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                    {{#arraydefine: val | {{#arrayindex: SublingualDuration | {{#var: i}} }} | ; }}
                </tr>
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}
                </table>


                {{#if: {{{SublingualROA_TimelineFile}}} |
                <tr>
                    <td colspan="2">[[ {{{SublingualROA_TimelineFile}}} | center | {{{SublingualROA_TimelineWidth}}}
                        ]]
                    </td>
                    <!--Display timeline image -->
                </tr>
                 |}}
                 |}}


                 <!-- Insufflated -->
                 {{#arrayunique: SublingualDuration}}
                 {{#ifeq: {{{InsufflatedROA}}} | true |
                {{#loop: i | 0 | {{#arraysize: SublingualDuration}} |
                 {{#arraydefine: val | {{#arrayindex: SublingualDuration | {{#var: i}} }} | ; }}
                {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                |}}
                }}
            </table>


                {{#ifeq: {{{InsufflatedROA_Collapsed}}} | true |
            |}}
                <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                <table class="ROATable mw-collapsible" width="100%">
                    }}


                    <tr>
            <!-- Insufflated -->
                        <th class="ROAHeader" colspan="2">[[Routes of Administration#Insufflated|Insufflated]]</th>
            {{#ifeq: {{{InsufflatedROA}}} | true |
                    </tr>


                    <tr>
            {{#ifeq: {{{InsufflatedROA_Collapsed}}} | true |
                        <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
            <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                    </tr>
            <table class="ROATable mw-collapsible" width="100%">
                }}


                     {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Insufflated}}
                <tr>
                     <th class="ROAHeader" colspan="2">[[Routes of Administration#Insufflated|Insufflated]]</th>
                </tr>


                    {{#if: {{{InsufflatedROA_Bioavailability}}} |
                <tr>
                    <tr>
                    <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                        <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                </tr>
                        <td class="RowValues">{{{InsufflatedROA_Bioavailability}}}</td>
                        <!--Display bioavailability -->
                    </tr>
                    |}}


                    {{#arrayunique: InsufflatedDosage}}
                {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Insufflated}}
                    {{#loop: i | 0 | {{#arraysize: InsufflatedDosage}} |
                    {{#arraydefine: val | {{#arrayindex: InsufflatedDosage | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                    <tr>
                {{#if: {{{InsufflatedROA_Bioavailability}}} |
                        <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                <tr>
                     </tr>
                    <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                     <td class="RowValues">{{{InsufflatedROA_Bioavailability}}}</td>
                    <!--Display bioavailability -->
                </tr>
                |}}


                    {{#if: {{{InsufflatedROA_TimelineFile}}} |
                {{#arrayunique: InsufflatedDosage}}
                    <tr>
                {{#loop: i | 0 | {{#arraysize: InsufflatedDosage}} |
                        <td colspan="2">[[ {{{InsufflatedROA_TimelineFile}}} | center | {{{InsufflatedROA_TimelineWidth}}}
                {{#arraydefine: val | {{#arrayindex: InsufflatedDosage | {{#var: i}} }} | ; }}
                            ]]
                {{#if: {{#arrayindex: val | 1 }} |
                        </td>
                <tr>
                        <!--Display timeline image -->
                    <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    </tr>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    |}}
                </tr>
                |}}
                }}


                    {{#arrayunique: InsufflatedDuration}}
                <tr>
                    {{#loop: i | 0 | {{#arraysize: InsufflatedDuration}} |
                    <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                    {{#arraydefine: val | {{#arrayindex: InsufflatedDuration | {{#var: i}} }} | ; }}
                </tr>
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                 </table>
                {{#if: {{{InsufflatedROA_TimelineFile}}} |
                <tr>
                    <td colspan="2">[[ {{{InsufflatedROA_TimelineFile}}} | center | {{{InsufflatedROA_TimelineWidth}}}
                        ]]
                    </td>
                    <!--Display timeline image -->
                 </tr>
                |}}


                {{#arrayunique: InsufflatedDuration}}
                {{#loop: i | 0 | {{#arraysize: InsufflatedDuration}} |
                {{#arraydefine: val | {{#arrayindex: InsufflatedDuration | {{#var: i}} }} | ; }}
                {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                 |}}
                 |}}
                }}


                <!-- Rectal -->
            </table>
                {{#ifeq: {{{RectalROA}}} | true |


            |}}


                {{#ifeq: {{{RectalROA_Collapsed}}} | true |
            <!-- Rectal -->
                <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
            {{#ifeq: {{{RectalROA}}} | true |
                <table class="ROATable mw-collapsible" width="100%">
                    }}


                    <tr>
                        <th class="ROAHeader" colspan="2">[[Routes of Administration#Rectal|Rectal]]</th>
                    </tr>


                    <tr>
            {{#ifeq: {{{RectalROA_Collapsed}}} | true |
                        <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
            <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                    </tr>
            <table class="ROATable mw-collapsible" width="100%">
                }}


                     {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Rectal}}
                <tr>
                     <th class="ROAHeader" colspan="2">[[Routes of Administration#Rectal|Rectal]]</th>
                </tr>


                    {{#if: {{{RectalROA_Bioavailability}}} |
                <tr>
                    <tr>
                    <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                        <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                </tr>
                        <td class="RowValues">{{{RectalROA_Bioavailability}}}</td>
                        <!--Display bioavailability -->
                    </tr>
                    |}}


                    {{#arrayunique: RectalDosage}}
                {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Rectal}}
                    {{#loop: i | 0 | {{#arraysize: RectalDosage}} |
                    {{#arraydefine: val | {{#arrayindex: RectalDosage | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                    <tr>
                {{#if: {{{RectalROA_Bioavailability}}} |
                        <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                <tr>
                     </tr>
                    <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                     <td class="RowValues">{{{RectalROA_Bioavailability}}}</td>
                    <!--Display bioavailability -->
                </tr>
                |}}


                    {{#if: {{{RectalROA_TimelineFile}}} |
                {{#arrayunique: RectalDosage}}
                    <tr>
                {{#loop: i | 0 | {{#arraysize: RectalDosage}} |
                        <td colspan="2">[[ {{{RectalROA_TimelineFile}}} | center | {{{RectalROA_TimelineWidth}}} ]]</td>
                {{#arraydefine: val | {{#arrayindex: RectalDosage | {{#var: i}} }} | ; }}
                        <!--Display timeline image -->
                {{#if: {{#arrayindex: val | 1 }} |
                    </tr>
                <tr>
                    |}}
                    <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                |}}
                }}


                    {{#arrayunique: RectalDuration}}
                <tr>
                    {{#loop: i | 0 | {{#arraysize: RectalDuration}} |
                    <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                    {{#arraydefine: val | {{#arrayindex: RectalDuration | {{#var: i}} }} | ; }}
                </tr>
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                 </table>
                {{#if: {{{RectalROA_TimelineFile}}} |
                <tr>
                    <td colspan="2">[[ {{{RectalROA_TimelineFile}}} | center | {{{RectalROA_TimelineWidth}}} ]]</td>
                    <!--Display timeline image -->
                 </tr>
                |}}


                {{#arrayunique: RectalDuration}}
                {{#loop: i | 0 | {{#arraysize: RectalDuration}} |
                {{#arraydefine: val | {{#arrayindex: RectalDuration | {{#var: i}} }} | ; }}
                {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                 |}}
                 |}}
                }}


                <!-- Transdermal -->
            </table>
                {{#ifeq: {{{TransdermalROA}}} | true |


                {{#ifeq: {{{TransdermalROA_Collapsed}}} | true |
            |}}
                <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                <table class="ROATable mw-collapsible" width="100%">
                    }}


                    <tr>
            <!-- Transdermal -->
                        <th class="ROAHeader" colspan="2">[[Routes of Administration#Transdermal|Transdermal]]</th>
            {{#ifeq: {{{TransdermalROA}}} | true |
                    </tr>


                    <tr>
            {{#ifeq: {{{TransdermalROA_Collapsed}}} | true |
                        <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
            <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                    </tr>
            <table class="ROATable mw-collapsible" width="100%">
                }}


                     {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Transdermal}}
                <tr>
                     <th class="ROAHeader" colspan="2">[[Routes of Administration#Transdermal|Transdermal]]</th>
                </tr>


                    {{#if: {{{TransdermalROA_Bioavailability}}} |
                <tr>
                    <tr>
                    <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                        <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                </tr>
                        <td class="RowValues">{{{TransdermalROA_Bioavailability}}}</td>
                        <!--Display bioavailability -->
                    </tr>
                    |}}


                    {{#arrayunique: TransdermalDosage}}
                {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Transdermal}}
                    {{#loop: i | 0 | {{#arraysize: TransdermalDosage}} |
                    {{#arraydefine: val | {{#arrayindex: TransdermalDosage | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                    <tr>
                {{#if: {{{TransdermalROA_Bioavailability}}} |
                        <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                <tr>
                     </tr>
                    <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                     <td class="RowValues">{{{TransdermalROA_Bioavailability}}}</td>
                    <!--Display bioavailability -->
                </tr>
                |}}


                    {{#if: {{{TransdermalROA_TimelineFile}}} |
                {{#arrayunique: TransdermalDosage}}
                    <tr>
                {{#loop: i | 0 | {{#arraysize: TransdermalDosage}} |
                        <td colspan="2">[[ {{{TransdermalROA_TimelineFile}}} | center | {{{TransdermalROA_TimelineWidth}}}
                {{#arraydefine: val | {{#arrayindex: TransdermalDosage | {{#var: i}} }} | ; }}
                            ]]
                {{#if: {{#arrayindex: val | 1 }} |
                        </td>
                <tr>
                        <!--Display timeline image -->
                    <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    </tr>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    |}}
                </tr>
                |}}
                }}


                    {{#arrayunique: TransdermalDuration}}
                <tr>
                    {{#loop: i | 0 | {{#arraysize: TransdermalDuration}} |
                    <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                    {{#arraydefine: val | {{#arrayindex: TransdermalDuration | {{#var: i}} }} | ; }}
                </tr>
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                 </table>
                {{#if: {{{TransdermalROA_TimelineFile}}} |
                <tr>
                    <td colspan="2">[[ {{{TransdermalROA_TimelineFile}}} | center | {{{TransdermalROA_TimelineWidth}}}
                        ]]
                    </td>
                    <!--Display timeline image -->
                 </tr>
                |}}


                {{#arrayunique: TransdermalDuration}}
                {{#loop: i | 0 | {{#arraysize: TransdermalDuration}} |
                {{#arraydefine: val | {{#arrayindex: TransdermalDuration | {{#var: i}} }} | ; }}
                {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                 |}}
                 |}}
                }}


                <!-- Subcutaneous -->
            </table>
                {{#ifeq: {{{SubcutaneousROA}}} | true |


                {{#ifeq: {{{SubcutaneousROA_Collapsed}}} | true |
            |}}
                <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                <table class="ROATable mw-collapsible" width="100%">
                    }}


                    <tr>
            <!-- Subcutaneous -->
                        <th class="ROAHeader" colspan="2">[[Routes of Administration#Subcutaneous|Subcutaneous]]</th>
            {{#ifeq: {{{SubcutaneousROA}}} | true |
                    </tr>


                    <tr>
            {{#ifeq: {{{SubcutaneousROA_Collapsed}}} | true |
                        <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
            <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                    </tr>
            <table class="ROATable mw-collapsible" width="100%">
                }}


                     {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Subcutaneous}}
                <tr>
                     <th class="ROAHeader" colspan="2">[[Routes of Administration#Subcutaneous|Subcutaneous]]</th>
                </tr>


                    {{#if: {{{SubcutaneousROA_Bioavailability}}} |
                <tr>
                    <tr>
                    <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                        <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                </tr>
                        <td class="RowValues">{{{SubcutaneousROA_Bioavailability}}}</td>
                        <!--Display bioavailability -->
                    </tr>
                    |}}


                    {{#arrayunique: SubcutaneousDosage}}
                {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Subcutaneous}}
                    {{#loop: i | 0 | {{#arraysize: SubcutaneousDosage}} |
                    {{#arraydefine: val | {{#arrayindex: SubcutaneousDosage | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                    <tr>
                {{#if: {{{SubcutaneousROA_Bioavailability}}} |
                        <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                <tr>
                     </tr>
                    <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                     <td class="RowValues">{{{SubcutaneousROA_Bioavailability}}}</td>
                    <!--Display bioavailability -->
                </tr>
                |}}


                    {{#if: {{{SubcutaneousROA_TimelineFile}}} |
                {{#arrayunique: SubcutaneousDosage}}
                    <tr>
                {{#loop: i | 0 | {{#arraysize: SubcutaneousDosage}} |
                        <td colspan="2">[[ {{{SubcutaneousROA_TimelineFile}}} | center | {{{SubcutaneousROA_TimelineWidth}}}
                {{#arraydefine: val | {{#arrayindex: SubcutaneousDosage | {{#var: i}} }} | ; }}
                            ]]
                {{#if: {{#arrayindex: val | 1 }} |
                        </td>
                <tr>
                        <!--Display timeline image -->
                    <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    </tr>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    |}}
                </tr>
                |}}
                }}


                    {{#arrayunique: SubcutaneousDuration}}
                <tr>
                    {{#loop: i | 0 | {{#arraysize: SubcutaneousDuration}} |
                    <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                    {{#arraydefine: val | {{#arrayindex: SubcutaneousDuration | {{#var: i}} }} | ; }}
                </tr>
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}


                 </table>
                {{#if: {{{SubcutaneousROA_TimelineFile}}} |
                <tr>
                    <td colspan="2">[[ {{{SubcutaneousROA_TimelineFile}}} | center | {{{SubcutaneousROA_TimelineWidth}}}
                        ]]
                    </td>
                    <!--Display timeline image -->
                 </tr>
                |}}


                {{#arrayunique: SubcutaneousDuration}}
                {{#loop: i | 0 | {{#arraysize: SubcutaneousDuration}} |
                {{#arraydefine: val | {{#arrayindex: SubcutaneousDuration | {{#var: i}} }} | ; }}
                {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                 |}}
                 |}}
                }}


                <!-- Intramuscular -->
            </table>
                {{#ifeq: {{{IntramuscularROA}}} | true |


                {{#ifeq: {{{IntramuscularROA_Collapsed}}} | true |
            |}}
                <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                <table class="ROATable mw-collapsible" width="100%">
                    }}


                    <tr>
            <!-- Intramuscular -->
                        <th class="ROAHeader" colspan="2">[[Routes of Administration#Intramuscular|Intramuscular]]</th>
            {{#ifeq: {{{IntramuscularROA}}} | true |
                    </tr>


                    <tr>
            {{#ifeq: {{{IntramuscularROA_Collapsed}}} | true |
                        <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
            <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                    </tr>
            <table class="ROATable mw-collapsible" width="100%">
                }}


                     {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Intramuscular}}
                <tr>
                     <th class="ROAHeader" colspan="2">[[Routes of Administration#Intramuscular|Intramuscular]]</th>
                </tr>


                    {{#if: {{{IntramuscularROA_Bioavailability}}} |
                <tr>
                    <tr>
                    <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                        <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                </tr>
                        <td class="RowValues">{{{IntramuscularROA_Bioavailability}}}</td>
                        <!--Display bioavailability -->
                    </tr>
                    |}}


                    {{#arrayunique: IntramuscularDosage}}
                {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Intramuscular}}
                    {{#loop: i | 0 | {{#arraysize: IntramuscularDosage}} |
                    {{#arraydefine: val | {{#arrayindex: IntramuscularDosage | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                        <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                    |}}
                    }}
                    <tr>
                        <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                    </tr>


                    {{#if: {{{IntramuscularROA_TimelineFile}}} |
                {{#if: {{{IntramuscularROA_Bioavailability}}} |
                    <tr>
                <tr>
                        <td colspan="2">[[ {{{IntramuscularROA_TimelineFile}}} | center |
                    <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                            {{{IntramuscularROA_TimelineWidth}}} ]]
                    <td class="RowValues">{{{IntramuscularROA_Bioavailability}}}</td>
                        </td>
                    <!--Display bioavailability -->
                        <!--Display timeline image -->
                </tr>
                    </tr>
                |}}
                    |}}


                    {{#arrayunique: IntramuscularDuration}}
                {{#arrayunique: IntramuscularDosage}}
                    {{#loop: i | 0 | {{#arraysize: IntramuscularDuration}} |
                {{#loop: i | 0 | {{#arraysize: IntramuscularDosage}} |
                    {{#arraydefine: val | {{#arrayindex: IntramuscularDuration | {{#var: i}} }} | ; }}
                {{#arraydefine: val | {{#arrayindex: IntramuscularDosage | {{#var: i}} }} | ; }}
                    {{#if: {{#arrayindex: val | 1 }} |
                {{#if: {{#arrayindex: val | 1 }} |
                    <tr>
                <tr>
                        <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                        <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                    </tr>
                </tr>
                    |}}
                |}}
                    }}
                }}
                <tr>
                    <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                </tr>


                 </table>
                {{#if: {{{IntramuscularROA_TimelineFile}}} |
                <tr>
                    <td colspan="2">[[ {{{IntramuscularROA_TimelineFile}}} | center |
                        {{{IntramuscularROA_TimelineWidth}}} ]]
                    </td>
                    <!--Display timeline image -->
                 </tr>
                |}}


                {{#arrayunique: IntramuscularDuration}}
                {{#loop: i | 0 | {{#arraysize: IntramuscularDuration}} |
                {{#arraydefine: val | {{#arrayindex: IntramuscularDuration | {{#var: i}} }} | ; }}
                {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                 |}}
                 |}}
                }}
            </table>


                <!-- Intravenous -->
            |}}
                {{#ifeq: {{{IntravenousROA}}} | true |


                {{#ifeq: {{{IntravenousROA_Collapsed}}} | true |
            <!-- Intravenous -->
                    <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
            {{#ifeq: {{{IntravenousROA}}} | true |
                    <table class="ROATable mw-collapsible" width="100%">
                        }}


                        <tr>
            {{#ifeq: {{{IntravenousROA_Collapsed}}} | true |
                            <th class="ROAHeader" colspan="2">[[Routes of Administration#Intravenous|Intravenous]]</th>
            <table class="ROATable mw-collapsible mw-collapsed" width="100%">|
                        </tr>
            <table class="ROATable mw-collapsible" width="100%">
                }}


                        <tr>
                <tr>
                            <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                    <th class="ROAHeader" colspan="2">[[Routes of Administration#Intravenous|Intravenous]]</th>
                        </tr>
                </tr>


                        {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Intravenous}}
                <tr>
                    <th class="ROASubHeader" colspan="2">[[Dosage]]</th>
                </tr>


                        {{#if: {{{IntravenousROA_Bioavailability}}} |
                {{ISBDosageChart|substance={{{MaterialTable_Title}}}|roa=Intravenous}}
                        <tr>
                            <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                            <td class="RowValues">{{{IntravenousROA_Bioavailability}}}</td>
                            <!--Display bioavailability -->
                        </tr>
                        |}}


                        {{#arrayunique: IntravenousDosage}}
                {{#if: {{{IntravenousROA_Bioavailability}}} |
                        {{#loop: i | 0 | {{#arraysize: IntravenousDosage}} |
                <tr>
                        {{#arraydefine: val | {{#arrayindex: IntravenousDosage | {{#var: i}} }} | ; }}
                    <th class="ROARowHeader">[[Dosage#Bioavailability|Bioavailability]]</th>
                        {{#if: {{#arrayindex: val | 1 }} |
                    <td class="RowValues">{{{IntravenousROA_Bioavailability}}}</td>
                        <tr>
                    <!--Display bioavailability -->
                            <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                </tr>
                            <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                |}}
                        </tr>
                        |}}
                        }}


                        <tr>
                {{#arrayunique: IntravenousDosage}}
                            <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                {{#loop: i | 0 | {{#arraysize: IntravenousDosage}} |
                        </tr>
                {{#arraydefine: val | {{#arrayindex: IntravenousDosage | {{#var: i}} }} | ; }}
                {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Dosage_classification#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                |}}
                }}


                        {{#if: {{{IntravenousROA_TimelineFile}}} |
                <tr>
                        <tr>
                    <th class="ROASubHeader" colspan="2">[[Duration]]</th>
                            <td colspan="2">[[ {{{IntravenousROA_TimelineFile}}} | center | {{{IntravenousROA_TimelineWidth}}}
                </tr>
                                ]]
                            </td>
                            <!--Display timeline image -->
                        </tr>
                        |}}


                        {{#arrayunique: IntravenousDuration}}
                {{#if: {{{IntravenousROA_TimelineFile}}} |
                        {{#loop: i | 0 | {{#arraysize: IntravenousDuration}} |
                <tr>
                            {{#arraydefine: val | {{#arrayindex: IntravenousDuration | {{#var: i}} }} | ; }}
                    <td colspan="2">[[ {{{IntravenousROA_TimelineFile}}} | center | {{{IntravenousROA_TimelineWidth}}}
                            {{#if: {{#arrayindex: val | 1 }} |
                        ]]
                                <tr>
                    </td>
                                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                    <!--Display timeline image -->
                                    <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                                </tr>
                |}}
                            |}}
                        }}


                     </table>
                {{#arrayunique: IntravenousDuration}}
                {{#loop: i | 0 | {{#arraysize: IntravenousDuration}} |
                {{#arraydefine: val | {{#arrayindex: IntravenousDuration | {{#var: i}} }} | ; }}
                {{#if: {{#arrayindex: val | 1 }} |
                <tr>
                    <th class="ROARowHeader">[[Duration#{{#arrayindex: val | 0 }}|{{#arrayindex: val | 0 }}]]</th>
                     <td class="RowValues">{{#arrayindex: val | 1 }}</td>
                </tr>
                 |}}
                 |}}
                }}
            </table>
            |}}


                <table class="ROATable pw-disclaimer" width="100%">
            <table class="ROATable pw-disclaimer" width="100%">
                    <tr>
                <tr>
                        <td class="ROACaption" colspan="2">
                    <td class="ROACaption" colspan="2">
{{Preamble/SubstanceDisclaimer}}
{{Preamble/SubstanceDisclaimer}}
                        </td>
                    </td>
                    </tr>
                </tr>
                </table>
            </table>
            </td>
 
        </tr>
        </td>
    </tr>
 
     |}}
     |}}
</table>
</table><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>