How to make layout for single item of loop

I do that by calling the template with a variable set to the post slug
[template id=12345 postid=poodle]

Then the loop in the template looks like
<Loop type="dogs" id="{Get local=postid}">