Proteopedia:Cookbook: Difference between revisions

Eric Martz (talk | contribs)
Eric Martz (talk | contribs)
Line 1: Line 1:
==Text color==
==Text color==
===Wikitext Colors===
To get {{Font color|green|green text}} or another {{Font color|#a569bd|more exotic}} text color, use the Template:Font_color, entering the color and the desired text, as follows:
To get {{Font color|green|green text}} or another {{Font color|#a569bd|more exotic}} text color, use the Template:Font_color, entering the color and the desired text, as follows:


<pre>{{Font color|green|green text}} or another {{Font color|#a569bd|more exotic}}</pre>
<pre>{{Font color|green|green text}} or another {{Font color|#a569bd|more exotic}}</pre>


Another option is to use &lt;span class="bg-warning text-white"> like this &lt;/span> that looks <span class="bg-warning text-white"> like this </span>
===Class Colors===
Another option is to use &lt;span class="bg-warning text-white"> like this &lt;/span> that looks <span class="bg-warning text-white"> like this</span>. This method works in all contexts but is limited to the pre-set color below.


Available classes are
Available classes are
Line 36: Line 38:
<b><span class="text-gray">text-gray</span></b>,
<b><span class="text-gray">text-gray</span></b>,
<span class="bg-black text-white" style="padding-left:7px;padding-right:7px;">bg-black text-white</span>.
<span class="bg-black text-white" style="padding-left:7px;padding-right:7px;">bg-black text-white</span>.


Temporary test colors, proposed to be added classes:
Temporary test colors, proposed to be added classes:
Line 48: Line 48:
<span style="background-color:#ffc0ff;padding-left:7px;padding-right:7px;">NEWviolet/lightmagenta</span>,
<span style="background-color:#ffc0ff;padding-left:7px;padding-right:7px;">NEWviolet/lightmagenta</span>,
<span style="background-color:#e8e8e8;padding-left:7px;padding-right:7px;">lightgray</span>.
<span style="background-color:#e8e8e8;padding-left:7px;padding-right:7px;">lightgray</span>.
===HTML font colors===
You can color this way: &lt;font color="red">'''Red'''&lt;/font> which looks like this: <font color="red">'''Red'''</font>. In addition to color names, you can use Red-Green-Blue (RGB) hexadecimal codes following "#", for example &lt;font color="#8000ff">'''Purple'''&lt;/font> which looks like this: <font color="#8000ff">'''Purple'''</font>.
===Coloring Text in Scene Captions===


==Checkboxes, Buttons, Radio Buttons==
==Checkboxes, Buttons, Radio Buttons==

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Jaime Prilusky, Karl Oberholser, Eran Hodis, Eric Martz, Wayne Decatur, Angel Herraez, Karsten Theis