Template:SkillCard: Difference between revisions

Template page
m (Make attribute optional. Add sample data.)
m (Fix style)
 
Line 3: Line 3:
<div style="display: flex; justify-content: space-between; align-items: flex-start; border: 1px solid #6F7277; padding: 10px; background: linear-gradient(to bottom right, #4C4F4D, #1B1C1F 30%, #1A191A); color: #cccccc;">
<div style="display: flex; justify-content: space-between; align-items: flex-start; border: 1px solid #6F7277; padding: 10px; background: linear-gradient(to bottom right, #4C4F4D, #1B1C1F 30%, #1A191A); color: #cccccc;">
   <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=]]}}<noinclude>
     <noinclude><div>{{Non-Attribute}} {{Tech}}</div></noinclude>
     <!-- Preview only --><div>{{Non-Attribute}} {{Tech}}</div></noinclude>
     <div>{{#if:{{{element|}}}|{{{{{element}}}}}}} {{#if:{{{type|}}}|{{{{{type}}}}}}}</div>
     <div>{{#if:{{{element|}}}|{{{{{element}}}}}}} {{#if:{{{type|}}}|{{{{{type}}}}}}}</div>
     <h3 style="margin-top: 5px">'''[[{{{skill_name|Skill Name}}}]]''' <!--([[{{{descendant|Descendant}}}]])--></h3>
     <h3 style="margin-top: 5px">'''[[{{{skill_name|Skill Name}}}]]''' <!--([[{{{descendant|Descendant}}}]])--></h3>
Line 16: Line 16:
     {{{info_table |  
     {{{info_table |  
       <noinclude>
       <noinclude>
      <!-- Preview only -->
       {{SkillCard/infoheader | Sample Info}}
       {{SkillCard/infoheader | Sample Info}}
       {{SkillCard/inforow | Sample Data | Value}}
       {{SkillCard/inforow | Sample Data | Value}}

Latest revision as of 10:39, 17 June 2024

Non-Attribute Tech

Skill Name


Description of the ability.

Sample Info
Sample Data Value