Difference between revisions of "Template:Type"

From Tuxepedia
Jump to navigation Jump to search
 
(31 intermediate revisions by 2 users not shown)
Line 4: Line 4:
<pre>
<pre>
{{Type
{{Type
|TXMN ID=
|Present In=
|Present In=
|TXMN Generative Type=
|TXMN Generative Type=
|TXMN Overcoming Type=
|TXMN Overcoming Type=
|Freemon x2 Against=
|Freemon x0.5 Against=
|Freemon x0 Against=
|Main Details=
|Main Details=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</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;">
{{#ifeq:{{{Present In}}} | Tuxemon |
<tr><th style="text-align: center; background-color:#ccccff;" colspan="2"><span style="font-size: larger;">[[Tuxemon]]</span></th></tr>
{| 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>Generative Type</th><td>{{#arraymap:{{{TXMN Generative Type|}}}|,|x|[[TXMN Generative Type::x]]}}</td></tr>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">[[Tuxemon]]</span>
<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>
! Generative Type
<tr><th>Generated by</th><td>{{#ask:[[TXMN Generative Type::{{PAGENAME}}]]
| {{#arraymap:{{{TXMN Generative Type|}}}|,|x|[[TXMN Generative Type::x]]}}
|-
! Overcoming Type
| {{#arraymap:{{{TXMN Overcoming Type|}}}|,|x|[[TXMN Overcoming Type::x]]}}
|-
! Generated by
{{#ask:[[TXMN Generative Type::{{PAGENAME}}]]
|?#
|?#
|mainlabel=-
|mainlabel=-
}}
}}</td></tr>
|-
<tr><th>Overcome by</th><td>{{#ask:[[TXMN Overcoming Type::{{PAGENAME}}]]
! Overcome by
{{#ask:[[TXMN Overcoming Type::{{PAGENAME}}]]
|?#
|?#
|mainlabel=-
|mainlabel=-
}}
}}</td></tr></table> | }}
|}
 
| }}
 
{{#if:{{{Present In}}}="Freemon" |{| 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;"
{{#if: {{#ask:[[Category:{{PAGENAME}}]]
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">[[Freemon]]</span>
[[Category:Main Sprite]] [[Category:12px]]
|-
[[Category:Main]]}} | [[Default12px::{{#ask:[[Category:{{PAGENAME}}]]
! x2 Against
[[Category:Main Sprite]] [[Category:12px]]
| {{#arraymap:{{{Freemon x2 Against|}}}|,|x|[[Freemon x2 Against::x]]}}
[[Category:Main]]
|-
! x0.5 Against
| {{#arraymap:{{{Freemon x0.5 Against|}}}|,|x|[[Freemon x0.5 Against::x]]}}
|-
! x0 Against
| {{#arraymap:{{{Freemon x0 Against|}}}|,|x|[[Freemon x0 Against::x]]}}
|-
! Is x2 From
|  {{#ask:[[Freemon x2 Against::{{PAGENAME}}]]
|?#
|?#
|mainlabel=-
|mainlabel=-
}}
}}|12px]] | }}{{#if: {{#ask:[[Category:{{PAGENAME}}]]
|-
[[Category:Main Sprite]] [[Category:24px]]
! Is x0.5 From
[[Category:Main]]}} | [[Default24px::{{#ask:[[Category:{{PAGENAME}}]]
| {{#ask:[[Freemon x0.5 Against::{{PAGENAME}}]]
[[Category:Main Sprite]] [[Category:24px]]
[[Category:Main]]
|?#
|?#
|mainlabel=-
|mainlabel=-
}}
}}|24px]] | }}{{#if: {{#ask:[[Category:{{PAGENAME}}]]
|-
[[Category:Main Sprite]] [[Category:32px]]
! Is x0 From
[[Category:Main]]}} | [[Default32px::{{#ask:[[Category:{{PAGENAME}}]]
| {{#ask:[[Freemon x0 Against::{{PAGENAME}}]]
[[Category:Main Sprite]] [[Category:32px]]
[[Category:Main]]
|?#
|?#
|mainlabel=-
|mainlabel=-
}}
}}|32px]] | }}{{#if: {{#ask:[[Category:{{PAGENAME}}]]
|}
[[Category:Main Sprite]] [[Category:64px]]
| }}
[[Category:Main]]}} | [[Default64px::{{#ask:[[Category:{{PAGENAME}}]]
{{#if: {{#ask:[[Category:{{PAGENAME}}]]
[[Category:Main Sprite]] [[Category:64px]]
[[Category:Main Sprite]] [[Category:12px]]
[[Category:Main]]}} | [[Default12px::{{#ask:[[Category:{{PAGENAME}}]]
[[Category:Main Sprite]] [[Category:12px]]
[[Category:Main]]
[[Category:Main]]
|?#
|?#
|mainlabel=-
|mainlabel=-
}}|12px]] | }}
}}|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:Monster]] [[Category:{{PAGENAME}}]]
=== 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>
<table class="invisitable"><tr><td>
{{#ask:[[Category:Monster]] [[Types::{{PAGENAME}}]]
{{#ask:[[TXMN Completed::Complete]] [[Category:{{PAGENAME}}]] |limit=400
|? Default64px
|?MainImage
}}</td></tr></table>
|?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>
{{#ask:[[TXMN Completed Exists::false]] [[Category:{{PAGENAME}}]] |limit=400
|?MainImage
|?FrontSprite
|?TXMN Type
|?Species
|?TXMN Blurb
}}
</td></tr></table>


[[Category:Type]]
[[Category:Type]]
[[Category:{{PAGENAME}}]]
{{#arraymap:{{{Present In|}}}|,|x|[[Category:x]]}}
{{#arraymap:{{{Present In|}}}|,|x|[[Category:x]]}}
</includeonly>
</includeonly>

Latest revision as of 01:33, 2 December 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.