ઢાંચો:Expand section/doc: આવૃત્તિઓ વચ્ચેનો તફાવત

Content deleted Content added
Replaced content with '{{KILLME}}'
imported>Jack Frost
નાનું Reverted 1 edit by 2602:30A:2E79:7C00:7C25:FC76:1D5A:F292 (talk) to last revision by Fixuture. (TW)
લીટી ૧:
{{documentation subpage}}
{{KILLME}}
{{high-use|31100+}}
 
This is the {{Tlx|Expand section}} message box template.
 
{{TOCright}}
 
== Usage ==
 
Place this template at the beginning of article sections that need expansion, ''after'' that section's title. You can use this template in the Main/Article or Wikipedia namespaces.
 
{{As of |2016|August}}, this template only uses the "article message box" style, but this will be fixed in the future.
 
Recommended use is with a talk page link explaining what is needed and ''especially any justification for your judgement''.
 
Note: {{tl|sect-stub}} is a shortcut used for consistency with [[Template:Stub|other]] [[Template:Cleanup|cleanup]] [[Template:Cleanup section|templates]].
 
<pre>
{{sect-stub
| reason = (or Arg1)
| small = no
| talksection = (LINK, displays only if small is 'no')
| date = Month YYYY
|
}}
</pre>
 
;or inline short form
 
<pre>{{sect-stub | reason = (or Arg1) | small = no | talksection= | date= }}</pre>
 
3.) {{what}}<!-- This is confusing. Maybe this would be better removed. --> You can use this template without any parameters: (But a BOT edit will occur if you do not add the date as hereafter, so please do so.)
 
:{{Tlx|Expand section}}
 
{{Expand section}}
 
4.) {{what}}<!-- This is confusing. Maybe this would be better removed. --> You can also use the current month and year as a parameter, which adds the page to a template-related category's sub-category sorted by time:
 
:{{Tlx|Expand section|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
 
or
 
:{{Tlx|Expand section|<nowiki>{{subst:DATE}}</nowiki>}}
 
{{Expand section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
 
See [[#Categorisation|the section&nbsp;''Categorisation'']] for more information.
 
There are [[Wikipedia:Bot policy|bots]] that edit the pages and add the <code>date=</code> parameter if you forget to do it.
 
You can add a {{para|1}} (a.k.a. {{what}} {{para|with}} or {{para|for}}) parameter with an explanation of what expansion the section needs, and you can of course use the date parameter at the same time:
 
:{{Tlx|Expand section|1{{=}}examples and additional citations|3=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
 
{{Expand section|1=examples and additional citations|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
 
When you need to raise multiple yet simply explanable expansion issues, you can make a bullet list within the template:
 
:{{Tlx|Expand section|1{{=}}&lt;nowiki /&gt;<br />* Career from 1952 to 1960 <br />* Final days after 1972 retirement <br />
|<nowiki>{{subst:DATE}}</nowiki>}}
 
{{Expand section|1=<nowiki />
* Career from 1952 to 1960
* Final days after 1972 retirement
|date=November 2016}}
 
(The <code>&lt;nowiki /&gt;</code> is required or the first item may not display correctly.)
 
However, if you want to raise more than a few simple points, your issues would better be raised in a new section of the [[WP:Talk page|talk page]].
 
== Categorisation ==
 
When {{Tlx|Expand section}} is used without a <code>date=</code> parameter in an article in the Main/Article [[WP:Namespace|namespace]], the article is placed in [[:Category:Articles to be expanded]]. Once a bot or an editor adds the parameter, the article is placed in a category whose name reflects the date given. For example, if you use the parameter, <code>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}</code>, the article will be added to [[:Category:Articles to be expanded from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]].
 
No matter what parameters you use with this template, it also adds the article to [[:Category:All articles to be expanded]].
 
== Choosing the right template ==
 
=== For an empty section ===
 
If the section is completely empty, you should use {{Tlx|Empty section}} instead.
 
The exception would be an empty section used for references, as explained in the following section.
 
=== For a section for references (aka footnotes {{what}}<!-- ?? references and footnotes are different things -->) and sources ===
 
When the section you think needs expansion is a section for citing sources, use either {{Tlx|No footnotes}} or {{Tlx|More footnotes}} instead of {{Tlx|Empty section}} or {{Tlx|Expand section}}.
 
'''Note:''' Unlike the other templates mentioned, these footnote/reference templates should go at the beginning of the page, rather than the beginning of the section.
 
In the Main/Article namespace, [[WP:Citing sources|citing sources]] is an important part of the article, done using the tags, <nowiki><ref></ref></nowiki>, which in turn are collected and formatted into text in the section containing {{Tlx|Reflist}} or <nowiki><references /></nowiki>. This section (or sub-section, as might be done if the sources are listed separately) is most often named References, but can have other names.
 
If the article has a section that contains either {{Tlx|Reflist}} or <nowiki><references /></nowiki>, ''the section can still appear blank'' on the saved, rendered page if the article has no text within <nowiki><ref></ref></nowiki> tags. Such a section is still considered blank, even though the template or tag wikitext can be seen in Edit mode, so use {{Tlx|No footnotes}}.
 
== TemplateData ==
{{TemplateDataHeader}}
<!-- Why no "reason" here for the param "reason"? This is very confusing. At the beginning, an example with "reason =" is given. --><templatedata>
{
"description": "Can be placed at the beginning of article sections that need expansion, after the section title.",
"params": {
"1": {
"label": "reason",
"description": "Reason the template was added, an explanation of what expansion the section needs. A bulleted list with lines beginning '*' can be given.",
"type": "string",
"required": false,
"aliases": ["with","for"]
},
"talksection": {
"label": "talksection",
"description": "A section heading in the talk page where the issue is discussed. Note: The talksection parameter only displays if the parameter small is set to 'no'.",
"type": "string",
"required": false,
"aliases": ["discuss","talk"]
},
"date": {
"label": "date",
"description": "The month and year the template was added, e.g. 'August 2013'.",
"type": "string",
"required": false
},
"small": {
"label": "small",
"description": "By default the template will be displayed in a small size. This can be changed by setting small to no. Not recommended in articles.",
"type": "string",
"required": false
}
}
}
</templatedata>
 
== See also ==
* {{tlx|Clarify}} and {{tlx|Elucidate}} (both inline)
* {{tlx|Expand list}}
* {{tlx|Empty section}}
* {{tlx|Incomplete}}
* {{tlx|Missing information}}
 
<includeonly>
 
[[Category:Cleanup templates|{{PAGENAME}}]]
[[Category:Exclude in print]]
[[Category:Wikipedia section templates]]
 
</includeonly>