Add layout attribute snippets

@shailen @ebidel PTAL
Awkward. Can you avoid using attribute and attributes in the same sentence?