No edit summary |
(→See also: cats) |
||
Line 12: | Line 12: | ||
* {{tl|P1}}, returns the first unnamed parameter | * {{tl|P1}}, returns the first unnamed parameter | ||
<includeonly>{{sandbox other|| | |||
<!-- Template categories below this line --> | |||
[[Category:Parameter selection templates]] | |||
}}</includeonly> |
Revision as of 16:56, 28 June 2020
This template uses Lua: |
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