Difference between revisions of "Template:Map2"

From Pokemon World Online Wiki
Jump to: navigation, search
m
m
Line 6: Line 6:
  
 
<table cellspacing"1" cellpadding="1" style="; border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; margin-top: 5px; margin-left: 15px; border-radius: 15px; background: #{{Locationcolor|{{{Type}}}}}; text-align: center;">
 
<table cellspacing"1" cellpadding="1" style="; border: 3px #{{Locationcolor/dark|{{{Type}}}}} solid; margin-top: 5px; margin-left: 15px; border-radius: 15px; background: #{{Locationcolor|{{{Type}}}}}; text-align: center;">
 +
#if{{{{{North|}}}
 
<tr>
 
<tr>
<td colspan="3" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">{{{North}}}</td>
+
<td colspan="3" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[{{{North}}}]]</td>
 
</tr>
 
</tr>
 +
}}
 
<tr>
 
<tr>
<td>{{{West}}}</td>
+
#if{{{{{West|}}}
 +
<td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[{{{West}}}]]</td>
 +
}}
 
<td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">
 
<td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">
 
[[File:{{{Map}}}|{{{px|350px}}}|{{PAGENAME}}]]
 
[[File:{{{Map}}}|{{{px|350px}}}|{{PAGENAME}}]]
 
</td>
 
</td>
<td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">{{{East}}}</td>
+
#if{{{{{East|}}}
 +
<td style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[{{{East}}}]]</td>
 +
}}
 
</tr>
 
</tr>
<td colspan="3" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">{{{South}}}</td>
+
#if{{{{{South|}}}
 +
<tr>
 +
<td colspan="3" style="border: 1px #{{Locationcolor/dark|{{{Type}}}}} solid; background: #{{Locationcolor/light|{{{Type}}}}}; border-radius: 15px;">[[{{{South}}}]]</td>
 +
</tr>
 +
}}
 
</table>
 
</table>
  

Revision as of 17:17, 12 August 2015