Help:Editing: Difference between revisions

From Halopedia, the Halo wiki

(→‎Formatted Text: oops, made an error there)
Line 338: Line 338:


== Formatted Text ==
== Formatted Text ==
To set specified formatting to a piece of text, use the <nowiki><span></nowiki> element. There are three basic formattings you can apply to text, which are explained below.
There are three basic formattings you can apply to text, which are explained below.
=== Colored Text ===
=== Colored Text ===
Using colored text is highly discouraged but in some cases useful.  To color your text enter the following code.  So for example:
Using colored text is highly discouraged but in some cases useful.  To color your text enter the following code.  So for example:
Line 384: Line 384:
</nowiki></pre>
</nowiki></pre>


Will output:<span style="font-family: Times New Roman;">Times New Roman text</span>
Will output:<span style="font-family: Times New Roman;">Typeface</span>


=== Combined ===
=== Combined ===
Line 390: Line 390:


<pre><nowiki>
<pre><nowiki>
<span style="color: Blue; font-family: Times New Roman; font-size: 130%;">Custom text</span>
<span style="color: Blue; font-family: Helvetica; font-size: 120%;">Custom text</span>
</nowiki></pre>
</nowiki></pre>


Will output:<span style="color: Blue; font-family: Times New Roman; font-size: 130%;">Custom text</span>
Will output:<span style="color: Blue; font-family: Helvetica; font-size: 120%;">Custom text</span>


{{Helplist}}
{{Helplist}}


[[Category:Help|Editing]]
[[Category:Help|Editing]]