Template:Present in: Difference between revisions

From Medapedia
Jump to navigationJump to search
(Let's see if converting it to HTML works)
(Updated to include Girls Mission and the M1 card game.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="infobox wikitable" width=115px style="background:#EEEEEE; text-align:center; font-size: 12px;">
<table class="infobox wikitable" width=130px style="background:#EEEEEE; text-align:center; font-size:12px; margin-left:10px; margin-top:3px;">  
<tr>
<tr>  
<th style="background:#666666; color:#FFF;"> Present in: </th> </tr>  
<th style="background:#666666; color:#FFF;"> Present in: </th> </tr>  
{{#ifeq: {{{M1|}}} | true | <tr>
{{#ifeq: {{{M1|}}} | true | <tr>
Line 14: Line 14:
<td> {{b|Medarot DS}} </td> </tr>}} {{#ifeq: {{{M7|}}} | true | <tr>
<td> {{b|Medarot DS}} </td> </tr>}} {{#ifeq: {{{M7|}}} | true | <tr>
<td> {{b|Medarot 7}} </td> </tr>}} {{#ifeq: {{{MDual|}}} | true | <tr>
<td> {{b|Medarot 7}} </td> </tr>}} {{#ifeq: {{{MDual|}}} | true | <tr>
<td> {{b|Medarot Dual}} </td> </tr>}}
<td> {{b|Medarot Dual}} </td> </tr>}} {{#ifeq: {{{M8|}}} | true | <tr>
<td> {{b|Medarot 8}} </td> </tr>}} {{#ifeq: {{{M9|}}} | true | <tr>
<td> {{b|Medarot 9}} </td> </tr>}} {{#ifeq: {{{MGM|}}} | true | <tr>
<td> {{b|Medarot Girls Mission}} </td> </tr>}} {{#ifeq: {{{MCard|}}} | true | <tr>
<td> {{b|Medarot Card Game}} / {{b|Medarot Cardrobottle|Cardrobottle}} </td> </tr>}}
</table><noinclude>
</table><noinclude>
<div style="clear:right;">
<div style="clear:right;">
== Description ==
== 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.
This template is for use on attack/action and game mechanics pages to show which games something appears in.


To use the template, copy the text below and remove the lines for games that the mechanic is NOT present in:
To use the template, copy the text below and remove the lines for games that the mechanic is NOT present in:
Line 37: Line 41:
| M7 = true
| M7 = true
| MDual = true
| MDual = true
| M8 = true
| M9 = true
| MGM = true
| MCard = true
}}
}}
</pre>
</pre>
Line 51: Line 59:
</div>
</div>


[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 11:09, 3 September 2016

Present in:

Description[edit]

This template is for use on attack/action and game mechanics pages to show which games something appears in.

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
| M8 = true
| M9 = true
| MGM = true
| MCard = 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
}}