Template:DPL/name next

From Wikibooks, open books for an open world
Jump to: navigation, search

simple

Template documentation[edit] [history] [purge]

This template is used by a series of subtemplates of {{DPL}} with integer names, to determine the name of the next subtemplate in the series.

Usage

The single unnamed parameter, {{{1}}}, is the integer number of the current subtemplate. One is added to {{{1}}}; call the sum n. If n is an integer, and there exists a template {{DPL/n}}, the result returned is "n". Otherwise, the result returned is "simple".

See also