Template:Lrpage/doc
Appearance
This is a documentation subpage for Template:Lrpage. It contains usage information, categories and other content that is not part of the original template page. |
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.