Jump to content

Help talk:Recursive conversion of wikitext

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 10 years ago by Igottheconch in topic Template:subst

Parser functions[edit]

If the substitution call is in a parameter of a parser function which is also substituted, two iteration steps are carried out in one save.


Thus it does not seem possible to put the construct of the previous section inside an if-construct.

--Hillgentleman 08:42, 24 April 2007 (UTC)Reply

No, I mean that e.g. in Template:Square root with defaults I had to put the branching to distinguish a defined and undefined parameter value at every occurrence of the parameter, instead of having "if" with a substitution call in the then-part and another in the else-part.--Patrick 12:41, 24 April 2007 (UTC)Reply

new preprocessor[edit]

Expansion limit is to be replaced by "preprocessor node count": [1].

Notice also that there is an ongoing discussion on parser development. [2]


It can be created using Template:subst containing "{{subst:"

Except, on the English Wikipedia, that template contains something different, making this documentation wrong for there. I barely understand this page enough as it is, so I'm not going to edit it myself, but someone needs to do something about that. -- Hex (talk) 09:52, 24 September 2012 (UTC)Reply

Also, I might as well add that this page is excruciatingly poorly-written and difficult to understand. -- Hex (talk) 09:55, 24 September 2012 (UTC)Reply
This is an advanced topic. The reader is supposed to understand that the template name is an example.--Patrick (talk) 14:42, 24 September 2012 (UTC)Reply
It fails completely at conveying that impression. It needs rewriting; the "advanced" documentation here that I've encountered is written like UNIX documentation from the 1980s, and based around massive assumptions about the reader. -- Hex [t/c] 09:37, 26 September 2012 (UTC)Reply
Agree with hex fully. Igottheconch (talk) 15:54, 26 September 2013 (UTC)Reply

I rewrote this page, it really needed work. there was no explanation of what each of these templates are, editors used the confusing Template:tim with no explanation. The examples are still overly complex, but I hope my changes helps the next editor. Igottheconch (talk) 16:45, 26 September 2013 (UTC)Reply


Hi. Can you please use the Meta:Sandbox? PiRSquared17 (talk) 16:27, 26 September 2013 (UTC)Reply