Difference between revisions of "Template:Type"
Jump to navigation
Jump to search
Sanglorian (talk | contribs) (Fixing setting an image as a property) |
Sanglorian (talk | contribs) (Explaining what the language means) |
||
| Line 14: | Line 14: | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#if:{{{Present In|Tuxemon}}} | <table style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"> | <includeonly>{{#if:{{{Present In|Tuxemon}}} | <table style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"> | ||
<tr><th style="text-align: center; background-color:#ccccff;" colspan="2"><span style="font-size: larger;">[[ | <tr><th style="text-align: center; background-color:#ccccff;" colspan="2"><span style="font-size: larger;">[[Five-Type System]]</span></th></tr> | ||
<tr><th>ID</th><td>[[TXMN ID::{{{TXMN ID|}}}]] {{#if: {{{TXMN ID|}}} | | {{#set:TXMN ID Missing=Yes}} }}</td></tr> | <tr><th>ID</th><td>[[TXMN ID::{{{TXMN ID|}}}]] {{#if: {{{TXMN ID|}}} | | {{#set:TXMN ID Missing=Yes}} }}</td></tr> | ||
<tr><th> | <tr><th>Does less damage against</th><td>{{#arraymap:{{{TXMN Generative Type|}}}|,|x|[[TXMN Generative Type::x]]}}</td></tr> | ||
<tr><th>Does more damage against</th><td>{{#arraymap:{{{TXMN Overcoming Type|}}}|,|x|[[TXMN Overcoming Type::x]]}}</td></tr> | |||
<tr><th>Takes less damage from</th><td>{{#ask:[[TXMN Generative Type::{{PAGENAME}}]] | |||
|?# | |?# | ||
|mainlabel=- | |mainlabel=- | ||
}}</td></tr> | }}</td></tr> | ||
<tr><th> | <tr><th>Takes more damage from</th><td>{{#ask:[[TXMN Overcoming Type::{{PAGENAME}}]] | ||
|?# | |?# | ||
|mainlabel=- | |mainlabel=- | ||
Revision as of 10:11, 27 July 2025
This is the "Type" template. It should be called in the following format:
{{Type
|TXMN ID=
|Present In=
|TXMN Generative Type=
|TXMN Overcoming Type=
|Main Details=
}}
Edit the page to see the template text.