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

From LIMSWiki
Jump to navigationJump to search
m (1 revision)
 
(Updated.)
 
Line 3: Line 3:
This is the {{tl|Expand section}} message box.
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 can also be used on other pages such as in "Wikipedia:" space. (This template currently only uses the "article message box" style, but that is a bug we are going to fix.)
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 "LIMSWiki:" 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:
This template can be used without any parameters, like this:
Line 11: Line 11:
{{Expand section}}
{{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:
It can also take the current month and year as a parameter, which is used in categorizing the page into a corresponding category. (See more on that below.) Like this:


:{{tlc|Expand section|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
:{{tlc|Expand section|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
Line 17: Line 17:
{{Expand section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
{{Expand section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}


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 categorize properly.


This template can also take an unnamed 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 an unnamed 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 25: Line 25:
{{Expand section|examples and additional citations|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
{{Expand section|examples and additional citations|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}


== 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]].
Line 43: Line 43:
<includeonly>
<includeonly>
[[Category:Cleanup templates|{{PAGENAME}}]]
[[Category:Cleanup templates|{{PAGENAME}}]]
[[Category:Exclude in print]]
[[ar:قالب:بذرة مقطع]]
[[bg:Шаблон:Раздел-мъниче]]
[[cs:Šablona:Pahýl část]]
[[fa:الگو:بخش-خرد]]
[[fr:Modèle:Section vide ou incomplète]]
[[id:Templat:Kembangkan bagian]]
[[is:Snið:Stækka]]
[[it:Template:S sezione]]
[[ja:Template:節stub]]
[[ko:틀:부분 토막글]]
[[no:Mal:Seksjonstubb]]
[[os:Шаблон:Section-stub]]
[[pl:Szablon:Sekcja stub]]
[[pt:Predefinição:Expandir seção]]
[[ro:Format:Extinde-secţiune]]
[[ru:Шаблон:Expand]]
[[fi:Malline:Tynkä/osa]]
[[sv:Mall:Stubavsnitt]]
[[simple:Template:Expand section]]
[[tr:Şablon:Başlık genişlet]]
[[uk:Шаблон:Section stub]]
[[vi:Tiêu bản:Phần sơ khai]]
[[zh:Template:Sectstub]]
</includeonly>
</includeonly>

Latest revision as of 02:47, 31 May 2013

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 "LIMSWiki:" 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 categorizing the page into a corresponding category. (See more on that below.) Like this:

{{Expand section|date=November 2024}}

The date parameter causes no visible change in the message box itself, it only makes the page categorize properly.

This template can also take an unnamed 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|examples and additional citations|date=November 2024}}

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

Usage

See also