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

From FamilySearch Wiki
Jump to navigation Jump to search
m (fix template)
 
(One intermediate revision by one other user not shown)
Line 23: Line 23:
 
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.
 
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.
  
 +
**NOTE**: Para|1 can not appear in the same document multiple times calling up different values, even as an explanation, without causing many errors. Please note that Para|1 has now had the 1 removed**
 +
 
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:
  
:{{tlc|Expand section|1=examples and additional citations|3=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
+
:{{tlc|Expand section|x=examples and additional citations|3=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
  
{{Expand section|1=examples and additional citations|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
+
{{Expand section|x1=examples and additional citations|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
  
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: the template after the pipe | will need to have a 1=
  
:{{tlc|Expand section|1{{=}}&lt;nowiki /&gt;<br />* Career from 1952 to 1960<br />* Final days after 1972 retirement<br />
+
:{{tlc|Expand section|{{=}}
 +
* Career from 1952 to 1960
 +
* Final days after 1972 retirement<br>
 
|<nowiki>{{subst:DATE}}</nowiki>}}
 
|<nowiki>{{subst:DATE}}</nowiki>}}
  
{{Expand section|1=<nowiki />
+
{{Expand section|x4=
 
* Career from 1952 to 1960
 
* Career from 1952 to 1960
 
* Final days after 1972 retirement
 
* Final days after 1972 retirement
 
|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 
|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
  
(The <code>&lt;nowiki /&gt;</code> 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.
+
(The <code></nowiki></code> 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 ==
+
== Categorization ==
  
 
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

Latest revision as of 14:49, 5 February 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=September 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.

    • NOTE**: Para|1 can not appear in the same document multiple times calling up different values, even as an explanation, without causing many errors. Please note that Para|1 has now had the 1 removed**

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:

{{Expand section|date=September 2021}}

When multiple expansion issues need to be raised, a bullet list can be made: the template after the pipe | will need to have a 1=

{{Expand section|=
  • 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.

Categorization[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 September 2021]] if the date parameter "date=September 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]