Difference between revisions of "Template:Title"

From SacredWiki
Jump to navigation Jump to search
(New page: {| style="background:transparent;" cellpadding="0" cellspacing="0" border="0" |<div>http://i241.photobucket.com/albums/ff165/SacredWiki/lsTitle.png</div> |<div class="settitle"><span style...)
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| style="background:transparent;" cellpadding="0" cellspacing="0" border="0"
 
{| style="background:transparent;" cellpadding="0" cellspacing="0" border="0"
 
|<div>http://www.sacredwiki.org/images/lsTitle.png</div>
 
|<div>http://www.sacredwiki.org/images/lsTitle.png</div>
|<div class="settitle"><span style="color: #{{{1}}}>{{{2}}}</span></div>
+
|<div class="settitle"><span style="color: #{{{1}}};">{{{2}}}</span></div>
 
|<div>http://www.sacredwiki.org/images/rsTitle.png</div>
 
|<div>http://www.sacredwiki.org/images/rsTitle.png</div>
 
|}
 
|}
 +
 +
 +
<noinclude>
 +
 +
Typing this:
 +
 +
<nowiki>{{title|C09709|SacredWiki}}</nowiki>
 +
 +
Gives you this:
 +
{{title|C09709|SacredWiki}}
 +
 +
To customize it replace C09709 with whatever hex colour you would like and it will change the colour of the text.  Replace SacredWiki with whatever you would like to be read.  Make sure to always have Title at the start and that you use the proper brackets as it is displayed in the example above.
 +
 +
 +
 +
 +
The code below is the underlying code that makes it all work.  :)
 +
 +
<pre>
 +
{| style="background:transparent;" cellpadding="0" cellspacing="0" border="0"
 +
|<div>http://www.sacredwiki.org/images/lsTitle.png</div>
 +
|<div class="settitle"><span style="color: #{{{1}}};">{{{2}}}</span></div>
 +
|<div>http://www.sacredwiki.org/images/rsTitle.png</div>
 +
|}
 +
</pre></noinclude>

Latest revision as of 04:38, 2 November 2007

lsTitle.png
{{{2}}}
rsTitle.png



Typing this:

{{title|C09709|SacredWiki}}

Gives you this:

lsTitle.png
SacredWiki
rsTitle.png



To customize it replace C09709 with whatever hex colour you would like and it will change the colour of the text. Replace SacredWiki with whatever you would like to be read. Make sure to always have Title at the start and that you use the proper brackets as it is displayed in the example above.



The code below is the underlying code that makes it all work. :)

{| style="background:transparent;" cellpadding="0" cellspacing="0" border="0"
|<div>http://www.sacredwiki.org/images/lsTitle.png</div>
|<div class="settitle"><span style="color: #{{{1}}};">{{{2}}}</span></div>
|<div>http://www.sacredwiki.org/images/rsTitle.png</div>
|}