Module:Unsubst/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
No edit summary
m (→‎Usage: rm $N)
Line 19:
</pre>
 
The wikitext to display when not substed must be given as "$B". AAll parameterother "$N"parameters maypassed alsoto bethe seen#invoke inwill somebe templates;copied thisto wasthe requiredgenerated intemplate aninvocation olderas versiondefault ofvalues. If the module,value butof isany noof longerthese necessarydefault andparameters mayis be"__DATE__", removed.that Suchvalue templatesin arethe automaticallygenerated placedtemplate ininvocation {{clc|Callswill tobe Module:Unsubstthe thatcurrent usemonth and $N}}year.
 
Some templates have a <nowiki><&lt;noinclude></nowiki>&gt; but no matching <nowiki><&lt;/noinclude></nowiki>&gt; at the end of the template. In such cases the missing <nowiki><&lt;/noinclude></nowiki>&gt; must be added before the ending <code><nowiki>{{))}}</nowiki></code>.
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 "__DATE__", that value in the generated template invocation will be the current month and year.
 
Some templates have a <nowiki><noinclude></nowiki> but no matching <nowiki></noinclude></nowiki> at the end of the template. In such cases the missing <nowiki></noinclude></nowiki> must be added before the ending <code><nowiki>}}</nowiki></code>.
 
=== Example ===
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu