Difference between revisions of "Template:Classtitle"

From Morloch Wiki
Jump to: navigation, search
Line 1: Line 1:
{| class="wikitable"
+
<noinclude>{{Ti|creating a stylized title graphic for classes}}
 +
</noinclude>
 +
{|  
 
|-
 
|-
| <span id="slide2" style="background: -webkit-linear-gradient(#9228ef, #1e1149); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size:300%; font-family:Procopius; text-align: left; margin: 0cm 0cm 0cm -.2cm;">&nbsp;{{{1|Assassin}}}</span>
+
| <span id="slide2" style="background: -webkit-linear-gradient(#{{{color1|9228ef}}}, #{{{color2|1e1149}}}); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size:300%; font-family:Procopius; text-align: left; margin: 0cm 0cm 0cm -.2cm;">&nbsp;{{PAGENAME}}</span>
[[File:foo.jpg]]<br>
+
{{{img|[[File:foo.jpg]]}}}<br>
<span id="slide2" style="background: -webkit-linear-gradient(#9228ef, #1e1149); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size:130%; font-family:Procopius; text-align: right; margin: 0cm 0cm 0cm 4.5cm;">&nbsp;{{{2|Harbinger of Death}}}</span>
+
<span id="slide2" style="background: -webkit-linear-gradient(#{{{color2|1e1149}}}, #{{{color1|9228ef}}}); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size:130%; font-family:Procopius; text-align: right; margin: 0cm 0cm 0cm 4.5cm;">&nbsp;{{{tag|Harbinger of Death}}}</span>
 
|}
 
|}
 +
<noinclude>
 +
== Parameters ==
 +
<nowiki>
 +
{{classtitle</nowiki><br><nowiki>
 +
|img=[[File:foo.jpg]]</nowiki><br><nowiki>
 +
|tag=Harbinger of Death</nowiki><br><nowiki>
 +
|color1=9228ef</nowiki><br><nowiki>
 +
|color2=1e1149</nowiki><br><nowiki>
 +
}}</nowiki></noinclude>

Revision as of 15:39, 10 October 2017

Template:Classtitle is used for creating a stylized title graphic for classes.

How to Use Template:Classtitle

  • This template can be added to a page by typing the following in the page's code with any applicable parameters inserted after the name:
{{Classtitle}}

Raw Example of Template:Classtitle

 Classtitle

Foo.jpg
 Harbinger of Death

Parameters

{{classtitle
|img=[[File:foo.jpg]]
|tag=Harbinger of Death
|color1=9228ef
|color2=1e1149
}}