Template:CheckPages2

From Pestinfo-Wiki
Jump to: navigation, search

The template takes the following 3 parameters:

|1= 
previous error message(s)
|2= 
first page
|3= 
last page

It checks whether the parameter "First page" is equal to the parameter "Last page". If yes then an error message is returned. If the Error message (first parameter) already contains some text then the separator ";;" and the new message is appended. If there is no error parameter 1 is returned.

Usage:

{{CheckPages2|2=23|3=23}}

… results in:

Missing author(s) at a one-page article: Please add the name(s) of the author(s).