Template:Nbhy

From OniGalore
Revision as of 23:26, 31 March 2026 by Iritscen (talk | contribs) (Created page with "<includeonly>‑</includeonly><noinclude> The '''non-breaking hyphen''' template provides a special hyphen in the text indicating that it should not be possible to break the line on said space. This is useful when writing text that includes a command-line option. Here, a normal hyphen is used: {| border=1 style="width:600px;" |To search for the dialogue sound with ID 03_12_01, run the OniSplit command <code>-export:03_12_01 dest_dir level3_Final.dat</code>. |} Not...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The non-breaking hyphen template provides a special hyphen in the text indicating that it should not be possible to break the line on said space. This is useful when writing text that includes a command-line option. Here, a normal hyphen is used:

To search for the dialogue sound with ID 03_12_01, run the OniSplit command -export:03_12_01 dest_dir level3_Final.dat.

Note how awkward that looks, plus the reader may miss the hyphen when copy-pasting it. This version uses a call to this template for the hyphen:

To search for the dialogue sound with ID 03_12_01, run the OniSplit command ‑export:03_12_01 dest_dir level3_Final.dat.