Template:Process arrow

From Linux Web Expert

(Redirected from Template:Pa)

Template documentation


Documentation

Template {{Process arrow }} or {{Pa }} used with {{Process header }} to display the arrows (← →), marks of previous/next step of the process.

Template designed for using in the multilingual pages, and changes the direction of the arrows, depending on the direction of the writing (RtL or LtR).

Parameters

There is one unnamed parameter, with next possible values:

  1. prev or previous — for use in the "previous" field of {{Process header }}
  2. next — for use in the "next" field of {{Process header }}

Also is one named parameteruselang:

  • if defined (any value), arrow direction calculated based on user interface language (through {{Uselang }});
  • by default, arrow direction calculated based on page language, calculated through "#titleparts:" magic word

Usage

Template placed in the "previous"/"next" fields of the {{Process header }}.

{{process header
 | title    = Requests for undeletion
 | section  =
 | previous = {{pa|prev}}[[WM:I/RP|Requests and proposals]]
 | next     = [[/Archives|Archives]]{{pa|next}}
 | shortcut =
 | notes    = Pages are periodically deleted by [[administrator]]s for...
}}
Requests and proposals Requests for undeletion Archives
Pages are periodically deleted by m:administrators for...

Examples

See example of using in the m:Global_sysops/en (LtR) and m:Global_sysops/ar (RtL).