Template:Position

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Position/doc.

Translates the relative position (right, left, corner, etc) into various languages (this template calls {{Position parameter}})

Usage

{{Position |1= |2= |side= |on= |border= |corner= }}

Template parameters

ParameterDescriptionDefaultStatus
1
  • top → top
  • bottom → bottom
  • left → left
  • right → right
  • center → center
emptyoptional
2
  • left → left
  • center → center
  • right → right
  • unknown → unknown where
  • emptyoptional
    side
  • recto → recto
  • verso → verso
  • obverse → obverse
  • reverse → reverse
  • emptyoptional
    on
  • base → on the base
  • frame → on the frame
  • emptyoptional
    border
  • all → on borders
  • top → on top border
  • left → on left border
  • right → on right border
  • bottom → on bottom border
  • emptyoptional
    corner
  • topleft → top-left corner
  • topright → top-right corner
  • bottomleft → bottom-left corner
  • bottomright → bottom-right corner
  • emptyoptional

    Additional information

    The template is intended to be used in the following namespaces: all namespaces

    The template is intended to be used by the following user groups: all users

    Example

    {{Position|top|left|side=recto|on=frame|border=bottom|corner=bottomleft}}
    

    renders as:

    recto, top left on the frame on bottom border bottom-left corner

    Localization

    To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)