Template:Lrpage/doc

From Wikisource
Jump to navigation Jump to search

Helper template to assist in creation of markup that changes between left and right formatting, depending on which namespace they are invoked from without needing to write extensive handling code directly in templates, for that situation.

Usage[edit]

  • {{lrpage}} at the point at which left or right would be conventionally written in the template concerned.

This template generates left if invoked from Page namespace but right in other namespaces.