In the BlockEntityData field you can type in a give command generated from http://minecraft.tools/en/banner.php. MCStacker will extract what it needs from it. Shields and Banners share the same NBT to make the pattern.