Template:Expand section/doc: Difference between revisions

Content deleted Content added
→top: Add {{Newcomer task notice}}.
 
Adapt local policies, template notices and guidance for independent Elite Dangerous Wiki; preserve index layout
 
Line 6:
 
== 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 Wikipediaproject namespaces.
 
{{plainlist|1=
Line 54:
;date
 
The {{para|date}} parameter sorts the article into subcategories of [[:Category:Articles to be expanded]], allowing the oldest ones to be identified and dealt with first. You do not need to specify the date manually; a [[WPElite Dangerous Wiki:Bots|bot]] will add it later automatically.
 
;find parameters
Line 61:
* {{para|find}} to specify keywords for an exact search (double-quoted query); this corresponds to {{tl|find sources}} positional param one.
* {{para|find2}} to specify keywords for an unquoted search; this corresponds to {{tl|find sources}} param two.
If you want to display {{tl|find sources}} links in the box, but are not sure of what search keywords to use, try setting {{para|find|''Article title''}} and {{para|find2|''Section title''}}. If the article title is a long, [[WPProject:NDESCEditorial guidance|descriptive title]] unlikely to generate good results as a long, double-quoted search query, try swapping the values of the two params.
 
==Examples==
Line 104:
{{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 [[WPProject:Talk page guidelines|discussion page]], and use the next two parameters for reader convenience.
 
 
Line 123:
== Categorisation ==
 
When {{Tlx|Expand section}} is used without a {{para|date}} parameter in an article in the [[WPProject:MainspaceManual of Style|main article]] [[WPProject:NamespaceTemplate documentation|namespace]], the article is sorted to {{Cat|Articles to be expanded}}. 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 {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} is used, the article will be added to {{Cat|Articles to be expanded from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}.
 
No matter what parameters are used with this template, it also adds the article to {{Cat|All articles to be expanded}}.
Line 141:
'''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, [[WPElite Dangerous Wiki:Citing sources|citing sources]] is an important part of the article, performed 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 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 {{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. In that case the {{Tlx|No footnotes}} template should be used at the TOP of the page just beneath any hatnotes.