Template:Sign: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Dammit, hope this fixes it.)
m (Good, fixed. Error message displayed if map image does not exist.)
Line 25: Line 25:


|map=
|map=
<div style="width: 50px; height: 50px; text-align: center; background: transparent; margin-right: 10px; float: left; display: table; #position: relative;"><div style="#position: absolute; #top: 50%; display: table-cell; vertical-align: middle;"><div style="#position: relative; #top: -50%;">{{#ifexist: Image:{{{3}}}_Sign_Map.png | [[Image:{{{3}}}_Sign_Map.png]] | <small>[[Image:{{{3}}}_Sign_Map.png]] does not exist</small> }}</div></div></div>
<div style="width: 50px; height: 50px; text-align: center; color: #FF0000; line-height: 10px; background: transparent; margin-right: 10px; float: left; display: table; #position: relative;"><div style="#position: absolute; #top: 50%; display: table-cell; vertical-align: middle;"><div style="#position: relative; #top: -50%;">{{#ifexist: Image:{{{3}}}_Sign_Map.png | [[Image:{{{3}}}_Sign_Map.png]] | <small>[[Image:{{{3}}}_Sign_Map.png]] does not exist!</small> }}</div></div></div>


|title=
|title=
Line 64: Line 64:
<div style="width: 279px; min-height: 50px; background: #A48C68; margin-right: 2px; display: block;">
<div style="width: 279px; min-height: 50px; background: #A48C68; margin-right: 2px; display: block;">
<div style="color: #E4F0F0; font-size: 95%; line-height: 20px; padding: 0px 10px; word-wrap: break-word; overflow: hidden;">
<div style="color: #E4F0F0; font-size: 95%; line-height: 20px; padding: 0px 10px; word-wrap: break-word; overflow: hidden;">
<div style="width: 50px; height: 50px; text-align: center; background: transparent; margin-right: 10px; float: left; display: table; #position: relative;"><div style="#position: absolute; #top: 50%; display: table-cell; vertical-align: middle;"><div style="#position: relative; #top: -50%">[[Image:Twinleaf Town_Sign_Map.png]]</div></div></div>
<div style="width: 50px; height: 50px; text-align: center; color: #FF0000; line-height: 10px; background: transparent; margin-right: 10px; float: left; display: table; #position: relative;"><div style="#position: absolute; #top: 50%; display: table-cell; vertical-align: middle;"><div style="#position: relative; #top: -50%">[[Image:Twinleaf Town_Sign_Map.png]]></div></div></div>
<b>Pokémon Diamond and Pearl</b><br>
<b>Pokémon Diamond and Pearl</b><br>
City map sign design!<br>
City map sign design!<br>

Revision as of 02:41, 13 January 2009

How to use


Pokémon Emerald
Sign design coming!


Pokémon FireRed and LeafGreen
Sign design coming!


Pokémon Diamond and Pearl
City sign design!


Twinleaf Town Sign Map.png>

Pokémon Diamond and Pearl
City map sign design!


Pokémon Diamond and Pearl
Route sign design!


Pokémon Diamond and Pearl
Trainer tip sign design!

First of all, since the sign designs differ from game to game, put the version (only DP ones available at the moment, I'll get to the others later):
E = Emerald
FRLG = FireRed and LeafGreen
DPcity = Diamond and Pearl city sign design (grey)
DPcitymap = Diamond and Pearl city map sign design (brown)
DProute = Diamond and Pearl route sign design (green)
DPtip = Diamond and Pearl Trainer tip sign design (blue)

{{sign| DPcitymap |

Then out of the following:

Header, always put this first:

{{sign|DPcitymap|header}}

For city/town signs with a map, include this next, providing only the full name of the city/town (eg. Twinleaf Town, with the space), and the image will be displayed if it exists (image name should then be NAME_Sign_Map.png):

{{sign|DPcitymap|map| full name of city/town (with capitals and any spaces) }}

Then comes the content, add the title parameter to put a bolded title:

{{sign|DPcitymap|title| put title here }}
{{sign|DPcitymap| put text here }}
{{sign|DPcitymap| put text here (will add a new line) }}
{{sign|DPcitymap| put text here (will add a new line) }}

After everything, close with footer:

{{sign|DPcitymap|footer}}