Difference between revisions of "Template:LocBox"

From The Official Project Miato Wiki
Jump to navigation Jump to search
(Created page with "{| align="right" cellpadding="1" style="background: #549bde; width: 250px; border-spacing: 0px; color: #000000; margin-bottom:0.5em; margin-left:1em;" class="locbox" |- style...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| align="right" cellpadding="1" style="background: #549bde; width: 250px; border-spacing: 0px; color: #000000;  margin-bottom:0.5em; margin-left:1em;" class="locbox"
+
{| align="right" cellpadding="1" style="background: #549bde; width: 300px; border-spacing: 0px; color: #000000;  margin-bottom:0.5em; margin-left:1em;" class="locbox"
 
|- style="text-align:center;"
 
|- style="text-align:center;"
 
| colspan="3" style="border-style: solid; border-color: #000000; border-width: 1px 1px 0 1px;" | <big>'''{{{name}}}'''</big> <br /> ''{{{motto}}}''
 
| colspan="3" style="border-style: solid; border-color: #000000; border-width: 1px 1px 0 1px;" | <big>'''{{{name}}}'''</big> <br /> ''{{{motto}}}''
Line 6: Line 6:
 
| colspan="3" style="border: 1px solid #000000; border-top-width: 0;" |
 
| colspan="3" style="border: 1px solid #000000; border-top-width: 0;" |
 
|- style="background: #c6f2ff; text-align: center;"  
 
|- style="background: #c6f2ff; text-align: center;"  
| colspan="3" style="border: 1px solid #000000; border-top-width: 0;" | [[File:{{{pic}}}.png|250px|center|{{{name}}}]]
+
| colspan="3" style="border: 1px solid #000000; border-top-width: 0;" | [[File:{{{pic}}}.png|300px|center|{{{name}}}]]
 
|- style="height: 1px; background: #0f4373"
 
|- style="height: 1px; background: #0f4373"
 
| colspan="3" style="border: 1px solid #000000; border-top-width: 0;" |
 
| colspan="3" style="border: 1px solid #000000; border-top-width: 0;" |
Line 19: Line 19:
 
| colspan="3" style="border: 1px solid #000000; border-top-width: 0; text-align: center;" | '''Connecting Locations'''
 
| colspan="3" style="border: 1px solid #000000; border-top-width: 0; text-align: center;" | '''Connecting Locations'''
 
|-  
 
|-  
| style="text-align: center; background: #0f4373; border: 1px solid #000000; border-top-width: 0;" |  
+
| width="100px" style="text-align: center; background: #0f4373; border: 1px solid #000000; border-top-width: 0;" |  
| style="text-align: center; {{#ifeq: {{{top}}} | yes | background: #92d3e9 | background: #0f4373; color: #0f4373 }}; border: solid #000000; border-width: 0 1px 1px 0;" | ↑ <br> {{{linktop}}}
+
| width="100px" style="text-align: center; {{#ifeq: {{{top}}} | yes | background: #92d3e9 | background: #0f4373; color: #0f4373 }}; border: solid #000000; border-width: 0 1px 1px 0;" | ↑ <br> {{{linktop}}}
| style="text-align: center; background: #0f4373; border: 1px solid #000000; border-width: 0 1px 1px 0;" |  
+
| width="100px" style="text-align: center; background: #0f4373; border: 1px solid #000000; border-width: 0 1px 1px 0;" |  
 
|-
 
|-
| style="text-align: center; {{#ifeq: {{{left}}} | yes | background: #92d3e9 | background: #0f4373; color: #0f4373}}; border: 1px solid #000000; border-top-width: 0;" |{{{linkleft}}} <br>  ←
+
| width="100px" style="text-align: center; {{#ifeq: {{{left}}} | yes | background: #92d3e9 | background: #0f4373; color: #0f4373}}; border: 1px solid #000000; border-top-width: 0;" |{{{linkleft}}} <br>  ←
| style="text-align: center; background: #c6f2ff; border: solid #000000; border-width: 0 1px 1px 0;" | '''{{{name}}}'''
+
| width="100px" style="text-align: center; background: #c6f2ff; border: solid #000000; border-width: 0 1px 1px 0;" | '''{{{name}}}'''
| style="text-align: center; {{#ifeq: {{{right}}} | yes | background: #92d3e9 | background: #0f4373; color: #0f4373 }}; border: 1px solid #000000; border-width: 0 1px 1px 0;" | {{{linkright}}} <br> →
+
| width="100px" style="text-align: center; {{#ifeq: {{{right}}} | yes | background: #92d3e9 | background: #0f4373; color: #0f4373 }}; border: 1px solid #000000; border-width: 0 1px 1px 0;" | {{{linkright}}} <br> →
 
|-
 
|-
| style="text-align: center; background: #0f4373; border: 1px solid #000000; border-top-width: 0;" |  
+
| width="100px" style="text-align: center; background: #0f4373; border: 1px solid #000000; border-top-width: 0;" |  
| style="text-align: center; {{#ifeq: {{{bottom}}} | yes | background: #92d3e9 | background: #0f4373; color: #0f4373}}; border: solid #000000; border-width: 0 1px 1px 0;" | {{{linkbottom}}} <br> ↓
+
| width="100px" style="text-align: center; {{#ifeq: {{{bottom}}} | yes | background: #92d3e9 | background: #0f4373; color: #0f4373}}; border: solid #000000; border-width: 0 1px 1px 0;" | {{{linkbottom}}} <br> ↓
| style="text-align: center; background: #0f4373; border: 1px solid #000000; border-width: 0 1px 1px 0;" |  
+
| width="100px" style="text-align: center; background: #0f4373; border: 1px solid #000000; border-width: 0 1px 1px 0;" |  
 
|- style="height: 1px; background: #0f4373;"
 
|- style="height: 1px; background: #0f4373;"
 
|- style="height: 1px; background: #0f4373"
 
|- style="height: 1px; background: #0f4373"
Line 36: Line 36:
  
 
<includeonly><!--
 
<includeonly><!--
//-->[[Category:Miato Characters]]<!--
+
//-->[[Category:Miato Locations]]<!--
 
//--></includeonly>
 
//--></includeonly>
  
Line 53: Line 53:
 
| mapdesc =
 
| mapdesc =
 
| top =
 
| top =
| toplink =  
+
| linktop =  
 
| left =  
 
| left =  
| leftlink =  
+
| linkleft =  
 
| right =  
 
| right =  
| rightlink =  
+
| linkright =  
 
| bottom =
 
| bottom =
| bottomlink =  
+
| linkbottom =  
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>

Latest revision as of 09:23, 22 August 2012

{{{name}}}
{{{motto}}}
[[File:{{{pic}}}.png|300px|center|{{{name}}}]]
Map Description
{{{mapdesc}}}
Connecting Locations

{{{linktop}}}
{{{linkleft}}}
{{{name}}} {{{linkright}}}
{{{linkbottom}}}



Description

This is the infobox for Miato NPCs

To use this template, copy the text below into the top of an article and fill in each section:

{{LocBox
| name = 
| pic =
| motto = 
| mapdesc =
| top =
| linktop = 
| left = 
| linkleft = 
| right = 
| linkright = 
| bottom =
| linkbottom = 
}}

top, left, right and bottom are binary values. If there's a location linking from that direction, fill that in with 'yes' and make the link actaully, well, link.