Template:Sign: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
S1tHSL4y3r (talk | contribs)
Added options: DPcitymap, DProute and DPtip
S1tHSL4y3r (talk | contribs)
Added parameter 'map' to DPcitymap, for displaying map image
Line 23: Line 23:
|footer=
|footer=
</div></div></div></div></div>
</div></div></div></div></div>
|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%">[[Image:{{{3}}}_Sign_Map.png]]</div></div></div>


|title=
|title=
Line 61: 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>
<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>
Line 90: Line 94:
<b>E = {{color|{{emerald color}}|Emerald}}<br>
<b>E = {{color|{{emerald color}}|Emerald}}<br>
FRLG = {{color|{{firered color}}|FireRed}} and {{color|{{leafgreen color}}|LeafGreen}}<br>
FRLG = {{color|{{firered color}}|FireRed}} and {{color|{{leafgreen color}}|LeafGreen}}<br>
DPcity = {{color|{{diamond color}}|Diamond}} and {{color|{{pearl color}}|Pearl}} city sign design<br>
DPcity = {{color|{{diamond color}}|Diamond}} and {{color|{{pearl color}}|Pearl}} city sign design (grey)<br>
DPcitymap = {{color|{{diamond color}}|Diamond}} and {{color|{{pearl color}}|Pearl}} city map sign design<br>
DPcitymap = {{color|{{diamond color}}|Diamond}} and {{color|{{pearl color}}|Pearl}} city map sign design (brown)<br>
DProute = {{color|{{diamond color}}|Diamond}} and {{color|{{pearl color}}|Pearl}} route sign design<br>
DProute = {{color|{{diamond color}}|Diamond}} and {{color|{{pearl color}}|Pearl}} route sign design (green)<br>
DPtip = {{color|{{diamond color}}|Diamond}} and {{color|{{pearl color}}|Pearl}} Trainer tip sign design<br>
DPtip = {{color|{{diamond color}}|Diamond}} and {{color|{{pearl color}}|Pearl}} Trainer tip sign design (blue)<br>
</b>
</b>
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign| </nowiki>{{color|FF0000|<b>DPcity</b>}}<nowiki> |</nowiki>}}
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign| </nowiki>{{color|FF0000|<b>DPcitymap</b>}}<nowiki> |</nowiki>}}
Then out of the following:<br>
Then out of the following:<br>
<br>
<br>
Header, always put this first:
Header, always put this first:
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign|DPcity|header}}</nowiki>}}
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign|DPcitymap|header}}</nowiki>}}
For city/town signs with a map, include this next, providing only the full name of the city/town (eg. <i>Twinleaf Town</i>, <b>with</b> the space), and the image will be displayed if it exists (image name should then be <i>NAME_Sign_Map.png</i>):
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign|DPcitymap|map| </nowiki>{{color|FF0000|<b>full name of city/town</b> <small>(with capitals and any spaces)</small>}}<nowiki> }}</nowiki>}}
Then comes the content, add the <b><i>title</i></b> parameter to put a bolded title:
Then comes the content, add the <b><i>title</i></b> parameter to put a bolded title:
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign|DPcity|title| </nowiki>{{color|FF0000|<b>put title here</b>}}<nowiki> }}</nowiki><br><nowiki>{{sign|DPcity| </nowiki>{{color|FF0000|<b>put text here</b>}}<nowiki> }}</nowiki><br><nowiki>{{sign|DPcity| </nowiki>{{color|FF0000|<b>put text here</b> <small>(will add a new line)</small>}}<nowiki> }}</nowiki><br><nowiki>{{sign|DPcity| </nowiki>{{color|FF0000|<b>put text here</b> <small>(will add a new line)</small>}}<nowiki> }}</nowiki>}}
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign|DPcitymap|title| </nowiki>{{color|FF0000|<b>put title here</b>}}<nowiki> }}</nowiki><br><nowiki>{{sign|DPcitymap| </nowiki>{{color|FF0000|<b>put text here</b>}}<nowiki> }}</nowiki><br><nowiki>{{sign|DPcitymap| </nowiki>{{color|FF0000|<b>put text here</b> <small>(will add a new line)</small>}}<nowiki> }}</nowiki><br><nowiki>{{sign|DPcitymap| </nowiki>{{color|FF0000|<b>put text here</b> <small>(will add a new line)</small>}}<nowiki> }}</nowiki>}}
After everything, close with footer:
After everything, close with footer:
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign|DPcity|footer}}</nowiki>}}
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign|DPcitymap|footer}}</nowiki>}}
[[Category:Other templates]]</noinclude>
[[Category:Other templates]]</noinclude>

Revision as of 02:24, 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!


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}}