Template talk:Lop
From Meta
Link with Optional Pipe.
Stepwise evaluation by stepwise application of "subst:":
*{{lop|a|}}
*{{lop|a|b}}
*{{if p2 is empty call p3 else call p4|a||link|piped link}}
*{{if p2 is empty call p3 else call p4|a|b|link|piped link}}
*{{template call2|1=piped link|1=link|2=a|3=}}
*{{template call2|1=piped link|1b=link|2=a|3=b}}
*{{link|a|}}
*{{piped link|a|b}}
*[[a]]
*[[a|b]]
These last intermediate results before rendering (the fully expanded wikitexts) are also produced by Special:ExpandTemplates.
These wikitexts give:

