Template:Expand: Difference between revisions

From The Reed and Rite
m Removed background color to allow dynamic color shift in dark mode.
Line 19: Line 19:
! width=60%|You Type
! width=60%|You Type
!You Get
!You Get
|- style="text-align: center; background-color: white;"
|- style="text-align: center;"
| <pre>An example sentence.{{expand}}</pre>
| <pre>An example sentence.{{expand}}</pre>
| An example sentence.{{expand}}
| An example sentence.{{expand}}
Line 27: Line 27:
! width=60%|You Type
! width=60%|You Type
!You Get
!You Get
|- style="text-align: center; background-color: white;"
|- style="text-align: center;"
|<pre>An example sentence.{{expand|reason=Explanation of reason.}}</pre>
|<pre>An example sentence.{{expand|reason=Explanation of reason.}}</pre>
|An example sentence.{{expand|reason=Explanation of reason.}}
|An example sentence.{{expand|reason=Explanation of reason.}}
Line 35: Line 35:
! width=60%|You Type
! width=60%|You Type
!You Get
!You Get
|- style="text-align: center; background-color: white;"
|- style="text-align: center;"
|<pre>An example sentence.{{expand|date=March 1883}}</pre>
|<pre>An example sentence.{{expand|date=March 1883}}</pre>
|An example sentence.{{expand|date=March 1883}}
|An example sentence.{{expand|date=March 1883}}

Revision as of 22:52, 27 May 2025

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 is one of several Editorial Notations.

Usage

Note: When used on article pages, this template will render as follows ( [expand] ) It does not render correctly on this page due to recursive linking logic.
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