Template:Expand: Difference between revisions

From The Reed and Rite
m Removed background color to allow dynamic color shift in dark mode.
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.
 
Line 1: Line 1:
<includeonly><sup>''[<span class="plainlinks"><span class="editorial-notation-tooltip">[[Template:Expand<!--
<includeonly><sup>''[<span class="plainlinks"><span class="editorial-notation-tooltip"><!--
   -->|<span title="{{#if:{{{reason|}}}<!--
   --><span style="color:#4164c4;" title="{{#if:{{{reason|}}}<!--
     -->|{{{reason}}}<!--
     -->|{{{reason}}}<!--
     -->|This statement needs to be expanded with more information.}} {{#if:{{{date|}}}| ({{{date}}})<!--
     -->|This statement needs to be expanded with more information.}} {{#if:{{{date|}}}| ({{{date}}})<!--
   -->}}">expand</span>]]</span></span>]''</sup><!--
   -->}}">expand</span></span></span>]''</sup><!--
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category: AArticles Missing Information]]}}</includeonly><noinclude>
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category: Articles Missing Information]]}}</includeonly><noinclude>
== Description ==
== 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]].  
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]].  
Line 11: Line 11:


==Usage==
==Usage==
:'''Note:''' When used on article pages, this template will render as follows ( <sup>''[<span class="plainlinks">[[:Template:expand#Description|expand]]</span>]''</sup> ) It does not render correctly on this page due to [[:Help:Markup#Internal_Links|recursive linking logic]].
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
|-  
|-  

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]