Difference between revisions of "Template:List of nowrap-like templates"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Fix)
imported>Funandtrvl
(update link)
Line 1: Line 1:
 
<noinclude>{{Hatnote|This template provides a see-also section for various templates.}}</noinclude>{{navbar|List of nowrap-like templates|plain=y|style=float:right}}
 
<noinclude>{{Hatnote|This template provides a see-also section for various templates.}}</noinclude>{{navbar|List of nowrap-like templates|plain=y|style=float:right}}
 
* {{tl|nowrap}} prevents wrapping within a single template (i.e. not suitable for relatively complex or lengthy content).
 
* {{tl|nowrap}} prevents wrapping within a single template (i.e. not suitable for relatively complex or lengthy content).
* {{tl|Nowraplinks}}...{{tl|Nowraplinks end}} prevents wraps inside links while allowing wraps between links and in normal text. Very useful for link lists and easy to use.
+
* {{tl|nowraplinks}}...{{tl|nowraplinks end}} prevents wraps inside links while allowing wraps between links and in normal text. Very useful for link lists and easy to use.
* {{tl|Nowrap begin}}...{{tl|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.
+
* {{tl|nowrap begin}}...{{tl|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.
* {{tl|Spaces}} to produce multiple non-breaking spaces (or a single one).
+
* {{tl|spaces}} to produce multiple non-breaking spaces (or a single one).
* {{tl|Inline block}} affects, but does not entirely prevent, line wrapping.
+
* {{tl|inline block}} affects, but does not entirely prevent, line wrapping.
 
* {{tl|wrap}} can be used to provide a (brief) exception within a no-wrapping area.
 
* {{tl|wrap}} can be used to provide a (brief) exception within a no-wrapping area.
** {{tl|Normalwraplink}} allows links to wrap when they otherwise would not.
+
** {{tl|normalwraplink}} allows links to wrap when they otherwise would not.
 
* {{tn|·}} and {{tn|•}}, spaced and wrap-sensitive [[interpunct]] (dot) and bullet.
 
* {{tn|·}} and {{tn|•}}, spaced and wrap-sensitive [[interpunct]] (dot) and bullet.
* [[Wikipedia:Line-break handling]], the how-to guide about word/line-wrapping/breaks at Wikipedia.
+
* [[Help:Line-break handling]], the how-to guide about word/line-wrapping/breaks at Wikipedia.
** In particular, to avoid line wrapping when quoting a passage such as a poem or computer code, see {{tl|Quote#Line breaks}} - e.g. Template:Blockquote with "poem" tag.
+
** In particular, to avoid line wrapping when quoting a passage such as a poem or computer code, see {{tl|Quote#Line breaks}} - e.g. Template:Blockquote with "poem" tag.<noinclude>
<noinclude>[[Category:Documentation see also templates]]</noinclude>
+
[[Category:Documentation see also templates]]
 +
</noinclude>

Revision as of 19:27, 10 September 2020

  • {{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.
  • {{spaces}} to produce multiple non-breaking spaces (or a single one).
  • {{inline block}} affects, but does not entirely prevent, line wrapping.
  • {{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, the how-to guide about word/line-wrapping/breaks at Wikipedia.
    • In particular, to avoid line wrapping when quoting a passage such as a poem or computer code, see {{Quote#Line breaks}} - e.g. Template:Blockquote with "poem" tag.