Difference between revisions of "Template:Expand"
Jump to navigation
Jump to search
Joelmartin (talk | contribs) m (1 revision imported) |
Joelmartin (talk | contribs) m (Text replacement - "<translate>" to "") |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch:</translate> |
| = | | = | ||
<!-- {{Expand further}} begin -->{{Ambox | <!-- {{Expand further}} begin -->{{Ambox | ||
Line 9: | Line 9: | ||
| type = {{{type|content}}} | | type = {{{type|content}}} | ||
| image = [[File:OOjs UI icon puzzle-ltr-warning.svg|40px|link=]] | | image = [[File:OOjs UI icon puzzle-ltr-warning.svg|40px|link=]] | ||
− | | issue = ''' | + | | issue = '''<!--T:1--> Please <span class="plainlinks">[<tvar|url>{{fullurl:{{FULLPAGENAME}}|action=edit}}</> expand]</span> this page.</translate> {{#ifeq:{{{further|}}}|yes|<!--T:2--> Some suggested sources follow.</translate>|}}''' {{#if:{{{reason|}}}|<!--T:3--> The reason given is:</translate> ''{{{reason}}}''}} |
− | | fix = | + | | fix = <!--T:4--> More information might be found in a section of the [[<tvar|talk>{{TALKPAGENAME}}</>|talk page]].</translate> |
| date = {{{date|}}} | | date = {{{date|}}} | ||
| cat = Articles to be expanded{{#translation:}} | | cat = Articles to be expanded{{#translation:}} | ||
Line 23: | Line 23: | ||
{{expand}} | {{expand}} | ||
− | + | ||
<!--T:5--> | <!--T:5--> | ||
This is the <tvar|1>{{Tlx|expand}}</> message box. | This is the <tvar|1>{{Tlx|expand}}</> message box. | ||
Line 29: | Line 29: | ||
<!--T:6--> | <!--T:6--> | ||
It can be placed at the top of article sections that need expansion, ''after'' the section title.</translate> | It can be placed at the top of article sections that need expansion, ''after'' the section title.</translate> | ||
− | + | ||
<!--T:7--> | <!--T:7--> | ||
It can also be used on other pages such as in "<tvar|1>{{ns:Project}}:</>" space.</translate> | It can also be used on other pages such as in "<tvar|1>{{ns:Project}}:</>" space.</translate> | ||
− | + | ||
<!--T:8--> | <!--T:8--> | ||
(This template currently only uses the "article message box" style, but that is a bug we are going to fix.) | (This template currently only uses the "article message box" style, but that is a bug we are going to fix.) | ||
Line 43: | Line 43: | ||
<nowiki>{{expand|reason=}}</nowiki> | <nowiki>{{expand|reason=}}</nowiki> | ||
− | + | ||
<!--T:10--> | <!--T:10--> | ||
This template can be used without any parameters, like this: | This template can be used without any parameters, like this: | ||
Line 52: | Line 52: | ||
{{expand}} | {{expand}} | ||
− | + | ||
<!--T:11--> | <!--T:11--> | ||
It can also take the current month and year as a parameter, which is used in categorising the page into a corresponding category.</translate> | It can also take the current month and year as a parameter, which is used in categorising the page into a corresponding category.</translate> | ||
− | + | ||
<!--T:12--> | <!--T:12--> | ||
(See more on that hereafter.)</translate> | (See more on that hereafter.)</translate> | ||
− | + | ||
<!--T:13--> | <!--T:13--> | ||
Like this: | Like this: | ||
Line 65: | Line 65: | ||
:{{Tlx|expand|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }} | :{{Tlx|expand|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }} | ||
− | + | ||
<!--T:14--> | <!--T:14--> | ||
or | or | ||
Line 74: | Line 74: | ||
{{expand|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }} | {{expand|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }} | ||
− | + | ||
<!--T:15--> | <!--T:15--> | ||
There are [[Wikipedia:Bot policy|bots]] that edit the pages and add the '''date''' parameter if you forget to do it.</translate> | There are [[Wikipedia:Bot policy|bots]] that edit the pages and add the '''date''' parameter if you forget to do it.</translate> | ||
− | + | ||
<!--T:16--> | <!--T:16--> | ||
The date parameter causes no visible change in the message box itself, it only makes the page categorise properly. | The date parameter causes no visible change in the message box itself, it only makes the page categorise properly. | ||
Line 83: | Line 83: | ||
<!--T:17--> | <!--T:17--> | ||
This template can also take a <tvar|1>{{para|1}}</> parameter with an explanation of what expansion the section needs.</translate> | This template can also take a <tvar|1>{{para|1}}</> parameter with an explanation of what expansion the section needs.</translate> | ||
− | + | ||
<!--T:18--> | <!--T:18--> | ||
And you can of course feed the date parameter at the same time. Like this: | And you can of course feed the date parameter at the same time. Like this: | ||
Line 92: | Line 92: | ||
{{expand|1=examples and additional citations|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }} | {{expand|1=examples and additional citations|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }} | ||
− | + | ||
<!--T:19--> | <!--T:19--> | ||
When multiple expansion issues need to be raised, a bullet list can be made: | When multiple expansion issues need to be raised, a bullet list can be made: | ||
Line 105: | Line 105: | ||
|date=February 2012}} | |date=February 2012}} | ||
− | + | ||
<!--T:20--> | <!--T:20--> | ||
(The <tvar|1><code><nowiki /></code></> is required or the first item will not display correctly.)</translate> | (The <tvar|1><code><nowiki /></code></> is required or the first item will not display correctly.)</translate> | ||
− | + | ||
<!--T:21--> | <!--T:21--> | ||
If this list were longer than three items, it would probably be better raised on the talk page. | If this list were longer than three items, it would probably be better raised on the talk page. | ||
Line 116: | Line 116: | ||
<!--T:23--> | <!--T:23--> | ||
When this template is used in main (article) space it places the article in <tvar|1>{{ll|Category:Articles to be expanded}}</> or in a dated category like <tvar|2>{{ll|Category:Articles to be expanded from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}</> if the date parameter "<tvar|3>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}</>" is specified.</translate> | When this template is used in main (article) space it places the article in <tvar|1>{{ll|Category:Articles to be expanded}}</> or in a dated category like <tvar|2>{{ll|Category:Articles to be expanded from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}</> if the date parameter "<tvar|3>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}</>" is specified.</translate> | ||
− | + | ||
<!--T:24--> | <!--T:24--> | ||
It also places the article in <tvar|1>{{ll|Category:All articles to be expanded}}</>. | It also places the article in <tvar|1>{{ll|Category:All articles to be expanded}}</>. |