\mdfsetup{
	innertopmargin=8pt,
	innerbottommargin=8pt,
	skipbelow=0pt,
	skipabove=0pt,
	everyline=true,
	backgroundcolor=gray!2,
	linecolor=black,
	fontcolor=black,
	roundcorner=0pt,
	splittopskip=25pt,
	% secondextra={
	% 		\node[
	% 			overlay,
	% 			fill=white,
	% 			anchor=west,
	% 			inner xsep=10pt
	% 		] at ([xshift=10pt]O|-P) {Turpinājums};
	% 	},
	% middleextra={
	% 		\node[
	% 			overlay,
	% 			fill=white,
	% 			anchor=west,
	% 			inner xsep=10pt
	% 		] at ([xshift=10pt]O|-P) {Excursus (Cont.)};
	% 	}
}

\newcommand{\specificationTableItem}[2]{
	\begin{mdframed}
		\textbf{#1}
	\end{mdframed}

	\begin{mdframed}
		#2
	\end{mdframed}
}

\newcommand{\moduleFunctionTable}[9]{
	\paragraph{#1}
	\begin{table}[h]
		\caption{#1}\label{tab:#2}
	\end{table}
	\specificationTableItem{Funkcijas nosaukums}{#3}
	\specificationTableItem{Funkcijas identifikators}{#4}
	\specificationTableItem{Ievads}{#5}
	\specificationTableItem{Ievade}{#6}
	\specificationTableItem{Apstrāde}{#7}
	\specificationTableItem{Izvade}{#8}
	\specificationTableItem{Paziņojumi}{#9}
}
