Template:Perk Tree: Difference between revisions

From MENACE Official Wiki
mNo edit summary
improve usability
Line 5: Line 5:
| <div style="display: flex; flex-direction: column; align-items: center;">
| <div style="display: flex; flex-direction: column; align-items: center;">
     <div style="display: flex; justify-content: center; width: 100%;">
     <div style="display: flex; justify-content: center; width: 100%;">
         {{Perk
         {{Perk | title={{{perk1}}} | case= starting_perk}}
        |icon={{{perk1_icon}}}
        |title= {{{perk1_title}}}
        |description= {{{perk1_description}}}
        |case= starting_perk
        }}


         {{Perk
         {{Perk | title={{{perk2}}} }}
        |icon={{{perk2_icon}}}
        |title= {{{perk2_title}}}
        |description= {{{perk2_description}}}
        }}


         {{Perk
         {{Perk | title={{{perk3}}} }}
        |icon={{{perk3_icon}}}
        |title= {{{perk3_title}}}
        |description= {{{perk3_description}}}
        }}
     </div>
     </div>
     <div style="display: flex; justify-content: center; width: 100%;">
     <div style="display: flex; justify-content: center; width: 100%;">
      {{Perk
        {{Perk | title={{{perk4}}} }}
        |icon={{{perk4_icon}}}
        |title= {{{perk4_title}}}
        |description= {{{perk4_description}}}
        }}


         {{Perk
         {{Perk | title={{{perk5}}} }}
        |icon={{{perk5_icon}}}
        |title= {{{perk5_title}}}
        |description= {{{perk5_description}}}
        }}


         {{Perk
         {{Perk | title={{{perk6}}} }}
        |icon={{{perk6_icon}}}
        |title= {{{perk6_title}}}
        |description= {{{perk6_description}}}
        }}
     </div>
     </div>
</div>
</div>
Line 48: Line 23:
| <div style="display: flex; flex-direction: column; align-items: center;">
| <div style="display: flex; flex-direction: column; align-items: center;">
     <div style="display: flex; justify-content: center; width: 100%;">
     <div style="display: flex; justify-content: center; width: 100%;">
         {{Perk
         {{Perk | title={{{perk7}}} }}
        |icon={{{perk7_icon}}}
        |title= {{{perk7_title}}}
        |description= {{{perk7_description}}}
        }}


         {{Perk
         {{Perk | title={{{perk8}}} }}
        |icon={{{perk8_icon}}}
        |title= {{{perk8_title}}}
        |description= {{{perk8_description}}}
        }}


         {{Perk
         {{Perk | title={{{perk9}}} }}
        |icon={{{perk9_icon}}}
        |title= {{{perk9_title}}}
        |description= {{{perk9_description}}}
        }}
     </div>
     </div>
</div>
</div>
<div style="display: flex; flex-direction: column; align-items: center;">
<div style="display: flex; flex-direction: column; align-items: center;">
     <div style="display: flex; justify-content: center; width: 100%;">
     <div style="display: flex; justify-content: center; width: 100%;">
         {{Perk
         {{Perk | title={{{perk10}}} }}
        |icon={{{perk10_icon}}}
        |title= {{{perk10_title}}}
        |description= {{{perk10_description}}}
        }}
     </div>
     </div>
</div>
</div>
Line 80: Line 39:
| <div style="display: flex; flex-direction: column; align-items: center;">
| <div style="display: flex; flex-direction: column; align-items: center;">
     <div style="display: flex; justify-content: center; width: 100%;">
     <div style="display: flex; justify-content: center; width: 100%;">
         {{Perk
         {{Perk | title={{{perk11}}} }}
        |icon={{{perk11_icon}}}
        |title= {{{perk11_title}}}
        |description= {{{perk11_description}}}
        }}


         {{Perk
         {{Perk | title={{{perk12}}} }}
        |icon={{{perk12_icon}}}
        |title= {{{perk12_title}}}
        |description= {{{perk12_description}}}
        }}


         {{Perk
         {{Perk | title={{{perk13}}} }}
        |icon={{{perk13_icon}}}
        |title= {{{perk13_title}}}
        |description= {{{perk13_description}}}
        }}
     </div>
     </div>
</div>
</div>
Line 103: Line 50:
| <div style="display: flex; flex-direction: column; align-items: center;">
| <div style="display: flex; flex-direction: column; align-items: center;">
     <div style="display: flex; justify-content: center; width: 100%;">
     <div style="display: flex; justify-content: center; width: 100%;">
      {{Perk
        {{Perk | title={{{perk14}}} }}
        |icon={{{perk14_icon}}}
        |title= {{{perk14_title}}}
        |description= {{{perk14_description}}}
        }}


         {{Perk
         {{Perk | title={{{perk15}}} }}
        |icon={{{perk15_icon}}}
        |title= {{{perk15_title}}}
        |description= {{{perk15_description}}}
        }}
     </div>
     </div>
</div>
</div>
|}
|}
 
</includeonly><noinclude>
</includeonly>
 
<noinclude>
== Usage & preview ==
== Usage & preview ==


<div style="font-weight: bold; font-size: 1.2em; color: #cc0000"> This is currently very experimental, but it will eventually be made more user-friendly with JSON. </div>
<div style="color: #c7aa3f">Note: once the style of this template is finished, move it to Common.css</div>


