Template:Expand sectionEdit This Page

From FamilySearch Wiki

(Difference between revisions)
(add style = width: 246px;)
(add parameter for category so that it can be supressed)
 
Line 15: Line 15:
 
   | {{#if:{{{small|}}}|<br />|&#32;}}See the [[{{TALKPAGENAME}}#{{anchorencode:{{{talksection}}}}}|talk page]].
 
   | {{#if:{{{small|}}}|<br />|&#32;}}See the [[{{TALKPAGENAME}}#{{anchorencode:{{{talksection}}}}}|talk page]].
 
   }}
 
   }}
}}<includeonly>[[Category:Articles to be expanded]]</includeonly><!--{{Expand section}} end--><noinclude>
+
}}<includeonly>{{{category|[[Category:Articles to be expanded]]}}}</includeonly><!--{{Expand section}} end--><noinclude>
  
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 06:11, 27 January 2012

[view] [edit] [history] [purge] Documentation icon Template documentation

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=August 2015}}

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=August 2015}}

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

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 August 2015 if the date parameter "date=August 2015" is specified. It also places the article in Category:All articles to be expanded.

Usage

See also

  • This page was last modified on 27 January 2012, at 06:11.
  • This page has been accessed 1,260 times.