Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Appropriate uses for hidden text  





2 Inappropriate uses for hidden text  





3 How to enter hidden text  





4 See also  














Wikipedia:Manual of Style/Hidden text






العربية
Azərbaycanca
تۆرکجه
Türkçe
 

Edit links
 









Project page
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< Wikipedia:Manual of Style

On Wikipedia, hidden text is text that is visible when editing the source for the page or when using VisualEditor, but not on the "rendered" version of the page presented to readers of the article.

Invisible comments are useful for alerting other editors to issues such as common mistakes that regularly occur in the article, a section title's being the target of an incoming link, or pointing to a discussion that established a consensus relating to the article. They should not be used to instruct other editors not to perform certain edits, although where existing local consensus is against making such an edit, they may usefully draw the editor's attention to that. Avoid adding too many invisible comments because they can clutter the wiki source for other editors.

Appropriate uses for hidden text

Some situations where hidden text is useful and good to have in articles:

Inappropriate uses for hidden text

Types of hidden text that should not be added include:

How to enter hidden text

Enter <!-- Comment --> and replace the word "Comment" with the hidden text you desire. Example (and note that line breaks in the comment itself do not show up in the rendered page):

The clock tower was constructed in 1928,<ref name="historicalsociety"/> and while it was struck by lightning in November 1955,<ref name="picayune"/><!--

The Picayune-Herald article lists it as being constructed in 1929, but the Historical Society's book (and the original city documents) show it was built in 1928.

--> it remained functional until 1987,
<!--Some sources erroneously cite this as having taken place in 1989.-->
when its face was permanently damaged in a fight between a high school student and an immortal vampire.<ref name="araki"/>

This will render as:

The clock tower was constructed in 1928,[1] and while it was struck by lightning in November 1955,[2] it remained functional until 1987, when its face was permanently damaged in a fight between a high school student and an immortal vampire.[3]

Check that your invisible comment does not upset the article's formatting, for example by introducing unwanted white space.

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:Manual_of_Style/Hidden_text&oldid=1214919310"

Category: 
Wikipedia Manual of Style (content)
 



This page was last edited on 22 March 2024, at 01:03 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki