Jump to content

Template:Expand: Difference between revisions

From NixOS Wiki
imported>Samueldr
m Misplaced a parenthesis.
DoggoBit (talk | contribs)
m DoggoBit moved page Template:Expansion to Template:Expand: Better name
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}{{DISPLAYTITLE:Template:expansion}}
<includeonly>{{Notice
'''An "expansion" flag used to indicate incomplete articles.'''
  |color=var(--color-base)
 
  |background=var(--background-color-neutral-subtle)
== Usage ==
  |iconColor=var(--color-progressive)
 
  |icon=
This template should be added at the beginning of articles or sections lacking in detail. Ensure to cite specific concerns with the first argument and possibly also on the flagged article's discussion page.
  |'''This {{{scope|article or section}}} needs to be expanded.''' {{{reason|}}} Further information may be found in [{{fullurl:{{{talk|{{{2|{{TALKPAGENAME}}#{{{section|}}}}}}}}}}} the related discussion page]. Please consult the [[:Category:Pedias|pedia article metapage]] for guidelines on contributing.
 
}}{{#ifeq:{{{category|yes}}}|yes|[[Category:Pages or sections flagged with Template:Expansion]][[Category:Articles to be expanded]][[Category:Articles with issues]]|}}</includeonly><noinclude>{{Documentation}}</noinclude>
<nowiki>{{Expansion|reason}}</nowiki>
 
You can override the default discussion page with a second optional argument:
 
<nowiki>{{Expansion|reason|Talk:Alternative Page}}</nowiki>
 
Alternatively you can point to a specific section in the default talk page with the named {{ic|section}} parameter:
 
<nowiki>{{Expansion|reason|section=Section name}}</nowiki>
 
Flagged pages can be found in [[Special:WhatLinksHere/Template:Expansion]] or in [[:Category:Pages or sections flagged with Template:Expansion]]. If knowledgeable in a subject, users are encouraged to participate to expand the article or section and remove the {{ic|<nowiki>{{Expansion}}</nowiki>}} flag when finished.
 
{{Note|The talk page is linked through an external link: this is to avoid polluting [[Special:WantedPages]] when the talk page does not exist.}}
 
== Example ==
 
<nowiki>{{Expansion|This is just a demonstration template.}}</nowiki>
 
{{Expansion|This is just a demonstration template.}}
 
<hr />
 
<nowiki>{{Expansion}}</nowiki>
 
{{Expansion}}
 
</noinclude><includeonly>{{META Message
|border = #3daee9
|signal          = [[Image:Breeze-preferences-other.png|link=]]
|heading        = This article or section needs expansion.
|message        = '''Reason:''' {{{reason|{{{1|This article is a stub.}}}}}} (Discuss in [{{fullurl:{{{talk|{{{2|{{TALKPAGENAME}}#{{{section|}}}}}}}}}}}{{{talk|{{{2|{{TALKPAGENAME}}#{{{section|}}}}}}}}}])<br />Please consult the [[:Category:Discussion|discussion article metapage]] for guidelines on contributing.}}[[Category:Pages or sections flagged with Template:Expansion]]</includeonly>

Latest revision as of 23:38, 7 June 2025

Template Documentation [edit source| uses| help]

This template can be used to mark an article or section that is incomplete, needlessly succinct, or that needs more information to be added. Editors are encouraged to regularly check the list of articles that need to be expanded and contribute by adding more information to them.

☶︎
This article or section needs to be expanded. Further information may be found in the related discussion page. Please consult the pedia article metapage for guidelines on contributing.

Usage

One can simply include this template in a page to produce a notice like the one above:

{{expand}}

You can also include a reason for the notice, as well as the scope of the information to be expanded. For example, a notice that specifies this template needs expanding because there are features that can be added would look like this:

{{expand|scope=template|There are new features that can be added.}}
☶︎
This template needs to be expanded. Further information may be found in the related discussion page. Please consult the pedia article metapage for guidelines on contributing.