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

Content deleted Content added
નાનું en:Template:Expand_section/doc માંથી આયાત કરેલ ૪૦ પુનરાવર્તનો
લીટી ૧:
{{documentation subpage}}
{{high-use|32100+ ≈ 33290 }}
 
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,(Ambox) butstyle; 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''.
Line ૧૭ ⟶ ૧૨:
 
<pre>
{{Expand section}}
{{sect-stub
| reason1 = (or Arg1with= or for=)
| smallsection = no(section number)
| small = no (default is "yes")
| talksection = (LINKlink with NO brackets, "[[]]"; displays only if small is '=no')
| date = Month YYYY
|
| period = <!--no--> (included after the input for "1=" from above by default - use this only in instances where terminal punctuation should be placed before a reference)
}}
</pre>
 
;'''or inline short form'''
 
<pre>{{sect-stubExpand section | reason1 = (or Arg1with= or for=) | smallsection = (section number) | small = no (default is "yes") | talksection= (or talk= or discuss=) | date= }}</pre>
 
===Parameters===
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.)
This template may be used without parameters, and a BOT will add the date when necessary.
 
;date=
:{{Tlx|Expand section}}
:The current month and year can be used in the {{para|date}} parameter. This will add the page to a sub-category sorted by date used (see the [[#Categorisation|Categorisation]] section of this page for more information:
 
{{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>}}
 
:results in:
 
{{Expand section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
 
See [[#Categorisation|the section&nbsp;''Categorisation'']] for more information.
 
;section=
There are [[Wikipedia:Bot policy|bots]] that edit the pages and add the <code>date=</code> parameter if you forget to do it.
:The {{para|section}} parameter is used to link to the edit screen of the article's section in which this template is placed. If this template is placed in the second section after the TOC, then use {{para|section|2}}:
 
:{{Tlx|Expand section|section{{=}}2|<nowiki>{{subst:DATE}}</nowiki>}}
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:
 
:results in:
:{{Tlx|Expand section|1{{=}}examples and additional citations|3=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
 
{{Expand section|1section=examples and additional citations2|date={{CURRENTMONTHNAME}}  {{CURRENTYEAR}} }}
 
:and links to the edit screen for the ''second section'' of the page ''after the TOC''.
When you need to raise multiple yet simply explainable 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>}}
 
;1=, with=, or for=
{{Expand section|1=<nowiki />
:An unnamed parameter, {{para|1}} (or one of the named parameters, {{para|with}} or {{para|for}}), may be used to explain what expansion is needed in the section:
* Career from 1952 to 1960
* Final days after 1972 retirement
|date=November 2016}}
 
:{{Tlx|Expand section|1{{=}}examples and additional citations|3section{{=}}1|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
(The <code>&lt;nowiki /&gt;</code> is required or the first item may not display correctly.)
 
:results in:
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]].
 
{{Expand section|1=examples and additional citations|section=1|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talksection=Template talk:Expand section#When should this template be used? }}
 
:When multiple expansion issues need to be raised, explain them in a new section on the article's [[WP:Talk page|discussion page]], and use the next two parameters for reader convenience.
 
 
;small= and talksection=
 
:The default for the {{para|small}} parameter is "yes", which means that if this parameter is omitted, then the size of the tag will default to the sizes shown above. Use {{para|small|no}} to result in a larger section tag and to enable the {{para|talksection}} parameter ({{para|talk}} or {{para|discuss}} may also be used):
 
:{{Tlx|Expand section|1{{=}}examples and additional citations|section{{=}}1|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}|small{{=}}no|talksection{{=}}Template talk:Expand section#When should this template be used?}}
 
:results in:
 
:{{Expand section|1=examples and additional citations|section=1|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|small=no|talksection=Template talk:Expand section#When should this template be used?}}
 
== Categorisation ==
 
When {{Tlx|Expand section}} is used without a <code>{{para|date=</code>}} parameter in an article in the Main/Article[[WP:Mainspace|main article]] [[WP:Namespace|namespace]], the article is placedsorted into [[:Category:{{Cat|Articles to be expanded]]}}. Once aA bot or an editor addswill then add the date parameter, and the article iswill placedbe insorted to a category whosewith a name that reflects the date given. For example, if you use the parameter, <code>{{para|date=|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}</code>}} is used, the article will be added to [[:Category:{{Cat|Articles to be expanded from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]]}}.
 
No matter what parameters youare useused with this template, it also adds the article to [[:Category:{{Cat|All articles to be expanded]]}}.
 
== Choosing the right template ==
Line ૮૦ ⟶ ૮૭:
=== For an empty section ===
 
If the section is completely empty, you should usethe {{Tlx|Empty section}} template should be used instead of this template.
 
The exception would be an empty section used for references, as explained in the following sectionsubsection.
 
=== For a References or Notes section ===
=== For a section for references (aka footnotes {{what}}<!-- ?? references and footnotes are different things -->) and sources ===
 
When the section you thinkthat needs expansion is aused sectionto forlist citingcited sources, usethen either {{Tlx|No footnotes}} or {{Tlx|More footnotes needed}} should be used instead of {{Tlx|Empty section}} or {{Tlx|Expand section}}.
 
'''Note:''' Unlike the other templates mentioned, thesethose footnote/reference"footnotes" templates should go at the beginning/TOP of the page, just under any hatnotes, rather than at the beginning of thea section.
 
In the Main/Articlemain article namespace, [[WP:Citing sources|citing sources]] is an important part of the article, doneperformed by using the tags, <code><nowiki><ref></ref></nowiki></code>, which in turn are collected and formatted into text in the section containing the {{Tlx|Reflist}} template or the <code><nowiki><references /></nowiki></code> tag. This section (or sub-section, as might be donethe case if the sources are listed separately) is most often namedtitled "References", butand can have other names.
 
If the article has a section that contains either {{Tlx|Reflist}} or <code><nowiki><references /></nowiki></code>, ''the section can still appear blank'' on the saved, rendered page if the article has no text within <code><nowiki><ref></ref></nowiki></code> tags. Such a section is still considered blank, even though the template or tag wikitext can be seen in Edit mode,. soIn usethat case the {{Tlx|No footnotes}} template should be used at the TOP of the page just beneath any hatnotes.
 
== TemplateData ==
{{TemplateData header}}
{{TemplateDataHeader}}
<!-- Why no "reason" here for the param "reason"? This is very confusing. At the beginning, an example with "reason =" is given. --><templatedata>
{
Line ૧૦૮ ⟶ ૧૧૫:
"with",
"for"
]
},
"period": {
"label": "Terminal punctuation",
"description": "If set to 'no', this parameter omits the terminal punctuation after the input for the 'with'/'for' parameter (i.e., the reason the template was added); this is normally only used if references are included after terminal punctuation.",
"type": "boolean",
"required": false,
"example": "no",
"default": "yes",
"autovalue": "",
"aliases": [
"punctuation"
]
},
Line ૧૩૬ ⟶ ૧૫૫:
"default": "yes",
"autovalue": ""
},
"section": {
"description": "Section number of the section with the template",
"type": "number"
}
},
Line ૧૪૩ ⟶ ૧૬૬:
 
== See also ==
* {{tlx|Clarify}} and {{tlx|ElucidateExplain}} (both inline)
* {{tlx|ExpandIncomplete list}}
* {{tlx|Empty section}}
* {{tlx|Incomplete}}
* {{tlx|Missing information}}
 
<includeonly>{{Sandbox other||
 
[[Category:Cleanup templates|{{PAGENAME}}]]
Line ૧૫૫ ⟶ ૧૭૭:
[[Category:Wikipedia section templates]]
 
}}</includeonly>