Difference between revisions of "Template:Nowraplinks end"

From CWCki
Jump to navigation Jump to search
m
m
Line 18: Line 18:
{{nowraplinks end}}
{{nowraplinks end}}


The template prevents the text from breaking the up the words in the links.  However, the unlinked sentences could break as usual.  [[Template:nowraplink end]] closes the formatting and the text afterward breaks as usual.
The template prevents the text from breaking the up the words in the links.  However, the unlinked sentences could break as usual.  [[Template:nowraplinks end]] closes the formatting and the text afterward breaks as usual.
}}
}}


[[Category:Formatting and function templates|{{PAGENAME}}]]</noinclude>
[[Category:Formatting and function templates|{{PAGENAME}}]]</noinclude>

Revision as of 02:22, 30 November 2010

Usage

These usage notes will not be included in articles bearing this template.

This is a formatting template used to prevent word wraps (line breaks) inside links (links with spaces in them) and only allows word wraps between the links and in normal text. This is useful for instance for long link lists. It works similarly to Template:nowrap and Template:nowrap begin.

The format for using this template is as follows:

{{nowraplinks}}

[[Sonichu|This link will not wrap]] - [[DIRTY CRAPPED BRIEFS|This link also won't wrap]] -
[[Chris|And so on]] - But this sentence might word wrap.

{{nowraplinks end}}


- Displays:

This link will not wrap - This link also won't wrap - And so on - But this sentence might word wrap.

The template prevents the text from breaking the up the words in the links. However, the unlinked sentences could break as usual. Template:nowraplinks end closes the formatting and the text afterward breaks as usual.