Module:Unsubst/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
20 revisions imported
(cleanup some markup) |
m (20 revisions imported) |
||
(15 intermediate revisions by 13 users not shown) | |||
Line 1:
<!-- Categories where indicated at the bottom of this page, please. -->
{{High-risk|
{{Module rating|protected}}
Line 20:
</pre>
The wikitext to display when not substed must be given as "$B". All other parameters passed to the #invoke will be copied to the generated template invocation as default values. If the value of any of these default parameters is
Some templates have a {{tag|noinclude|o}} but no matching {{tag|noinclude|c}} at the end of the template. In such cases the missing {{tag|noinclude|c}} must be added before the ending <code>{{))}}</code>.
Line 41:
These parameters can be manipulated using parser functions to provide more complicated options (note that in the parameters any parser function, or template or module invocation, should also have <code><nowiki>SAFESUBST:<noinclude /></nowiki></code>).
Parameter {{para|$template-name}} will override the subst'd templates name with the template name assigned to this parameter.
=== Example ===
|