Template:Present in: Difference between revisions

From Medapedia
Jump to navigationJump to search
(???)
(Let's see if converting it to HTML works)
Line 1: Line 1:
{| class="infobox wikitable" width=115px style="background:#EEEEEE; text-align:center; font-size: 12px;"
<table class="infobox wikitable" width=115px style="background:#EEEEEE; text-align:center; font-size: 12px;">
|-
<tr>
! style="background:#666666; color:#FFF;" | Present in:  
<th style="background:#666666; color:#FFF;"> Present in: </th> </tr>
{{#ifeq: {{{M1|}}} | true | {{!}}-
{{#ifeq: {{{M1|}}} | true | <tr>
{{!}} {{b|Medarot 1}} }} {{#ifeq: {{{M2R|}}} | true | {{!}}-
<td> {{b|Medarot 1}} </td> </tr>}} {{#ifeq: {{{M2R|}}} | true | <tr>
{{!}} {{b|Medarot 2}} / {{b|Medarot R|R}} }} {{#ifeq: {{{M3|}}} | true | {{!}}-
<td> {{b|Medarot 2}} / {{b|Medarot R|R}} </td> </tr>}} {{#ifeq: {{{M3|}}} | true | <tr>
{{!}} {{b|Medarot 3}} }} {{#ifeq: {{{M4|}}} | true | {{!}}-
<td> {{b|Medarot 3}} </td> </tr>}} {{#ifeq: {{{M4|}}} | true | <tr>
{{!}} {{b|Medarot 4}} }} {{#ifeq: {{{MNavi|}}} | true | {{!}}-
<td> {{b|Medarot 4}} </td> </tr>}} {{#ifeq: {{{MNavi|}}} | true | <tr>
{{!}} {{b|Medarot Navi}} }} {{#ifeq: {{{M5|}}} | true | {{!}}-
<td> {{b|Medarot Navi}} </td> </tr>}} {{#ifeq: {{{M5|}}} | true | <tr>
{{!}} {{b|Medarot 5}} }} {{#ifeq: {{{MGAX|}}} | true | {{!}}-
<td> {{b|Medarot 5}} </td> </tr>}} {{#ifeq: {{{MGAX|}}} | true | <tr>
{{!}} {{b|Medarot G}} / {{b|Medabots AX|AX}} }} {{#ifeq: {{{MBrave|}}} | true | {{!}}-
<td> {{b|Medarot G}} / {{b|Medabots AX|AX}} </td> </tr>}} {{#ifeq: {{{MBrave|}}} | true | <tr>
{{!}} {{b|Medarot Brave}} }} {{#ifeq: {{{M2Core|}}} | true | {{!}}-
<td> {{b|Medarot Brave}} </td> </tr>}} {{#ifeq: {{{M2Core|}}} | true | <tr>
{{!}} {{b|Medarot 2 Core}} / <br/>{{b|Shingata Medarot|Shingata}} }} {{#ifeq: {{{MDS|}}} | true | {{!}}-
<td> {{b|Medarot 2 Core}} / <br/>{{b|Shingata Medarot|Shingata}} </td> </tr>}} {{#ifeq: {{{MDS|}}} | true | <tr>
{{!}} {{b|Medarot DS}} }} {{#ifeq: {{{M7|}}} | true | {{!}}-
<td> {{b|Medarot DS}} </td> </tr>}} {{#ifeq: {{{M7|}}} | true | <tr>
{{!}} {{b|Medarot 7}} }} {{#ifeq: {{{MDual|}}} | true | {{!}}-
<td> {{b|Medarot 7}} </td> </tr>}} {{#ifeq: {{{MDual|}}} | true | <tr>
{{!}} {{b|Medarot Dual}} }}
<td> {{b|Medarot Dual}} </td> </tr>}}
|-
</table><noinclude>
|}<noinclude>
<div style="clear:right;">
<div style="clear:right;">
== Description ==
== Description ==

Revision as of 14:33, 5 November 2013

Present in:

Description

This template is for use on attack/action and game mechanics pages to show which games something appears in. If an attack/action has different names depending on the game, you might want to use Template:Present in name instead.

To use the template, copy the text below and remove the lines for games that the mechanic is NOT present in:

{{Present in
| M1 = true
| M2R = true
| M3 = true
| M4 = true
| MNavi = true
| M5 = true
| MGAX = true
| MBrave = true
| M2Core = true
| MDS = true
| M7 = true
| MDual = true
}}

The template text should be added to the very top of the page. (Note that Medarot 2/R, Medarot G/AX, and Medarot 2 Core/Shingata Medarot are grouped together because they share the same battle mechanics.)

For example, if the mechanic is only in Medarot 3 and 4, it should look like this:

{{Present in
| M3 = true
| M4 = true
}}