Difference between revisions of "Template:Title"

From SacredWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
Typing this:
 
Typing this:
  
<nowiki>{{Title|C09709|SacredWiki}}</nowiki>
+
<nowiki>{{title|C09709|SacredWiki}}</nowiki>
  
 
Gives you this:
 
Gives you this:
{{Title|C09709|SacredWiki}}
+
{{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.
 
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.
  
 
<nowiki>
 
  
  
  
 +
The code below is the underlying code that makes it all work.  :)
  
 +
<pre>
 
{| 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>
Line 28: Line 28:
 
|<div>http://www.sacredwiki.org/images/rsTitle.png</div>
 
|<div>http://www.sacredwiki.org/images/rsTitle.png</div>
 
|}
 
|}
</nowiki></noinclude>
+
</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>
|}