Basic element layout plugin for query