Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Difference between revisions of "Template:ClassButton"

From DFO World Wiki
Jump to: navigation, search
m
Line 1: Line 1:
<includeonly><gallery mode="nolines" widths="72" heights="88" caption="test">
+
<includeonly>
 +
{{#tag:gallery|
 
{{#if: {{{subclass name 1|}}} | Image:{{{subclass name 1}}} Button.png{{!}}center{{!}}frame{{!}}link={{{subclass name 1}}}{{!}}<div style="text-align: center">[[{{{subclass name 1}}}]]</div>}}
 
{{#if: {{{subclass name 1|}}} | Image:{{{subclass name 1}}} Button.png{{!}}center{{!}}frame{{!}}link={{{subclass name 1}}}{{!}}<div style="text-align: center">[[{{{subclass name 1}}}]]</div>}}
 
{{#if: {{{subclass name 2|}}} | Image:{{{subclass name 2}}} Button.png{{!}}center{{!}}frame{{!}}link={{{subclass name 2}}}{{!}}<div style="text-align: center">[[{{{subclass name 2}}}]]</div>}}
 
{{#if: {{{subclass name 2|}}} | Image:{{{subclass name 2}}} Button.png{{!}}center{{!}}frame{{!}}link={{{subclass name 2}}}{{!}}<div style="text-align: center">[[{{{subclass name 2}}}]]</div>}}
Line 5: Line 6:
 
{{#if: {{{subclass name 4|}}} | Image:{{{subclass name 4}}} Button.png{{!}}center{{!}}frame{{!}}link={{{subclass name 4}}}{{!}}<div style="text-align: center">[[{{{subclass name 4}}}]]</div>}}
 
{{#if: {{{subclass name 4|}}} | Image:{{{subclass name 4}}} Button.png{{!}}center{{!}}frame{{!}}link={{{subclass name 4}}}{{!}}<div style="text-align: center">[[{{{subclass name 4}}}]]</div>}}
 
{{#if: {{{subclass name 5|}}} | Image:{{{subclass name 5}}} Button.png{{!}}center{{!}}frame{{!}}link={{{subclass name 5}}}{{!}}<div style="text-align: center">[[{{{subclass name 5}}}]]</div>}}
 
{{#if: {{{subclass name 5|}}} | Image:{{{subclass name 5}}} Button.png{{!}}center{{!}}frame{{!}}link={{{subclass name 5}}}{{!}}<div style="text-align: center">[[{{{subclass name 5}}}]]</div>}}
</gallery></includeonly><noinclude>
+
| mode=nolines | widths=72 | heights=88 | caption = [[File:{{{class icon name}}}.png]] [[{{{class name}}}]]}}
 +
</includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==
Line 21: Line 23:
  
 
This template defines a panel of subclass buttons.
 
This template defines a panel of subclass buttons.
 +
 +
== Example ==
 +
{{ClassButton
 +
| class icon name = MSlayerIcon
 +
| class name = Male Slayer
 +
| subclass name 1 = Blade Master
 +
| subclass name 2 = Soul Bender
 +
| subclass name 3 = Berserker
 +
| subclass name 4 = Asura
 +
| subclass name 5 = Ghostblade
 +
}}
 +
 +
{{ClassButton
 +
| class icon name = FighterIcon
 +
| class name = Female Fighter
 +
| subclass name 1 = Female Nen Master
 +
| subclass name 2 = Female Striker
 +
| subclass name 3 = Female Brawler
 +
| subclass name 4 = Female Grappler
 +
}}

Revision as of 01:42, 19 June 2023


Usage

{{ClassButton
| class icon name =  
| class name = 
| subclass name 1 = 
| subclass name 2 = 
| subclass name 3 = 
| subclass name 4 = 
| subclass name 5 = 
}}

Description

This template defines a panel of subclass buttons.

Example