Template:Perk: Difference between revisions
From MENACE Official Wiki
Created page with "<includeonly> <div style="width: 33%; margin: 10px; border: 1px solid #ccc; border-radius: 5px; padding: 10px; text-align: left;"> <div style="float: left; width: 50px; height: 50px; margin-right: 10px;">{{{icon}}}</div> <div style="flex: 1;"> <div style="font-weight: bold; font-size: 1.2em; {{#if: {{{case|}}} | {{#ifeq: {{{case}}} | starting_perk | color: #c7aa3f; | }} | }}">{{{title}}}</div> <div style="f..." |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="width: 33%; margin: 10px; border: 1px solid #ccc; border-radius: 5px; padding: 10px; text-align: left;"> | <div style="width: 33%; margin: 10px; border: 1px solid #ccc; border-radius: 5px; padding: 10px; text-align: left;"> | ||
<div style="float: left; width: 50px; height: 50px; margin-right: 10px;">{{{icon}}}</div> | <div style="float: left; width: 50px; height: 50px; margin-right: 10px;">[[File:{{{icon}}}|50px]]</div> | ||
<div style="flex: 1;"> | <div style="flex: 1;"> | ||
<div style="font-weight: bold; font-size: 1.2em; {{#if: {{{case|}}} | {{#ifeq: {{{case}}} | starting_perk | color: #c7aa3f; | }} | }}">{{{title}}}</div> | <div style="font-weight: bold; font-size: 1.2em; {{#if: {{{case|}}} | {{#ifeq: {{{case}}} | starting_perk | color: #c7aa3f; | }} | }}">{{{title}}}</div> | ||
| Line 15: | Line 15: | ||
<pre> | <pre> | ||
{{Perk | {{Perk | ||
|icon= | |icon=High Value Target Icon.png | ||
|title= TITLE Example | |title= TITLE Example | ||
|description= This is an example description | |description= This is an example description | ||
| Line 24: | Line 24: | ||
{{Perk | {{Perk | ||
|icon= | |icon=High Value Target Icon.png | ||
|title= TITLE Example | |title= TITLE Example | ||
|description= This is an example description | |description= This is an example description | ||
| Line 33: | Line 33: | ||
<pre> | <pre> | ||
{{Perk | {{Perk | ||
|icon= | |icon=High Value Target Icon.png | ||
|title= TITLE Example | |title= TITLE Example | ||
|description= This is an example description | |description= This is an example description | ||
| Line 43: | Line 43: | ||
{{Perk | {{Perk | ||
|icon= | |icon=High Value Target Icon.png | ||
|title= TITLE Example | |title= TITLE Example | ||
|description= This is an example description | |description= This is an example description | ||
Revision as of 21:15, 2 October 2025
Usage & preview
Type in this:
{{Perk
|icon=High Value Target Icon.png
|title= TITLE Example
|description= This is an example description
}}
to see this:
TITLE Example
This is an example description
Or add the case = starting_perk to change the color of the title:
{{Perk
|icon=High Value Target Icon.png
|title= TITLE Example
|description= This is an example description
|case=starting_perk
}}
to see this:
TITLE Example
This is an example description


