Template:SkillCard: Difference between revisions

Template page
m (Add optional skill icon)
m (Make attribute optional. Add sample data.)
Line 4: Line 4:
   <div style="flex: 1; padding-right: 10px; border-right: 1px solid #636165; margin-right: -1px;">
   <div style="flex: 1; padding-right: 10px; border-right: 1px solid #636165; margin-right: -1px;">
     {{#if:{{{icon|}}}|[[{{{icon}}}|64px|left|link=]]}}
     {{#if:{{{icon|}}}|[[{{{icon}}}|64px|left|link=]]}}
     <div>{{{{{element|Non-Attribute}}}}} {{#if:{{{type|}}}|{{{{{type}}}}}}}</div>
    <noinclude><div>{{Non-Attribute}} {{Tech}}</div></noinclude>
     <h3 style="margin-top: 5px">'''[[{{{skill_name|Skill Name}}}]]''' <noinclude>([[{{{descendant|Descendant}}}]])</noinclude></h3>
     <div>{{#if:{{{element|}}}|{{{{{element}}}}}}} {{#if:{{{type|}}}|{{{{{type}}}}}}}</div>
     <h3 style="margin-top: 5px">'''[[{{{skill_name|Skill Name}}}]]''' <!--([[{{{descendant|Descendant}}}]])--></h3>
     <hr style="clear: both;" />  
     <hr style="clear: both;" />  
     <p>{{{description | Description of the ability.}}}</p>
     <p>{{{description | Description of the ability.}}}</p>
Line 13: Line 14:
     {| style="border-spacing: 0px 2px; border-collapse: separate; width: 100%; max-width: none; font-size: var(--font-size-small);"
     {| style="border-spacing: 0px 2px; border-collapse: separate; width: 100%; max-width: none; font-size: var(--font-size-small);"
     |-
     |-
     {{{info_table | {{!}} Skill Data Table}}}
     {{{info_table |  
      <noinclude>
      {{SkillCard/infoheader | Sample Info}}
      {{SkillCard/inforow | Sample Data | Value}}
      </noinclude>
    }}}
     |-
     |-
     |}
     |}
   </div>
   </div>
</div>
</div>

Revision as of 06:47, 17 June 2024

Non-Attribute Tech

Skill Name


Description of the ability.

Sample Info
Sample Data Value