Type in this:
Type in this:
Line 129: Line 65:
<pre>
<pre>
{{Perk Tree
{{Perk Tree
|perk1_icon=High Value Target Icon.png
|perk1 = High Value Target
|perk1_title= TITLE 1 Example
|perk2 = High Value Target
|perk1_description= This is an example description 1
|perk3 = High Value Target
 
|perk4 = High Value Target
|perk2_icon=Commando Icon.png
|perk5 = High Value Target
|perk2_title= TITLE 2 Example
|perk6 = High Value Target
|perk2_description= This is an example description 2
|perk7 = High Value Target
 
|perk8 = High Value Target
|perk3_icon=High Value Target Icon.png
|perk9 = High Value Target
|perk3_title= TITLE 3 Example
|perk10 = High Value Target
|perk3_description= This is an example description 3
|perk11 = High Value Target
 
|perk12 = High Value Target
|perk4_icon=High Value Target Icon.png
|perk13 = High Value Target
|perk4_title= TITLE 4 Example
|perk14 = High Value Target
|perk4_description= This is an example description 4
|perk15 = High Value Target
 
|perk5_icon=High Value Target Icon.png
|perk5_title= TITLE 5 Example
|perk5_description= This is an example description 6
 
|perk6_icon=High Value Target Icon.png
|perk6_title= TITLE 6 Example
|perk6_description= This is an example description 6
 
|perk7_icon=High Value Target Icon.png
|perk7_title= TITLE 7 Example
|perk7_description= This is an example description 7
 
|perk8_icon=High Value Target Icon.png
|perk8_title= TITLE 8 Example
|perk8_description= This is an example description 8
 
|perk9_icon=High Value Target Icon.png
|perk9_title= TITLE 9 Example
|perk9_description= This is an example description 9
 
|perk10_icon=High Value Target Icon.png
|perk10_title= TITLE 10 Example
|perk10_description= This is an example description 10
 
|perk11_icon=High Value Target Icon.png
|perk11_title= TITLE 11 Example
|perk11_description= This is an example description 11
 
|perk12_icon=High Value Target Icon.png
|perk12_title= TITLE 12 Example
|perk12_description= This is an example description 12
 
|perk13_icon=High Value Target Icon.png
|perk13_title= TITLE 13 Example
|perk13_description= This is an example description 13
 
|perk14_icon=High Value Target Icon.png
|perk14_title= TITLE 14 Example
|perk14_description= This is an example description 14
 
|perk15_icon=High Value Target Icon.png
|perk15_title= TITLE 15 Example
|perk15_description= This is an example description 15
}}
}}
</pre>
</pre>
Line 194: Line 86:


{{Perk Tree
{{Perk Tree
|perk1_icon=High Value Target Icon.png
|perk1 = High Value Target
|perk1_title= TITLE 1 Example
|perk2 = High Value Target
|perk1_description= This is an example description 1
|perk3 = High Value Target
 
|perk4 = High Value Target
|perk2_icon=Commando Icon.png
|perk5 = High Value Target
|perk2_title= TITLE 2 Example
|perk6 = High Value Target
|perk2_description= This is an example description 2
|perk7 = High Value Target
 
|perk8 = High Value Target
|perk3_icon=High Value Target Icon.png
|perk9 = High Value Target
|perk3_title= TITLE 3 Example
|perk10 = High Value Target
|perk3_description= This is an example description 3
|perk11 = High Value Target
 
|perk12 = High Value Target
|perk4_icon=High Value Target Icon.png
|perk13 = High Value Target
|perk4_title= TITLE 4 Example
|perk14 = High Value Target
|perk4_description= This is an example description 4
|perk15 = High Value Target
 
|perk5_icon=High Value Target Icon.png
|perk5_title= TITLE 5 Example
|perk5_description= This is an example description 6
 
|perk6_icon=High Value Target Icon.png
|perk6_title= TITLE 6 Example
|perk6_description= This is an example description 6
 
|perk7_icon=High Value Target Icon.png
|perk7_title= TITLE 7 Example
|perk7_description= This is an example description 7
 
|perk8_icon=High Value Target Icon.png
|perk8_title= TITLE 8 Example
|perk8_description= This is an example description 8
 
|perk9_icon=High Value Target Icon.png
|perk9_title= TITLE 9 Example
|perk9_description= This is an example description 9
 
|perk10_icon=High Value Target Icon.png
|perk10_title= TITLE 10 Example
|perk10_description= This is an example description 10
 
|perk11_icon=High Value Target Icon.png
|perk11_title= TITLE 11 Example
|perk11_description= This is an example description 11
 
|perk12_icon=High Value Target Icon.png
|perk12_title= TITLE 12 Example
|perk12_description= This is an example description 12
 
|perk13_icon=High Value Target Icon.png
|perk13_title= TITLE 13 Example
|perk13_description= This is an example description 13
 
|perk14_icon=High Value Target Icon.png
|perk14_title= TITLE 14 Example
|perk14_description= This is an example description 14
 
|perk15_icon=High Value Target Icon.png
|perk15_title= TITLE 15 Example
|perk15_description= This is an example description 15
}}
}}



Revision as of 15:34, 9 October 2025

Usage & preview

Note: once the style of this template is finished, move it to Common.css

Type in this:

{{Perk Tree
|perk1 = High Value Target
|perk2 = High Value Target
|perk3 = High Value Target
|perk4 = High Value Target
|perk5 = High Value Target
|perk6 = High Value Target
|perk7 = High Value Target
|perk8 = High Value Target
|perk9 = High Value Target
|perk10 = High Value Target
|perk11 = High Value Target
|perk12 = High Value Target
|perk13 = High Value Target
|perk14 = High Value Target
|perk15 = High Value Target
}}

to see this:


TIER 1
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
TIER 2
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
TIER 3
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
TIER 4
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET



Click here to refresh the preview above