Difference between revisions of "Template:Type"

From Tuxepedia
Jump to navigation Jump to search
Line 4: Line 4:
<pre>
<pre>
{{Type
{{Type
|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=
}}
}}
Line 11: Line 15:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{{#if:{{{Present In::Tuxemon}}}|
{| 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;"
{| 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;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">[[Tuxemon]]</span>
|-
|-
! TXMN Generative Type
! Generative Type
| {{#arraymap:{{{TXMN Generative Type|}}}|,|x|[[TXMN Generative Type::x]]}}
| {{#arraymap:{{{TXMN Generative Type|}}}|,|x|[[TXMN Generative Type::x]]}}
|-
|-
! TXMN Overcoming Type
! Overcoming Type
| {{#arraymap:{{{TXMN Overcoming Type|}}}|,|x|[[TXMN Overcoming Type::x]]}}
| {{#arraymap:{{{TXMN Overcoming Type|}}}|,|x|[[TXMN Overcoming Type::x]]}}
|-
|-
! TXMN Generated by
! Generated by
|  {{#ask:[[TXMN Generative Type::{{PAGENAME}}]]
|  {{#ask:[[TXMN Generative Type::{{PAGENAME}}]]
|?#
|?#
|mainlabel=-
}}
}}
|-
|-
! TXMN Overcome by
! Overcome by
|  {{#ask:[[TXMN Overcoming Type::{{PAGENAME}}]]
|  {{#ask:[[TXMN Overcoming Type::{{PAGENAME}}]]
|?#
|?#
|mainlabel=-
}}
|}| }}
{{#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;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">[[Freemon]]</span>
|-
! x2 Against
| {{#arraymap:{{{Freemon x2 Against|}}}|,|x|[[Freemon x2 Against::x]]}}
|-
! 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=-
}}
|-
! Is x0.5 From
|  {{#ask:[[Freemon x0.5 Against::{{PAGENAME}}]]
|?#
|mainlabel=-
}}
|-
! Is x0 From
|  {{#ask:[[Freemon x0 Against::{{PAGENAME}}]]
|?#
|mainlabel=-
}}
}}
|}
|}| }}
{{#if: {{#ask:[[Category:{{PAGENAME}}]]
{{#if: {{#ask:[[Category:{{PAGENAME}}]]
[[Category:Main Sprite]] [[Category:12px]]
[[Category:Main Sprite]] [[Category:12px]]
Line 39: Line 77:
}}|12px]] | }}
}}|12px]] | }}


[[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 ==
Line 50: Line 88:


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

Revision as of 07:27, 29 March 2016

This is the "Type" template. It should be called in the following format:

{{Type
|Present In=
|TXMN Generative Type=
|TXMN Overcoming Type=
|Freemon x2 Against=
|Freemon x0.5 Against=
|Freemon x0 Against=
|Main Details=
}}

Edit the page to see the template text.