Template:Expand article/doc: Difference between revisions

From VNDev Wiki
Initial
 
Initial
 
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}


This is the {{tlx|Expand article}} message box.
This should be placed at the top of articles that need expansion.
 
It should be placed at the '''top''' of the article.


==Usage==
==Usage==
This template can be used without any parameters, like this:
:{{tlx|expand article}}
 
:{{Tlx|expand article|explanation}}
:{{Tlx|expand article}}
 
{{expand article}}
 
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 further.) Like this:
 
:{{Tlx|expand article|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
 
or
 
:{{Tlx|expand article|<nowiki>{{subst:DATE}}</nowiki>}}
 
{{expand article|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.
 
This template can also take a <code>|1=</code> 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:


:{{Tlx|expand article|2=1=examples and additional citations|3=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
==Examples==
:{{Tlx|expand article|examples and additional citations}}


{{expand article|1=examples and additional citations|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
{{expand article|examples and additional citations}}


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:


:{{Tlx|expand article|1{{=}}<nowiki/><br />* Career from 1952 to 1960 <br />* Final days after 1972 retirement <br />
:{{Tlx|expand article|&lt;nowiki/&gt;<br />* Career from 1952 to 1960 <br />* Final days after 1972 retirement}}
|<nowiki>{{subst:DATE}}</nowiki>}}


{{expand article|1=<nowiki />
{{expand article|<nowiki />
* Career from 1952 to 1960
* Career from 1952 to 1960
* Final days after 1972 retirement
* Final days after 1972 retirement}}
|date=February 2012}}


(The <code>&lt;nowiki /&gt;</code> is required or the first item will not display correctly.) If this list were longer than three items, it would probably be better raised on the talk page.
(The <code>&lt;nowiki /&gt;</code> is required or the first item will not display correctly)


== Categorisation ==
If this list were longer than three items, it would probably be better raised on the talk page.
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.


== See also ==
== See also ==

Latest revision as of 19:01, 18 June 2022

This should be placed at the top of articles that need expansion.

Usage

{{expand article}}
{{expand article|explanation}}

Examples

{{expand article|examples and additional citations}}

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

{{expand article|<nowiki/>
* Career from 1952 to 1960
* Final days after 1972 retirement}}

(The <nowiki /> is required or the first item will not display correctly)

If this list were longer than three items, it would probably be better raised on the talk page.

See also