MENACE Official Wiki:Template Overview: Difference between revisions
From MENACE Official Wiki
add summary page of all templates |
No edit summary |
||
| Line 29: | Line 29: | ||
|} | |} | ||
== Infoboxes == | |||
There are multiple templates for different types of infobox, each showing different stats for weapons, vehicles, etc. | |||
{|class="wikitable" | |||
! Name | |||
|- | |||
|[[Template:Infobox Impetus]] | |||
|- | |||
|[[Template:Infobox accessory]] | |||
|- | |||
|[[Template:Infobox armor]] | |||
|- | |||
|[[Template:Infobox vehicle]] | |||
|- | |||
|[[Template:Infobox weapon]] | |||
|} | |||
== Advanced Style Templates == | == Advanced Style Templates == | ||
These templates accept one or more variables as input and generate an advanced representation that often mirrors in-game formatting. | These templates accept one or more variables as input and generate an advanced representation that often mirrors in-game formatting. | ||
Revision as of 12:16, 6 February 2026
This page is a summary of all templates developed for this wiki.
Formatting Templates
These templates simply take text and format it in a specific way.
| Name | Example code | Example output or Description |
|---|---|---|
| Template:H:title | {{H:title|Here is some more information|Hover over me}} | Hover over me |
| Template:Collapse | {{Collapse|This text is collapsed}} | This text is collapsed |
| Template:Spoiler | {{Spoiler|This text is a spoiler}} | This text is a spoiler |
Version/Disclaimer Templates
These templates display a disclaimer to users when they are on outdated pages etc.
| Name | Example code | Example output or Description |
|---|---|---|
| Template:Disclaimer | {{Disclaimer|This is a disclaimer!}} |
Disclaimer
This is a disclaimer! |
| Template:Outdated | {{Outdated}} | Shows a disclaimer stating that the contents of this page may be outdated. |
| Template:Version | {{Version|0.2.17}} | Shows a disclaimer, if the provided version number is behind the games current version. |
| Template:CurrentVersion | N/A | Just stores the games current version |
Infoboxes
There are multiple templates for different types of infobox, each showing different stats for weapons, vehicles, etc.
| Name |
|---|
| Template:Infobox Impetus |
| Template:Infobox accessory |
| Template:Infobox armor |
| Template:Infobox vehicle |
| Template:Infobox weapon |
Advanced Style Templates
These templates accept one or more variables as input and generate an advanced representation that often mirrors in-game formatting.
| Name | Example code | Example output or Description |
|---|---|---|
| Template:Perk | {{Perk|title=High Value Target}} | [[File:|90px|link= High Value Target (Perk)]]
HIGH VALUE TARGET |
| Template:Perk Tree | {{Perk Tree|Taking Command|Athletic|...}} | Displays a complete perk tree |
| Template:ItemTag | {{ItemTag|EXAMPLE NAME}} | |
| Template:CharacterStats | {{CharacterStats|AP=110|ACC=80|...}} | Displays a character's stats and attributes. |


