Template:Process arrow/doc
This is a documentation subpage for Template:Process arrow. It contains usage information, categories and other content that is not part of the original Template page. |
Documentation
editTemplate {{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
editThere is one unnamed parameter, with next possible values:
prev
orprevious
— for use in the "previous" field of {{Process header }}next
— for use in the "next" field of {{Process header }}
Also is one named parameter — uselang
:
- 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
editTemplate 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
editSee example of using in the m:Global_sysops/en (LtR) and m:Global_sysops/ar (RtL).