Difference between revisions of "Template:Expand"

From RobotX
Jump to navigation Jump to search
m (Text replacement - "</translate>" to "")
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  = '''<!--T:1--> Please <span class="plainlinks">[<tvar|url>{{fullurl:{{FULLPAGENAME}}|action=edit}}</> expand]</span> this page. {{#ifeq:{{{further|}}}|yes|<!--T:2--> Some suggested sources follow.|}}''' {{#if:{{{reason|}}}|<!--T:3--> The reason given is: ''{{{reason}}}''}}
+
| 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  = <!--T:4--> More information might be found in a section of the [[<tvar|talk>{{TALKPAGENAME}}</>|talk page]].
+
| 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:
  
  
<!--T:5-->
+
 
 
This is the <tvar|1>{{Tlx|expand}}</> message box.
 
This is the <tvar|1>{{Tlx|expand}}</> message box.
  
<!--T:6-->
+
 
 
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.
  
<!--T:7-->
+
 
 
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.
  
<!--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.)
  
==usage== <!--T:9-->
+
==usage==  
  
  
Line 44: Line 44:
  
  
<!--T:10-->
+
 
 
This template can be used without any parameters, like this:
 
This template can be used without any parameters, like this:
  
Line 53: Line 53:
  
  
<!--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.
 
It can also take the current month and year as a parameter, which is used in categorising the page into a corresponding category.
  
<!--T:12-->
+
 
 
(See more on that hereafter.)
 
(See more on that hereafter.)
  
<!--T:13-->
+
 
 
Like this:
 
Like this:
  
Line 66: Line 66:
  
  
<!--T:14-->
+
 
 
or
 
or
  
Line 75: Line 75:
  
  
<!--T:15-->
+
 
 
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.
  
<!--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.
  
<!--T:17-->
+
 
 
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.
  
<!--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 93: Line 93:
  
  
<!--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 106: Line 106:
  
  
<!--T:20-->
+
 
 
(The <tvar|1><code>&lt;nowiki /&gt;</code></> is required or the first item will not display correctly.)
 
(The <tvar|1><code>&lt;nowiki /&gt;</code></> is required or the first item will not display correctly.)
  
<!--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.
  
==Categorization== <!--T:22-->
+
==Categorization==  
 +
 
  
<!--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.
 
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.
  
<!--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}}</>.
  

Revision as of 14:30, 21 December 2019


Template documentation[create]
Template documentation
Template documentation[create]
Template documentation[create]


This is the <tvar