Difference between revisions of "Template:Type"
Jump to navigation
Jump to search
Sanglorian (talk | contribs) |
Sanglorian (talk | contribs) |
||
Line 13: | Line 13: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</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;"> | |||
<tr><th style="text-align: center; background-color:#ccccff;" colspan="2"><span style="font-size: larger;">[[Tuxemon]]</span></th></tr> | |||
<tr><th>Generative Type</th><td>{{#arraymap:{{{TXMN Generative Type|}}}|,|x|[[TXMN Generative Type::x]]}}</td></tr> | |||
<tr><th>Overcoming Type</th><td>{{#arraymap:{{{TXMN Overcoming Type|}}}|,|x|[[TXMN Overcoming Type::x]]}}</td></tr> | |||
<tr><th>ID</th><td>[[TXMN ID::{{{TXMN ID|}}}]] {{#if: {{{TXMN ID|}}} | | {{#set:TXMN ID Missing=Yes}} }}</td></tr> | |||
<tr><th>Generated by</th><td>{{#ask:[[TXMN Generative Type::{{PAGENAME}}]] | |||
|?# | |||
|mainlabel=- | |||
}}</td></tr> | |||
<tr><th>Overcome by</th><td>{{#ask:[[TXMN Overcoming Type::{{PAGENAME}}]] | |||
|?# | |||
|mainlabel=- | |||
}}</td></tr></table> | }} | |||
{{#if: {{#ask:[[Category:{{PAGENAME}}]] | |||
[[Category:Main Sprite]] [[Category:12px]] | |||
[[Category:Main]]}} | [[Default12px::{{#ask:[[Category:{{PAGENAME}}]] | |||
[[Category:Main Sprite]] [[Category:12px]] | |||
[[Category:Main]] | |||
|?# | |||
|mainlabel=- | |||
}}|12px]] | }}{{#if: {{#ask:[[Category:{{PAGENAME}}]] | |||
[[Category:Main Sprite]] [[Category:24px]] | |||
[[Category:Main]]}} | [[Default24px::{{#ask:[[Category:{{PAGENAME}}]] | |||
[[Category:Main Sprite]] [[Category:24px]] | |||
[[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]] | }} | |||
{{PAGENAME}} occurs in {{#arraymap:{{{Present In|}}}|,|x|[[Present In::x]]}}. [[Main Details::{{{Main Details|}}}]] | |||
== Monsters of This Type == | |||
There are {{#ask:[[Category:Monster]] [[Category:{{PAGENAME}}]] | |||
| format=count}} {{PAGENAME}}-type monsters. | |||
<table class="invisitable"><tr><td> | |||
{{#ask:[[Category:Monster]] [[Types::{{PAGENAME}}]] | |||
|? Default64px | |||
}}</td></tr></table> | |||
[[Category:Type]] | |||
{{#arraymap:{{{Present In|}}}|,|x|[[Category:x]]}} | |||
</includeonly> |
Revision as of 11:56, 16 February 2019
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.