Modèle:Nowrap/doc

De Wiki Electrolab
< Modèle:Nowrap
Révision datée du 1 mai 2023 à 13:04 par Electrolab (discussion | contributions) (Page créée avec « {{Documentation}} {{tsh|nobr|nobreak}} {{t|Nowrap}} stops wrapping of specific text. It prevents word wraps (line breaks) within text or inside a link which contains spaces, hyphens ("-"), or, in some browsers, parentheses. 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. == Usage == :: <code><nowiki>{{nowrap|these words stay together}}</... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

{{Nowrap}} stops wrapping of specific text. It prevents word wraps (line breaks) within text or inside a link which contains spaces, hyphens ("-"), or, in some browsers, parentheses. 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.

Usage

{{nowrap|these words stay together}}
{{nowrap|a, b, c, or d.}}
{{nowrap| merry-go-round }}
{{nowrap| [[4-part harmony]] }}
{{nowrap| [[Cascading Style Sheets|CSS]] }}
{{nowrap| [[#Examples|Examples section]] }}

The template names {{nobr}} and {{nobreak}} are redirects that may be used instead of "{{nowrap}}".

TemplateData

Prevents word wraps (line breaks) within text or inside a link which contains spaces or hyphens (-).

Paramètres du modèle

ParamètreDescriptionTypeÉtat
Text1

Text or link to be protected.

Chaîneobligatoire


Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.