Difference between revisions of "Template:Expand section/doc"

From FamilySearch Wiki
Jump to navigation Jump to search
(Created page with '{{documentation subpage}} This is the {{tl|Expand section}} message box. It can be placed at the top of article sections that need expansion, ''below'' the section title. It ca…')
 
Line 21: Line 21:
 
{{Expand section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
 
{{Expand section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
  
There are [[FamilySearch Wiki: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.
+
There are 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.
  
 
This template can also take a {{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:
 
This template can also take a {{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:
Line 43: Line 43:
 
== Categorisation ==
 
== Categorisation ==
  
When this template is used in main (article) space it places the article in [[:Category:Articles to be expanded]] or in a dated category like [[:Category:Articles to be expanded from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]] if the date parameter "date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}" is specified. It also places the article in [[:Category:All articles to be expanded]].
+
When this template is used in main (article) space it places the article in [[:Category:Articles to be expanded]] or in a dated category like Category:Articles to be expanded from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]] if the date parameter "date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}" is specified. It also places the article in Category:All articles to be expanded
  
 
== Usage ==
 
== Usage ==
 
*If the section is completely empty, use {{tl|Empty section}} instead.
 
*If the section is completely empty, use {{tl|Empty section}} instead.
*For the references section, use one of {{tl|No footnotes}} and {{tl|More footnotes}} instead.
+
*For the references section, use one of <nowiki>{{tl|No footnotes}}</nowiki> and <nowiki>{{tl|More footnotes}}</nowiki> instead.
  
 
== See also ==
 
== See also ==
 
* {{tl|Expand section}}
 
* {{tl|Expand section}}
 
* {{tl|Expand further}}
 
* {{tl|Expand further}}
* {{tl|Expand list}}
+
* <nowiki>{{tl|Expand list}}</nowiki>
 
* {{tl|Empty section}}
 
* {{tl|Empty section}}
  

Revision as of 15:50, 27 January 2020

This is the {{Expand section}} message box.

It can be placed at the top of article sections that need expansion, below the section title. It can also be used on other pages such as in "FamilySearch Wiki:" space. (This template currently only uses the "article message box" style, but that is a bug we are going to fix.)

This template can be used without any parameters, like this:

{{Expand section}}

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 below.) Like this:

{{Expand section|date=July 2021}}

or

{{Expand section|{{subst:DATE}}}}

There are 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.

This template can also take a |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:

{{examples and additional citations|date=July 2021}}

When multiple expansion issues need to be raised, a bullet list can be made:

{{Expand section|1=<nowiki />
* Career from 1952 to 1960
* Final days after 1972 retirement
|{{subst:DATE}}}}

(The <nowiki /> is required or the first item will not display correctly.) If this list would be longer than three items, it is probably best just raise the issues on the talk page.

Categorisation[edit source]

When this template is used in main (article) space it places the article in Category:Articles to be expanded or in a dated category like Category:Articles to be expanded from July 2021]] if the date parameter "date=July 2021" is specified. It also places the article in Category:All articles to be expanded

Usage[edit source]

  • If the section is completely empty, use {{Empty section}} instead.
  • For the references section, use one of {{tl|No footnotes}} and {{tl|More footnotes}} instead.

See also[edit source]