Formatted layout variable code