Template:Expand/doc: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This template is used to mark articles or sections in need of expansion. | 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 | |||
<nowiki>{{expand}}</nowiki> | <nowiki>{{subst:expand}}</nowiki> | ||
When you save it, it will magically unpack itself, and the next time you edit the page containing it, you will see | |||
<nowiki>{{ | <nowiki>{{Expand|date=March 2016}}</nowiki> | ||
{{ | |||
And that will display: | |||
{{Expand|date=March 2016}} | |||
If you include the option <code>s</code>, 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: | |||
{{Expand|s|date=March 2016}} |
Revision as of 18:52, 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".