Predloga:Razširi razdelek

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search
Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

Ta predloga se lahko uporabi na začetku razdelka v članku, ki potrebuje razširitev.

Uporaba[uredi kodo]

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.

{{Razširi razdelek}}
{{Razširi razdelek|date=oktober 2021}}
{{Razširi razdelek|small=no}}
{{Razširi razdelek|with=več podatkov o otroštvu|talk=Early life|small=no}}

{{Razširi razdelek|small=no|find=search keywords}}

Dolga oblika:

{{Razširi razdelek
 | 1           = (or with= or for=)
 | section     = (section number)
 | small       = no (default is "yes")
 | talksection = (link with NO brackets, "[[]]"; displays only if small=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)
}}

Parametri[uredi kodo]

Pregled[uredi kodo]

This template may be used without parameters, and a BOT will add the date when necessary.

  • |1=what and why – (or with= or for=) add a few words about what needs expansion and why
  • |small=no  – (default when omitted: a small message bocetaex flush left)[a]
  • |talksection=Section name  – (link with NO brackets, "[[]]"; displays only if small=no)
  • |date=oktober 2021
  • |find=your search keywords  – search terms for {{find sources}} param 1 (double-quoted search). This optional parameter adds a set of links produced by the {{find sources}} template to the output. If omitted, no "find sources" links are displayed. Details below.
  • |find2=additional search terms  – search keywords for {{find sources}} param 2 (unquoted search).
  • |section=  – (section number)
  • |period=  – <!--no--> (included after the input for "1=" from above by default - use this

Podrobnosti[uredi kodo]

small

When the |small= parameter is omitted, a small, left-justified message box is displayed. This can be overridden: use |small= with any value (such as, no to result in a wider message box.[a]

Use of the wider box with |small=no also enables display of the |talksection= parameter. (|talk= or |discuss= may also be used). In most cases, display of "find sources" results will be easier to read in a wide box, but are permitted in the default, smaller box.

date

The |date= parameter sorts the article into subcategories of Kategorija:Članki za razširitev, allowing the oldest ones to be identified and dealt with first. You do not need to specify the date manually; a bot will add it later automatically.

find parameters

There are two 'find' parameters available to control the presentation and operation of the {{find sources}} links optionally displayed by the template. The find parameters can be used to provide the search keywords of your choice to the {{find sources}} links. Use:

  • |find= to specify keywords for an exact search (double-quoted query); this corresponds to {{find sources}} positional param one.
  • |find2= to specify keywords for an unquoted search; this corresponds to {{find sources}} param two.

If you want to display {{find sources}} links in the box, but are not sure of what search keywords to use, try setting |find=Article title and |find2=Section title. If the article title is a long, descriptive title unlikely to generate good results as a long, double-quoted search query, try swapping the values of the two params.

Zgledi[uredi kodo]

or inline short form

{{Razširi razdelek |1=what and why|small=no|talk=Talk_section find=Article title or search terms|find2=Section title or more terms|section=n|date=oktober 2021}}

date=
The current month and year can be used in the |date= parameter. This will add the page to a sub-category sorted by date used (see the Categorisation section of this page for more information:
{{Razširi razdelek|date=oktober 2021}}
or
{{Razširi razdelek|{{subst:DATE}}}}
results in:


section=
The |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 |section=2:
{{Razširi razdelek|section=2|{{subst:DATE}}}}
results in:
and links to the edit screen for the second section of the page after the TOC.


1=, with=, or for=
An unnamed parameter, |1= (or one of the named parameters, |with= or |for=), may be used to explain what expansion is needed in the section:
{{Razširi razdelek|1=examples and additional citations|section=1|date=oktober 2021}}
results in:
When multiple expansion issues need to be raised, explain them in a new section on the article's discussion page, and use the next two parameters for reader convenience.


small=

Specify |small=no to generate a wide box, and enable param |talksection=.

talksection=

Prerequisite: requires |small=no, otherwise presence and values of |talksection= are ignored.

{{Razširi razdelek|1=examples and additional citations|section=1|date=oktober 2021|small=no|talksection=Template talk:Razširi razdelek#When should this template be used?}}
results in:

Kategorizacija[uredi kodo]

When {{Razširi razdelek}} is used without a |date= parameter in an article in the main article namespace, the article is sorted to Kategorija:Članki za razširitev. A bot or an editor will then add the date parameter, and the article will be sorted to a category with a name that reflects the date given. For example, if the |date=oktober 2021 is used, the article will be added to Kategorija:Articles to be expanded from oktober 2021.

No matter what parameters are used with this template, it also adds the article to Kategorija:All articles to be expanded.

Izbira prave predloge[uredi kodo]

For an empty section[uredi kodo]

If the section is completely empty, the {{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 subsection.

For a References or Notes section[uredi kodo]

When the section that needs expansion is used to list cited sources, then either {{No footnotes}} or {{More footnotes needed}} should be used instead of {{Empty section}} or {{Razširi razdelek}}.

Note: Unlike the other templates mentioned, those "footnotes" templates should go at the beginning/TOP of the page, just under any hatnotes, rather than at the beginning of a section.

In the main article namespace, citing sources is an important part of the article, performed by using the tags, <ref></ref>, which in turn are collected and formatted into text in the section containing the {{Reflist}} template or the <references /> tag. This section (or sub-section, as might be the case if the sources are listed separately) is often titled "References", and can have other names.

If the article has a section that contains either {{Reflist}} or <references />, the section can still appear blank on the saved, rendered page if the article has no text within <ref></ref> tags. Such a section is still considered blank, even though the template or tag wikitext can be seen in Edit mode. In that case the {{No footnotes}} template should be used at the TOP of the page just beneath any hatnotes.

TemplateData[uredi kodo]

To je TemplateData dokumentacija za predlogo, ki jo uporablja VisualEditor in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Razširi razdelek

Can be placed at the beginning of article sections that need expansion, after the section title.

Parametri predloge

Za to predlogo se uporablja postavitev parametrov v eni vrstici.

ParameterOpisVrstaStanje
Reason1 with for

Reason the template was added, an explanation of what expansion the section needs. A bulleted list with lines beginning '*' can be given.

Vsebinaizbirno
Terminal punctuationperiod punctuation

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.

Privzeto
yes
Zgled
no
Samodejna vrednost
Pogojni izrazizbirno
Talk sectiontalksection discuss talk

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'.

Nizizbirno
Month and yeardate

The month and year the template was added, e.g. 'July 2017'.

Samodejna vrednost
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Nizpredlagano
Smallsmall

By default the template will be displayed in a small size. This can be changed by setting small to no. Not recommended in articles.

Privzeto
yes
Zgled
no
Samodejna vrednost
Pogojni izrazizbirno
Findfind

Search keywords for double-quoted search to pass to 'find sources'.

Zgled
Article title
Vrsticaizbirno
Find2find2

Search keywords for unquoted search to pass to 'find sources'.

Zgled
Section title
Vrsticaizbirno
sectionsection

Section number of the section with the template

Številkaizbirno

See also[uredi kodo]

Notes[uredi kodo]

  1. 1,0 1,1 Note that any value for |small= results in a wide box, so, |small=yes and |small=no produce the same results: a wide box. This is due to the operation of Ambox.