Template:P-1/doc: Difference between revisions

Template page
m (→‎top: {{Documentation subpage}})
Line 1: Line 1:
{{Documentation subpage}}
{{lua|Module:Pn}}
{{lua|Module:Pn}}
Returns the last unnamed parameter.
Returns the last unnamed parameter.

Revision as of 15:26, 20 June 2021

{{#invoke:Message box|mbox}}

Returns the last unnamed parameter.

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

Examples

  • {{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

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