Template:P-1/doc

Template page
Revision as of 10:54, 17 November 2023 by Gelthor (talk | contribs) (5 revisions imported: Imported from https://en.wikipedia.org/w/)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#invoke:Message box|mbox}}

Returns the last unnamed parameter.

Wrapper for Module:Pn setting index to -1 (last value).

Examples[edit source]

  • {{p-1 | a | b | c | d | e | f }} → {{#invoke:Pn |getVal | idx=-1}}
  • {{wdib|ps=1|P8011|qid=Q84055514|list=p-1}}Template:Wdib

See also[edit source]

  • {{P1}}, returns the first unnamed parameter