Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module talk:For each named parameter

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

Way to ignore specific parameters?

[edit]

Hi. I'm trying to add a |_subst= parameter to {{Magic word link/sandbox}}, but because it uses this module the parameter instead just appears as an extra parameter to the end of the magic word link example (i.e. {{mwl|#if|foo|bar}} would produce {{#if:foo|bar|_subst=yes}} instead of an ideal {{subst:#if|foo|bar}}). Is there any way to invoke this module where it will ignore specific named parameters, such as |_subst=? Axolitl (talk | contribs) 15:53, 30 August 2026 (UTC)Reply

You can make the block inside the nowiki output nothing if the name is the one you want to exclude. For example see Module:For each named parameter/doc#Example with special handling of a parameter. * Pppery * it has begun... 03:20, 4 September 2026 (UTC)Reply