FANDOM


Forums: Index Help desk Font doesn't work in templates

Hi guys, I recently made a template over at my wiki to let users easily customize and add images to their signatures. The template has 3 parameters:

  • {{{1}}} is the username.
  • {{{2}}} is the image.
  • The 3rd parameter, {{{3}}} is used when users want to customize their usernames.

So, I want to do something like this:

{{Test|Arciusazrael|General|<font color="red">Arcius</font>}}

and the result should be some thing like this: Arcius . But somehow, the font tag doesn't work and the result is Arciusazrael. |Arcius| 01:53, July 16, 2011 (UTC)

Nvm, I found a solution here [1] |Arcius| 05:57, July 16, 2011 (UTC)
FYI <font> and its attributes are all deprecated in HTML. You should <span> (or <div> if it doesn't need to be in-line) like this:
<span style="color:red; font-family:courier,courier new, lucida typewriter; font-size:24px;">Some CSS styled text.</span>
Some CSS styled text.
-- Fandyllic (talk · contr) 21 Jul 2011 10:09 AM Pacific

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.