Puzzle Potato Dry Brush.png
UnNews Logo Potato1.png

Welcome to the Mother Ship of amateur comedy writing! (Amateur means we don't pay you to do it.)

This is where the original Uncyclopedia wound up. You might as well pick a user name. We have no "partners" that want to sell you stuff. Giving your email simply lets you recover your password; we don't send spam. Uncyclopedians get a talk page, private edit area, and a welcome, maybe, if you actually edit; and we won't de-platform you for your views, if they're funny.


Template:Anchor

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
[edit] [purge] Template-info.svg Template documentation

Description

Inserts invisible HTML identifiers ("anchors") into the page. This allows for jumping to a particular page area, without creating a different visible section name.

Usage

This should be substituted within section headings. Otherwise, the template name itself will appear in edit summaries attached to that section, and may break edit summary section links to that section. It can be left unsubstituted elsewhere.

Outside section headings

{{Anchor|name|…}}

Inside section headings

{{subst:Anchor|name|…}}

Examples

#something interesting and #alternate title don't appear in the table of contents above but can still be clicked on. Spaces are legal. Problematic characters are ", #, |, and =.

Example 1

{{Lorem ipsum}}

{{Anchor|something interesting}} Something interesting.

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.

Something interesting.

Example 2

==== Example section heading{{subst:Anchor|alternate title}} ====

Example section heading

History

Originally wikicode, the Wikipedia Lua version was installed to make substitution "clean": it prevents the entire code of the template from appearing upon substitution.

Further reading