Template:Get parameter/doc: Difference between revisions

Content deleted Content added
m Fix lint error
// Edit via Wikiplus
Line 1:
{{documentation subpage}}
{{tsh|get arg}}
{{lua|Module:Page}}
This template fetches a parameter value from a template call on a specified page: <code><nowiki>{{Get parameter | x | y | z}}</nowiki></code> gets parameter ''x'' from the call of template ''y'' on page ''z''. It's an alternate implementation of {{tl|Template parameter value}}, which while it doesn't work (and will likely produce garbage) if the page the parameter value is being fetched from contains more than a call to the template specified and some <nowiki><noinclude>d</nowiki> values, it can, on the other hand, handle piped links and other more complicated wikitext that {{tl|template parameter value}} can't handle.