Template:Expand/doc: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
{{Expand|s|date=March 2016}} | {{Expand|s|date=March 2016}} | ||
You can use this in conjunction with the <code><nowiki>subst:</nowiki></code> feature: | |||
<nowiki>{{subst:expand|s}}</nowiki> |
Revision as of 18:53, 27 March 2016
This template is used to mark articles or sections in need of expansion.
This template "unsubstitutes" itself to set its date. When you put it in a page, you can use
{{subst:expand}}
When you save it, it will magically unpack itself, and the next time you edit the page containing it, you will see
{{Expand|date=March 2016}}
And that will display:
Script error: No such module "Unsubst".
If you include the option s
, the template will interpret this as meant for just one section rather than the whole article, and the infobox switches to "small-left" style instead of the bigger full-page one:
Script error: No such module "Unsubst".
You can use this in conjunction with the subst:
feature:
{{subst:expand|s}}