Template:Expand: Difference between revisions

From The Reed and Rite
Created page with "<sup title="{{{1|This section needs to be expanded with more information}}}">''[expand]''</sup><!-- --><includeonly>category: articles missing information</includeonly><!-- --><noinclude> This template allows you to mark a paragraph as lacking in detail. The first parameter can give an explanation of what in particular needs to be expanded, and appears as a tool-tip when you hover over the notation. It should primarily be used on {{t|partial}} articles, to help ed..."
 
m Removed behavior of the text "expand" linking to the template page. Also removed note about recursive linking logic, as it was no longer needed with this change.
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<sup title="{{{1|This section needs to be expanded with more information}}}">''[expand]''</sup><!--
<includeonly><sup>''[<span class="plainlinks"><span class="editorial-notation-tooltip"><!--
  --><span style="color:#4164c4;" title="{{#if:{{{reason|}}}<!--
    -->|{{{reason}}}<!--
    -->|This statement needs to be expanded with more information.}} {{#if:{{{date|}}}| ({{{date}}})<!--
  -->}}">expand</span></span></span>]''</sup><!--
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category: Articles Missing Information]]}}</includeonly><noinclude>
== Description ==
This template should be added after statements or paragraphs in articles that need to expanded with more information. Using the template automatically adds the article to [[:Category: Articles Missing Information]].


--><includeonly>[[category: articles missing information]]</includeonly><!--
This template is one of several [[:Help:References#Editorial_Notations|Editorial Notations]].


--><noinclude>
==Usage==
 
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
This template allows you to mark a paragraph as lacking in detail. The first parameter can give an explanation of what in particular needs to be expanded, and appears as a tool-tip when you hover over the notation. It should primarily be used on {{t|partial}} articles, to help editors find where to edit and expand. The article will be added to [[:category: articles missing information]]
|-
 
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Tag Only</span><br><div style="text-align: left;"><span style="font-weight: normal;">When just <code><nowiki>{{expand}}</nowiki></code> is passed, it will add a superscript note that says "''[expand]'' ". When you hover over it for a moment, a pop-up message will appear that says "This statement needs to be expanded with more information.".</span></div>
;See also
|-
: {{t|cite}}
! width=60%|You Type
: {{t|clarify}}
!You Get
: {{t|disputed}}
|- style="text-align: center;"
 
| <pre>An example sentence.{{expand}}</pre>
[[category: notices]]
| An example sentence.{{expand}}
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Reason Parameter</span><br><div style="text-align: left;"><span style="font-weight: normal;">When <code>reason=</code> is passed, it will replace the text "This statement needs to be expanded with more information." in the pop-up message with your input.</span></div>
|-
! width=60%|You Type
!You Get
|- style="text-align: center;"
|<pre>An example sentence.{{expand|reason=Explanation of reason.}}</pre>
|An example sentence.{{expand|reason=Explanation of reason.}}
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Date Parameter</span><br><div style="text-align: left;"><span style="font-weight: normal;">When <code>date=</code> is passed, it will add your input to the end of the pop-up message in parentheses. The pop-up message "This statement needs to be expanded with more information." will still appear unless <code>reason=</code> is also passed.</span></div>
|-
! width=60%|You Type
!You Get
|- style="text-align: center;"
|<pre>An example sentence.{{expand|date=March 1883}}</pre>
|An example sentence.{{expand|date=March 1883}}
|}


== Articles using Template ==
== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
:{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
[[Category: Notices]]

Latest revision as of 22:44, 5 June 2025

Description[edit]

This template should be added after statements or paragraphs in articles that need to expanded with more information. Using the template automatically adds the article to Category: Articles Missing Information.

This template is one of several Editorial Notations.

Usage[edit]

Tag Only
When just {{expand}} is passed, it will add a superscript note that says "[expand] ". When you hover over it for a moment, a pop-up message will appear that says "This statement needs to be expanded with more information.".
You Type You Get
An example sentence.{{expand}}
An example sentence.[expand]
Reason Parameter
When reason= is passed, it will replace the text "This statement needs to be expanded with more information." in the pop-up message with your input.
You Type You Get
An example sentence.{{expand|reason=Explanation of reason.}}
An example sentence.[expand]
Date Parameter
When date= is passed, it will add your input to the end of the pop-up message in parentheses. The pop-up message "This statement needs to be expanded with more information." will still appear unless reason= is also passed.
You Type You Get
An example sentence.{{expand|date=March 1883}}
An example sentence.[expand]

Articles using Template[edit]