Difference between revisions of "Template:Expand"
Jump to navigation
Jump to search
Joelmartin (talk | contribs) m (Text replacement - "</translate>" to "") |
Joelmartin (talk | contribs) m (Text replacement - "<!--T:(.*)-->" to "") |
||
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 = ''' Please <span class="plainlinks">[<tvar|url>{{fullurl:{{FULLPAGENAME}}|action=edit}}</> expand]</span> this page. {{#ifeq:{{{further|}}}|yes| Some suggested sources follow.|}}''' {{#if:{{{reason|}}}| The reason given is: ''{{{reason}}}''}} |
− | | fix = | + | | fix = More information might be found in a section of the [[<tvar|talk>{{TALKPAGENAME}}</>|talk page]]. |
| date = {{{date|}}} | | date = {{{date|}}} | ||
| cat = Articles to be expanded{{#translation:}} | | cat = Articles to be expanded{{#translation:}} | ||
Line 24: | Line 24: | ||
− | + | ||
This is the <tvar|1>{{Tlx|expand}}</> message box. | This is the <tvar|1>{{Tlx|expand}}</> message box. | ||
− | + | ||
It can be placed at the top of article sections that need expansion, ''after'' the section title. | It can be placed at the top of article sections that need expansion, ''after'' the section title. | ||
− | + | ||
It can also be used on other pages such as in "<tvar|1>{{ns:Project}}:</>" space. | It can also be used on other pages such as in "<tvar|1>{{ns:Project}}:</>" space. | ||
− | + | ||
(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.) | ||
− | ==usage== | + | ==usage== |
Line 44: | Line 44: | ||
− | + | ||
This template can be used without any parameters, like this: | This template can be used without any parameters, like this: | ||
Line 53: | Line 53: | ||
− | + | ||
It can also take the current month and year as a parameter, which is used in categorising the page into a corresponding category. | It can also take the current month and year as a parameter, which is used in categorising the page into a corresponding category. | ||
− | + | ||
(See more on that hereafter.) | (See more on that hereafter.) | ||
− | + | ||
Like this: | Like this: | ||
Line 66: | Line 66: | ||
− | + | ||
or | or | ||
Line 75: | Line 75: | ||
− | + | ||
There are [[Wikipedia:Bot policy|bots]] that edit the pages and add the '''date''' parameter if you forget to do it. | There are [[Wikipedia:Bot policy|bots]] that edit the pages and add the '''date''' parameter if you forget to do it. | ||
− | + | ||
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. | ||
− | + | ||
This template can also take a <tvar|1>{{para|1}}</> parameter with an explanation of what expansion the section needs. | This template can also take a <tvar|1>{{para|1}}</> parameter with an explanation of what expansion the section needs. | ||
− | + | ||
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 93: | Line 93: | ||
− | + | ||
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 106: | Line 106: | ||
− | + | ||
(The <tvar|1><code><nowiki /></code></> is required or the first item will not display correctly.) | (The <tvar|1><code><nowiki /></code></> is required or the first item will not display correctly.) | ||
− | + | ||
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. | ||
− | ==Categorization== | + | ==Categorization== |
+ | |||
− | |||
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. | 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. | ||
− | + | ||
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}}</>. | ||