Template:Sign: Difference between revisions
S1tHSL4y3r (talk | contribs) m ({{#ifexist:}} to evaluate whether map image exists) |
S1tHSL4y3r (talk | contribs) m (Oops, revised {{#ifexist:}}) |
||
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: | <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> | ||
}} | }} | ||
Revision as of 02:32, 13 January 2009
How to use
Description
|=
}}
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}}