Template:Perk: Difference between revisions
From MENACE Official Wiki
mNo edit summary |
mNo edit summary |
||
| Line 3: | Line 3: | ||
[[{{{title}}} (Perk)|<div style="display: grid"><div style="margin: 2px 2px 0px 0px; display: run-in"> | [[{{{title}}} (Perk)|<div style="display: grid"><div style="margin: 2px 2px 0px 0px; display: run-in"> | ||
<div style="font-weight: bold; font-size: 1.2em; {{#if: {{{case|}}}|color:#c7aa3f|color: #ffffff;}}">{{#invoke:StringUtils|toUpperCase|{{{title}}}}}</div></div> | <div style="font-weight: bold; font-size: 1.2em; {{#if: {{{case|}}}|color:#c7aa3f|color: #ffffff;}}">{{#invoke:StringUtils|toUpperCase|{{{title}}}}}</div></div> | ||
<div style="margin: 2px"> | <div style="margin: 2px 5px 2px 2px"> | ||
<div style="font-size: 1em; font-style: italic; color: #ffffff;">{{#invoke:PerksData|getShortDescriptionByTitle|{{{title}}}}}</div></div></div>]]</div></includeonly><noinclude> | <div style="font-size: 1em; font-style: italic; color: #ffffff;">{{#invoke:PerksData|getShortDescriptionByTitle|{{{title}}}}}</div></div></div>]]</div></includeonly><noinclude> | ||
== Usage & preview == | == Usage & preview == | ||
| Line 36: | Line 36: | ||
}} | }} | ||
<br> | <br> | ||
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above] | [{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above] | ||
</noinclude> | </noinclude> | ||
Revision as of 21:39, 3 February 2026
Usage & preview
Type in this:
{{Perk
|title= High Value Target
}}
to see this:
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET
Or add the case = starting_perk to change the color of the title:
{{Perk
|title=High Value Target Icon
|case=starting_perk
}}
to see this:
[[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET


