Difference between revisions of "Template:Wstyle"

From Morloch Wiki
Jump to: navigation, search
 
(69 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="border: 1px #000000 solid; padding: 5px; background-color: #DCDCDC;"
+
{| style="border: 1px #000000 solid; padding: 2px; background-color: #DCDCDC; width: 73px;"
|-  
+
{{!}}-
| colspan="2" align="center"| {{{name}}} {{PAGENAME}}
+
| colspan="2" cellpadding=0 cellspacing=0 align="center" style="font-size: 80%; vertical-align: text-top;"|{{{baseclass|}}}
|-
+
{{!}}-
| colspan="2" align="center"| Weapon Power Ranks
+
{{#if: {{{axe|}}}|{{!}} style="text-align: right;"{{!}}[[File:Axe cam.png|link=Axe|Axe Powers]]
|-
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{axe|?}}}</span>'''|}}
| style="text-align: right; valingn: center;"|[[{{{1}}}]]:
+
{{!}}-
| style="text-align: left; valingn: center;"|{{{1a}}}
+
{{#if: {{{greataxe|}}}|{{!}} style="text-align: right;"{{!}}[[File:GA cam.png|link=Great Axe Mastery|Great Axe Powers]]
|-
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{greataxe|?}}}</span>'''|}}
| style="text-align: right; valingn: center;"|[[{{{2}}}]]:
+
{{!}}-
| style="text-align: left; valingn: center;"|{{{2a}}}
+
{{#if: {{{bow|}}}|{{!}} style="text-align: right;"{{!}}[[File:Bow cam.png|link=Bow|Bow Powers]]
|-
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{bow|?}}}</span>'''|}}
| style="text-align: right; valingn: center;"|[[{{{3}}}]]:
+
{{!}}-
| style="text-align: left; valingn: center;"|{{{3a}}}
+
{{#if: {{{crossbow|}}}|{{!}} style="text-align: right;"{{!}}[[File:Crossbow cam.png|link=Crossbow|Crossbow Powers]]
|-
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{crossbow|?}}}</span>'''|}}
| style="text-align: right; valingn: center;"|[[{{{4}}}]]:
+
{{!}}-
| style="text-align: left; valingn: center;"|{{{4a}}}
+
{{#if: {{{dagger|}}}|{{!}} style="text-align: right;"{{!}}[[File:Dagger cam.png|link=Dagger|Dagger Powers]]
|-
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{dagger|?}}}</span>'''|}}
| style="text-align: right; valingn: center;"|[[{{{5}}}]]:
+
{{!}}-
| style="text-align: left; valingn: center;"|{{{5a}}}
+
{{#if: {{{unarmed|}}}|{{!}} style="text-align: right;"{{!}}[[File:UA cam.png|link=Unarmed Combat|Unarmed Powers]]
|-
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{unarmed|?}}}</span>'''|}}
| style="text-align: right; valingn: center;"|[[{{{6}}}]]:
+
{{!}}-
| style="text-align: left; valingn: center;"|{{{6a}}}
+
{{#if: {{{hammer|}}}|{{!}} style="text-align: right;"{{!}}[[File:Hammer cam.png|link=Hammer|Hammer Powers]]
|-
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{hammer|?}}}</span>'''|}}
| style="text-align: right; valingn: center;"|[[{{{7}}}]]:
+
{{!}}-
| style="text-align: left; valingn: center;"|{{{7a}}}
+
{{#if: {{{greathammer|}}}|{{!}} style="text-align: right;"{{!}}[[File:Greathammer cam.png|link=Great Hammer Mastery|Great Hammer Powers]]
|}  
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{greathammer|?}}}</span>'''|}}
<noinclude>
+
{{!}}-
<br><br>
+
{{#if: {{{polearm|}}}|{{!}} style="text-align: right;"{{!}}[[File:PA cam.png|link=Pole Arm|Pole Arm Powers]]
Example of this template's results:
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{polearm|?}}}</span>'''|}}
 
+
{{!}}-
{{wstyle
+
{{#if: {{{spear|}}}|{{!}} style="text-align: right;"{{!}}[[File:Spear cam.png|link=Spear|Spear Powers]]
|name = Mage
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{spear|?}}}</span>'''|}}
|1 = Blade Weaving
+
{{!}}-
|1a = 25
+
{{#if: {{{staff|}}}|{{!}} style="text-align: right;"{{!}}[[File:Staff cam.png|link=Staff|Staff Powers]]
|2 = Dagger
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{staff|?}}}</span>'''|}}
|2a = 20
+
{{!}}-
|3 = Dagger Mastery
+
{{#if: {{{sword|}}}|{{!}} style="text-align: right;"{{!}}[[File:Sword cam.png|link=Sword|Sword Powers]]
|3a = 20
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{sword|?}}}</span>'''|}}
|4 = Unarmed
+
{{!}}-
|4a = 25
+
{{#if: {{{greatsword|}}}|{{!}} style="text-align: right;"{{!}}[[File:GS cam.png|link=Great Sword Mastery|Great Sword Powers]]
|5 = Sun Dancing
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{greatsword|?}}}</span>'''|}}
|5a = 25
+
{{!}}-
}}
+
{{#if: {{{throwing|}}}|{{!}} style="text-align: right;"{{!}}[[File:Throwing cam.png|link=Throwing|28px|Throwing Powers]]
 
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{throwing|?}}}</span>'''|}}
== Parameters (case sensitive) ==
+
{{!}}-
* '''Name''': class identifier.
+
{{#if: {{{blademaster|}}}|{{!}} style="text-align: right;"{{!}}[[File:DisciplineBlademaster.png|link=Blade Mastery|28px|Blade Master Powers]]
* '''Numbers (1-15)''': self-identified weapon type
+
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{blademaster|?}}}</span>'''|}}
* '''Letters (1a-15a)''': corresponding power mod
+
{{!}}-
</noinclude>
+
{{#if: {{{bladeweaver|}}}|{{!}} style="text-align: right;"{{!}}[[File:DisciplineBladeWeaver.png|link=Blade Weaving|28px|Blade Weaving Powers]]
 +
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{bladeweaver|?}}}</span>'''|}}
 +
{{!}}-
 +
{{#if: {{{sundancer|}}}|{{!}} style="text-align: right;"{{!}}[[File:DisciplineSunDancer.png|link=Sun Dancing|28px|Sun Dancing Powers]]
 +
{{!}} style="text-align: center;"{{!}}'''<span style="font-size: 200%; vertical-align: middle;">{{{sundancer|?}}}</span>'''|}}
 +
{{!}}-
 +
{{!}}}

Latest revision as of 05:15, 6 February 2018