Template:Expand/doc: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
When you save it, it will magically unpack itself, and the next time you edit the page containing it, you will see | When you save it, it will magically unpack itself, and the next time you edit the page containing it, you will see | ||
{{tx|Expand|date=March 2016}} | |||
And that will display: | And that will display: | ||
Line 14: | Line 14: | ||
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: | 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}} | {{Expand|s|date=March 2016}} | ||
You can use this in conjunction with the | You can use this in conjunction with the {{c|<nowiki>subst:</nowiki>}} feature: | ||
<nowiki>{{subst:expand|s}}</nowiki> | <nowiki>{{subst:expand|s}}</nowiki> |
Latest revision as of 19:44, 9 April 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}}
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}}