Template:EmergencyClinic: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 6: Line 6:
     <h6 class="card-subtitle mb-2 text-muted">{{{Location|No Location Provided}}}</h6>
     <h6 class="card-subtitle mb-2 text-muted">{{{Location|No Location Provided}}}</h6>
     <p class="card-text">{{{Description|No Description Available}}}</p>
     <p class="card-text">{{{Description|No Description Available}}}</p>
     <htmltag tagname="button" class="btn btn-primary" type="button" data-toggle="collapse" data-target="#details-{{{Name}}}" aria-expanded="false" aria-controls="details-{{{Name}}}">
     <htmltag tagname="button" class="btn btn-primary places-button" type="button" data-toggle="collapse" data-target="#details-{{{Name}}}" aria-expanded="false" aria-controls="details-{{{Name}}}">
       Show Details
       Show Details
     </htmltag>
     </htmltag>
Line 21: Line 21:
         {{#if: {{{Antivenom|}}}|<li class="list-group-item"><i class="fas fa-syringe"></i> <strong>Antivenom Available:</strong> {{{Antivenom}}}</li>}}
         {{#if: {{{Antivenom|}}}|<li class="list-group-item"><i class="fas fa-syringe"></i> <strong>Antivenom Available:</strong> {{{Antivenom}}}</li>}}
         {{#if: {{{Facilities|}}}|<li class="list-group-item"><i class="fas fa-info-circle"></i> <strong>Facilities:</strong> {{{Facilities}}}</li>}}
         {{#if: {{{Facilities|}}}|<li class="list-group-item"><i class="fas fa-info-circle"></i> <strong>Facilities:</strong> {{{Facilities}}}</li>}}
        {{#if: {{{GoogleMapsURL|}}}|<li class="list-group-item"><i class="fas fa-map-marked-alt"></i> <strong>Google Maps:</strong> <htmltag tagname="a" href="{{{GoogleMapsURL}}}" target="_blank">View on Google Maps</htmltag></li>}}
       </ul>
       </ul>
     </div>
     </div>
Line 26: Line 27:
</div>
</div>
</includeonly>
</includeonly>


<noinclude>
<noinclude>
Line 46: Line 48:
* '''Antivenom''': Information about the availability of antivenom for snake bites.
* '''Antivenom''': Information about the availability of antivenom for snake bites.
* '''Facilities''': Available facilities at the location.
* '''Facilities''': Available facilities at the location.
* '''GoogleMapsURL''': URL link to the location on Google Maps.


To use this template, add the following code to your page and fill in the parameters:
To use this template, add the following code to your page and fill in the parameters:
Line 65: Line 68:
| Antivenom = Yes
| Antivenom = Yes
| Facilities = Waiting area, pharmacy, diagnostic services
| Facilities = Waiting area, pharmacy, diagnostic services
| GoogleMapsURL = URL_of_google_maps
}}
}}
</pre>
</pre>
Line 154: Line 158:
             "label": "Facilities",
             "label": "Facilities",
             "description": "Available facilities at the location.",
             "description": "Available facilities at the location.",
            "type": "string",
            "required": false
        },
        "GoogleMapsURL": {
            "label": "Google Maps URL",
            "description": "URL link to the location on Google Maps.",
             "type": "string",
             "type": "string",
             "required": false
             "required": false

Navigation menu