Template:Normalwraplink
Jump to navigation
Jump to search
[[{{{1}}}|{{{1}}}]]
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Normalwraplink in articles based on its TemplateData.
TemplateData for Normalwraplink
This template can be used within a sidebar to wrap links which are normally not broken by whitespace, such as in the title.
{{wraplink|link|title}}
⧼templatedata-doc-param-name⧽ | ⧼templatedata-doc-param-desc⧽ | ⧼templatedata-doc-param-type⧽ | ⧼templatedata-doc-param-status⧽ | |
---|---|---|---|---|
Link | 1 | The target page | ⧼templatedata-doc-param-type-wiki-page-name⧽ | ⧼templatedata-doc-param-status-required⧽ |
Display text | 2 | The text displayed as the link. Defaults to the page name (i.e. like normal piping). | ⧼templatedata-doc-param-type-line⧽ | ⧼templatedata-doc-param-status-optional⧽ |
See also
- {{nowrap}} prevents wrapping within a single template (i.e. not suitable for relatively complex or lengthy content).
- {{nowraplinks}} ... {{nowraplinks end}} prevents wraps inside links while allowing wraps between links and in normal text. Very useful for link lists and easy to use.
- {{nowrap begin}} ... {{nowrap end}} prevents wraps in both text and links. For the trickier wrapping cases when you need full control, for instance in very complex link lists.
- {{word joiner}} prevents wraps for both two adjacent characters.
- {{avoid wrap}} prevents wraps unless the space is too narrow to display the text on one line.
- {{inline block}} does the same and allows further style customization, but does not automatically add the "avoidwrap" CSS class.
- {{spaces}} produces multiple non-breaking spaces (or a single one).
- {{wrap}} can be used to provide a (brief) exception within a no-wrapping area.
- {{normalwraplink}} allows links to wrap when they otherwise would not.
- {{·}} and {{•}}, spaced and wrap-sensitive interpunct (dot) and bullet.
- Help:Line-break handling, Wikipedia's how-to guide about word wrapping and line breaks.
- In particular, to avoid line wrapping when quoting a passage such as a poem or computer code, see Template:Quote § Line breaks – e.g. Template:Blockquote with "poem" tag.