Difference between revisions of "Template:Type"
Jump to navigation
Jump to search
Sanglorian (talk | contribs) |
Sanglorian (talk | contribs) (Keep getting confused about how to arrange the less/more - but I think I've figured it out this time) |
||
| (28 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Type | {{Type | ||
|TXMN ID= | |||
|Present In= | |Present In= | ||
|TXMN Generative Type= | |TXMN Generative Type= | ||
| Line 11: | Line 12: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</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;"> | </noinclude> | ||
<tr><th style="text-align: center; background-color:#ccccff;" colspan="2"><span style="font-size: larger;">[[ | <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> | <tr><th style="text-align: center; background-color:#ccccff;" colspan="2"><span style="font-size: larger;">[[Five-Type System]]</span></th></tr> | ||
<tr><th> | <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 more damage from</th><td>{{#ask:[[TXMN Generative Type::{{PAGENAME}}]] | |||
|?# | |?# | ||
|mainlabel=- | |mainlabel=- | ||
}}</td></tr> | }}</td></tr> | ||
<tr><th> | <tr><th>Takes less damage from</th><td>{{#ask:[[TXMN Overcoming Type::{{PAGENAME}}]] | ||
|?# | |?# | ||
|mainlabel=- | |mainlabel=- | ||
}}</td></tr></table> | }} | }}</td></tr></table> | }} | ||
<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;">[[Thirteen-Element System]]</span></th></tr> | |||
<tr><th>Does more damage against</th><td>{{#arraymap:{{{13_Weak|}}}|,|x|[[13_Weak::x]]}}</td></tr> | |||
<tr><th>Does less damage against</th><td>{{#arraymap:{{{13_Strong|}}}|,|x|[[13_Strong::x]]}}</td></tr> | |||
<tr><th>Takes less damage from</th><td>{{#ask:[[13_Weak::{{PAGENAME}}]] | |||
|?# | |||
|mainlabel=- | |||
}}</td></tr> | |||
<tr><th>Takes more damage from</th><td>{{#ask:[[13_Strong::{{PAGENAME}}]] | |||
|?# | |||
|mainlabel=- | |||
}}</td></tr></table> | |||
{{#if: {{#ask:[[Category:{{PAGENAME}}]] | {{#if: {{#ask:[[Category:{{PAGENAME}}]] | ||
| Line 29: | Line 46: | ||
[[Category:Main Sprite]] [[Category:12px]] | [[Category:Main Sprite]] [[Category:12px]] | ||
[[Category:Main]] | [[Category:Main]] | ||
|?# | |?=# | ||
|mainlabel=- | |mainlabel=- | ||
}}|12px]] | }}{{#if: {{#ask:[[Category:{{PAGENAME}}]] | }}|12px]] | }}{{#if: {{#ask:[[Category:{{PAGENAME}}]] | ||
| Line 36: | Line 53: | ||
[[Category:Main Sprite]] [[Category:24px]] | [[Category:Main Sprite]] [[Category:24px]] | ||
[[Category:Main]] | [[Category:Main]] | ||
|?=# | |||
|mainlabel=- | |||
}}|24px]] | }}{{#if: {{#ask:[[Category:{{PAGENAME}}]] | |||
[[Category:Main Sprite]] [[Category:32px]] | |||
[[Category:Main]]}} | [[Default32px::{{#ask:[[Category:{{PAGENAME}}]] | |||
[[Category:Main Sprite]] [[Category:32px]] | |||
[[Category:Main]] | |||
|?=# | |||
|mainlabel=- | |||
}}|32px]] | }}{{#if: {{#ask:[[Category:{{PAGENAME}}]] | |||
[[Category:Main Sprite]] [[Category:64px]] | |||
[[Category:Main]]}} | [[Default64px::{{#ask:[[Category:{{PAGENAME}}]] | |||
[[Category:Main Sprite]] [[Category:64px]] | |||
[[Category:Main]] | |||
|?=# | |||
|mainlabel=- | |||
}}|64px]] | }} | |||
{{#ask:[[Category:{{PAGENAME}}]] | |||
[[Category:Main Sprite]] | |||
[[Category:Alternative]] | |||
|?# | |?# | ||
| | |link=all | ||
|searchlabel=… further results | |||
|navigation=nav | |||
|intro=<strong style="text-align: center;">Alternative sprites</strong> | |||
}} | |||
{{PAGENAME}} occurs in {{#arraymap:{{{Present In|}}}|,|x|[[Present In::x]]}}. [[Main Details::{{{Main Details|}}}]] | {{PAGENAME}} occurs in {{#arraymap:{{{Present In|}}}|,|x|[[Present In::x]]}}. [[Main Details::{{{Main Details|}}}]] | ||
== Monsters of This Type == | == Monsters of This Type == | ||
There are {{#ask:[[Category: | === Completed === | ||
| format=count}} {{PAGENAME}}-type monsters. | There are {{#ask:[[TXMN Completed::Complete]] [[Category:{{PAGENAME}}]] | ||
| format=count}} completed {{PAGENAME}}-type monsters. | |||
<table class="invisitable"><tr><td> | |||
{{#ask:[[TXMN Completed::Complete]] [[Category:{{PAGENAME}}]] |limit=400 | |||
|?MainImage | |||
|?FrontSprite | |||
|?TXMN Type | |||
|?Species | |||
|?TXMN Blurb | |||
}} | |||
</td></tr></table> | |||
=== Not completed === | |||
There are {{#ask:[[TXMN Completed Exists::false]] [[Category:{{PAGENAME}}]] | |||
| format=count}} completed {{PAGENAME}}-type monsters. | |||
<table class="invisitable"><tr><td> | <table class="invisitable"><tr><td> | ||
{{#ask:[[Category: | {{#ask:[[TXMN Completed Exists::false]] [[Category:{{PAGENAME}}]] |limit=400 | ||
|? | |?MainImage | ||
}}</td></tr></table> | |?FrontSprite | ||
|?TXMN Type | |||
|?Species | |||
|?TXMN Blurb | |||
}} | |||
</td></tr></table> | |||
== Monsters of This Element == | |||
There are {{#ask:[[TXMN Completed::Complete]] [[Category:{{PAGENAME}} (element)]] | |||
| format=count}} completed {{PAGENAME}}-element monsters. | |||
<table class="invisitable"><tr><td> | |||
{{#ask:[[TXMN Completed::Complete]] [[Category:{{PAGENAME}} (element)]] |limit=400 | |||
|?MainImage | |||
|?FrontSprite | |||
|?TXMN Element | |||
|?Species | |||
|?TXMN Blurb | |||
}} | |||
</td></tr></table> | |||
[[Category:Type]] | [[Category:Type]] | ||
[[Category:{{PAGENAME}}]] | |||
[[Category:{{PAGENAME}} (element)]] | |||
{{#arraymap:{{{Present In|}}}|,|x|[[Category:x]]}} | {{#arraymap:{{{Present In|}}}|,|x|[[Category:x]]}} | ||
</includeonly> | </includeonly> | ||
Latest revision as of 12:57, 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.