{{Anchor|Foo}} could be linked to with [[#Foo|...]] from within the same article, or it could be linked to with [[Article name#Foo|...]] from other articles and from redirects.
Hidden in-text edit notice:
{{subst:Anchor comment}} → <!-- This Anchor tag serves to provide a permanent target for incoming section links. Please do not move it out of the section heading, even though it disrupts edit summary generation (you can manually fix the edit summary before you save your changes). Please do not modify it, even if you modify the section title. It is always best to anchor an old section header that has been changed so that links to it won't be broken. See [[Template:Anchor]] for details. This template is {{subst:Anchor comment}} -->
{{Daterange|July 2002|April 2004}} → July 2002 to April 2004
Edit notice in-text, hidden - for list articles that get redlinked additions
<!--
*****************************************************************************************************
* Do not add a subject that does not already have an article. *
* Write the article on a given subject BEFORE (WP:WTAF) adding a link to the article to list pages. *
*****************************************************************************************************
-->
{{subst:Long comment}} → {{Short pages monitor}}<!-- This long comment was added to the page to prevent it from being listed on Special:Shortpages. It and the accompanying monitoring template were generated via Template:Long comment. Please do not remove the monitor template without removing the comment as well.-->
{{Nowrap}} stops wrapping of specific text. It prevents word wraps (line breaks) within text or inside a link which contains spaces or hyphens ("-"). The size of the nowrapped text becomes the minimum width of that paragraph. Before you use this template you might want to read up on Wikipedia:Line-break handling.
<!--
{{No more links}}
Please be cautious when adding more external links.
Wikipedia is not a collection of links and should not be used for advertising.
Excessive or inappropriate links will be removed.
See [[Wikipedia:External links]] and [[Wikipedia:Spam]] for details.
If there are already suitable links, propose additions or replacements on
the article's talk page.
-->
{{s-start}}
{{s-aca}}
{{succession box
| title = Rector of [[University of Copenhagen]]
| years = 1841-1842
| before = [[Hans Christian Ørsted]]
| after = [[Carl Emil Scharling]]
}}
{{s-end}}
<ref>{{cite news|title=Obituary Notes: Charles Wingate |url=https://www.newspapers.com/clip/141558/the_new_york_timesnew_york_new/|newspaper=The New York Times|date=September 2, 1909|page=9|via = [[Newspapers.com]]|accessdate = July 21, 2014 }}</ref>
The following discussion is closed and will soon be archived.
{{Discussion top}} and {{Discussion bottom}} templates are used to close discussions on a talk page or a noticeboard. When used on a talk page, these templates should only be used by uninvolved editors or administrators in conjunction with the talk page guidelines and relevant advice at refactoring. They should not be used by involved parties to end a discussion over the objections of other editors.
Usage
Place {{Discussion top}}below the header containing the discussion, then place {{Discussion bottom}} at the end of the discussion. A summary of the conclusions reached may be included as a parameter in the former. Again: Place them below the header. Do not include the header, it will break archiving bots!
Example
== Header ==
{{Discussion top|reason=The result of this discussion was '''template created'''. ~~~~}}
I suggest that we make a template to note completed discussions. [[User:Example|Example]] ([[User talk:Example|talk]]) 13:05, 29 August 2015 (UTC)
* How about calling it ''discussion top'' and ''discussion bottom''? [[User:Example2|Example2]] ([[User talk:Example2|talk]]) 06:44, 3 September 2015 (UTC)
{{Discussion bottom}}
Produces:
The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section.A summary of the conclusions reached follows.
The result of this discussion was template created. Example (talk) 09:01, 1 November 2024 (UTC)
I suggest that we make a template to note completed discussions. Example (talk) 13:05, 29 August 2015 (UTC)
How about calling it discussion top and discussion bottom? Example2 (talk) 06:44, 3 September 2015 (UTC)
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
{{Collapse}} - used for placing collapse boxes around short discussions and bits of discussions. Do not use around content that consists of or includes wikitables. To fold long discussion threads, use {{Collapse top}}... lots of text ...{{Collapse bottom}}. This template should only be used in accordance with the Wikipedia:refactoring guideline; it should never be used to end a discussion over the objections of other editors, except in cases of unambiguous disruptive editing.
Example:
{{subst:Collapse|1=Discussion text to be put into box.|2=Title of box|bg=#FDD5B1}}
{{Hidden
| framestyle = <!-- CSS styling applied to section -->
| titlealign = <!-- center (default), left or right -->
| titlestyle = <!-- CSS styling applied to title -->
| title = Example
| content = ''{{Lorem ipsum}}''
}}
Produces:
Example
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{Divhide}} - will allow you to collapse a section of a page. The first parameter is the title of the collapse section, and the second (optional parameter) is the width. To close the section, use {{divhide|end}}.
Example:
{{divhide|Test}}
These are the hidden contents.
{{divhide|end}}
Produces:
Test
These are the hidden contents.
Example:
{{divhide|Half test|50%}}
These are the hidden contents, and the box only takes up 50% of the page.
{{divhide|end}}
Produces:
Half Test
These are the hidden contents, and the box only takes up 50% of the page.
{{Inappropriate comment
|action=tag over
|reason=See [[WP:NOT]]
|comment=Power to the people, Wikipedia is an anarchy! Forget [[WP:PROCESS]]—we don't need no policy! For fire shall fall from the skies like a burning beacon of freedom! Username×tamp
}}
{{Clear}}
Produces:
Power to the people, Wikipedia is an anarchy! Forget WP:PROCESS—we don't need no policy! For fire shall fall from the skies like a burning beacon of freedom! Username×tamp
Wikipedia does not provide medical advice. The following comment seeks medical advice. This is not a suitable place. Please seek a real-life medical professional.Comments from well-meaning Wikipedians may not represent best practice in the poster's country of origin, and there is a danger that best practice may be misrepresented or, at worst, deliberately distorted.No further edits should be made to this discussion.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{show
|Header!
|Content!
This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.}}
Produces:
Header!
Content!
This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.
[[File:Oh no, not this shit again.jpg|thumb|right|~~~~]]
{{Clear}}
Produces:
Ping not showing in page view: [[User:Sam Sailor|{{Zwsp}}]] – Zwsp = the Zero-width space character, U+200BZERO WIDTH SPACE (​, ​, ​, ​, ​). This idea was made into a template:
{{Reflist hide}} → Add {{reflist hide}} to a page to hide the references list. This template may be placed on a user page to eliminate error messages without showing the reference list. It may also be used on help pages to separate examples and ensure that reference lists are explicitly closed.
To indicate text is a variable name. Use for any variable names except those including "I" (uppercase i) and/or "l" (lowercase L); for these, {{var serif}} should be used to ensure a noticeable distinction
To display parameters as used in code (i.e. with triple braces), especially to indicate relationships between them. May be combined with {{para}} above
To display parameter values lightly bordered; replaces <code>...</code>, especially when value contains embedded or leading/trailing blanks; visualized here with middot (·) but can use ␠, ▯, or any character.
To showcase with colors in horizontal format the syntax of any template, while providing an easy way to display placeholder texts using colons as separators
To indicate text is source code. To nest other templates within {{code}}, use <code>...</code>. {{codett}} differs only in styling: someMethod becomes someMethod
( or {{dc}}) To indicate deprecated source code in template documentation, articles on HTML specs, etc. The {{dc2}} variant uses strike-through (<blink>) while {{dcr}} uses red (<blink>).
To showcase with colors and multiple lines (vertical format) the syntax of any template, while providing an easy way to display placeholder texts using colons as separators
User page: This is a Wikipedia user page, not an encyclopedia article. If you find this page on any site other than Wikipedia, you are viewing a mirror site. Be aware that the page may be outdated and that the user to whom this page belongs may have no personal affiliation with any site other than Wikipedia itself. The original page is located at https://en.wikipedia.org/wiki/User:Sam_Sailor/Boilerplates/Templates.