Integrate[x^(NotebookTemplateSlot["n", a, Named, ]),x]