Template:DogPark: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#vardefine:cleanName|{{#titleparts:{{{Name|No Name Provided}}}|1|999}}}}
{{#vardefine:cleanName|{{#sub:{{{Name}}}|0|50}}}} <!-- Limits the name to the first 50 characters -->
{{#vardefine:cleanName|{{#padleft:{{#var:cleanName}}|999|0}}}}<div class="card" style="display: inline-block; width: 18rem; margin-bottom: 1rem;">
<div class="card" style="display: inline-block; width: 18rem; margin-bottom: 1rem;">
   <htmltag tagname="img" class="card-img-top" src="{{{Image|https://travel.happypaws.asia/images/d/df/DefaultPlayground.jpg}}}" alt="Image of {{{Name|Unknown}}}"></htmltag>
   <htmltag tagname="img" class="card-img-top" src="{{{Image|https://travel.happypaws.asia/images/d/df/DefaultPlayground.jpg}}}" alt="Image of {{{Name|Unknown}}}"></htmltag>
   <div class="card-body">
   <div class="card-body">