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 104: Line 104:
=== Variables ===
=== Variables ===
====Program variables====
====Program variables====
Variables in computer programs and symbols for program variables within plain-English prose and in computer source code presented as textual content can be marked up with the <code><nowiki><var></nowiki></code> element, or its wikimarkup equivalent, the {{tlx|var}} template:  
Variables in computer programs and symbols for program variables within plain-English prose and in computer source code presented as textual content can be marked up with the <code><nowiki><var></nowiki></code> element:  
*<code><nowiki>...where <var>x</var> is incremented on each pass...</nowiki></code> ⇒ {{xt|...where <var>x</var> is incremented on each pass...}}
*<code><nowiki>...where <var>x</var> is incremented on each pass...</nowiki></code> ⇒ {{xt|...where <var>x</var> is incremented on each pass...}}
*{{para|id|<nowiki>{{var|ISBN or other identifier}}</nowiki>}} ⇒ {{para|id|{{var|ISBN or other identifier}}}}
This provides richer semantic markup over simple italicization (or no formatting at all), that can aid in searching, accessibility, and disambiguation between variables and literal values.


====Mathematics variables====
====Mathematics variables====