Chapter header wanted in a separate page

Consider the following:

\documentclass{book}
\usepackage{titlesec}
\usepackage{lipsum}

\titleformat{\chapter}[display]
{\normalfont\Large\filcenter\sffamily}
{\titlerule[1pt]%
\vspace{1pt}%
\titlerule
\vspace{1pc}%
\LARGE\MakeUppercase{\chaptertitlename} \thechapter}
{1pc}
{\titlerule
\vspace{1pc}%
\Huge}
[\newpage] % creates the new page

\begin{document}
\chapter{test}
\lipsum{1-5}
\end{document}

enter image description here

This is how the titleformat is configured:

\titleformat{command}[shape]{format}{label}{sep}{before}[after]

Check out the titlesec package.


The following is crudely stolen from azeinta's answer with the request in the comment incorporated.

\documentclass{book}

\usepackage{titlesec}
\usepackage{lipsum}

\titleformat{\chapter}[display]
{\normalfont\Large\filcenter\sffamily}
{\vspace*{\fill}
 \titlerule[1pt]%
 \vspace{1pt}%
 \titlerule
 \vspace{1pc}%
 \LARGE\MakeUppercase{\chaptertitlename}~\thechapter}
{1pc}
{\titlerule\Huge}
[\vspace*{\fill}\newpage]

\begin{document}

\chapter{test}
\lipsum{1-5}

\end{document}

If you don't want the chapter title page to be counter as a page in your document, you can use the following:

\documentclass{book}

\usepackage{titlesec}
\usepackage{lipsum}

\titleformat{\chapter}[display]% command + shape
{%
 \normalfont
 \Large
 \filcenter
 \sffamily
} % format
{%
 \vspace*{\fill}
 \titlerule[1pt]%
 \vspace{1pt}%
 \titlerule
 \vspace{1pc}%
 \LARGE\MakeUppercase{\chaptertitlename}~\thechapter%
}% label
{
 1pc
}% separation
{
 \titlerule
 \Huge
} % before
[%
 \vspace*{\fill}
 \thispagestyle{empty}
 \clearpage
 \addtocounter{page}{-1}
]% after

\begin{document}

\chapter{Test~A}
\lipsum{1-5}

\chapter{Test~B}
\lipsum{1-5}

\end{document}