Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

UniWiki:Manual of Style/Text formatting: Difference between revisions

From EVE University Wiki
Djavin novienta (talk | contribs)
Djavin novienta (talk | contribs)
Line 184: Line 184:
== Private Use Area and invisible formatting characters ==
== Private Use Area and invisible formatting characters ==
The only invisible characters in the editable text should be spaces and tabs. However, other invisible characters are often inserted inadvertently by pasting from a word processor. These can cause confusion with editors and handling problems with editing software. Any necessary invisible or [[Wikipedia:Private Use Area|Private Use Area]] (PUA) characters should be substituted with their decimal or hexadecimal code values so that they can be edited properly.
The only invisible characters in the editable text should be spaces and tabs. However, other invisible characters are often inserted inadvertently by pasting from a word processor. These can cause confusion with editors and handling problems with editing software. Any necessary invisible or [[Wikipedia:Private Use Area|Private Use Area]] (PUA) characters should be substituted with their decimal or hexadecimal code values so that they can be edited properly.
=== Mixed right-to-left text ===
When right-to-left text is embedded in certain left-to-right contexts, such as when tagged with a reference, it may require control characters to display properly. The marker to return to left-to-right text should be encoded as [[Left-to-right mark|<code>&amp;lrm;</code>]] or supplied through the template {{tlx|Rtl-lang}}.
Depending on your browser, there may be a difference between the display of unformatted Urdu:<br /><!--NOTE: The display of the "unformatted" ones may look particularly weird in certain browsers when previewing this section by itself; that's kind of an illustration of the problem, so don't worry about it. -->
{{in5}}{{!xt|<code>خ ?<nowiki><ref></nowiki>{{var|citation details}}<nowiki></ref></nowiki></code>}}:&nbsp;&nbsp; خ ?{{dummy ref}}
with formatted:<br />
{{in5}}{{xt|<code>خ&amp;lrm; ?<nowiki><ref></nowiki>{{var|citation details}}<nowiki></ref></nowiki></code>}}:&nbsp;&nbsp; خ&lrm; ?{{dummy ref}} or {{xt|<code><nowiki>{{Rtl-lang|ur|خ}} ?<ref></nowiki>{{var|citation details}}<nowiki></ref></nowiki></code>}}:&nbsp;&nbsp; {{Rtl-lang|ur|خ}} ?{{dummy ref}}
and unformatted:<br />
{{in5}}{{!xt|<code>(خ)<nowiki><ref></nowiki>{{var|citation details}}<nowiki></ref></nowiki></code>}}:&nbsp;&nbsp; (خ){{dummy ref}}<br />
with formatted:<br />
{{in5}}{{xt|<code>(خ)&amp;lrm;<nowiki><ref></nowiki>{{var|citation details}}<nowiki></ref></nowiki></code>}}:&nbsp;&nbsp; (خ)&lrm;{{dummy ref}} or {{xt|<code><nowiki>{{Rtl-lang|ur|(خ)}}<ref></nowiki>{{var|citation details}}<nowiki></ref></nowiki></code>}}:&nbsp;&nbsp; {{Rtl-lang|ur|(خ)}}{{dummy ref}}
If there is intervening LTR text, as in <code>خ abc<nowiki><ref></nowiki>{{var|citation details}}<nowiki></ref></nowiki></code>, a control character is not required. Spacing and most punctuation, however, are not defined as either LTR or RTL, so the direction of the text needs to be reset manually.


===PUA characters===
===PUA characters===