Template:Sign: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Split DP into DPcity and DProute)
m (fixing two minor issues)
 
(37 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<noinclude>__NOEDITSECTION__
{{#switch: {{{1|}}}
==How to use==
|bw|bwbuilding=
<div style="float: left; padding-right: 5px; margin-bottom: 150px;">
{{{!}} cellpadding=0 cellspacing=0 style="margin:15px; width:246px"
<br>
{{!}} style="width:2px;border: 1px solid #181818;border-bottom:none;background:#{{#switch:{{lc:{{{1|}}}}}|bw=ba9a61|bwbuilding=79aad3}};height:4px" class="roundytop" {{!}}
</noinclude><!--
{{!}} style="width:244px; border-bottom: 1px solid #181818;" {{!}}
{{!}} style="width:2px; border: 1px solid #181818; border-bottom:none; background:#{{#switch:{{lc:{{{1|}}}}}|bw=ba9a61|bwbuilding=79aad3}}; height:4px" class="roundytop" {{!}}
{{!}}-
{{!}} style="border-left: 1px solid #181818; background:#{{#switch:{{lc:{{{1|}}}}}|bw=825920|bwbuilding=205982}}; height:2px; border-right: 1px solid #{{#switch:{{lc:{{{1|}}}}}|bw=714108|bwbuilding=084971}}" {{!}}
{{!}} style="background:#{{#switch:{{lc:{{{1|}}}}}|bw=ba9a61|bwbuilding=79aad3}}" {{!}}
{{!}} style="border-right: 1px solid #181818; background:#{{#switch:{{lc:{{{1|}}}}}|bw=825920|bwbuilding=205982}}; border-left: 1px solid#{{#switch:{{lc:{{{1|}}}}}|bw=714108|bwbuilding=084971}}" {{!}}
{{!}}-
{{!}} style="border-left: 1px solid #181818; background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}}; height:2px; border-right: 1px solid#{{#switch:{{lc:{{{1|}}}}}|bw=714108|bwbuilding=084971}}" {{!}}
{{!}} style="background:#{{#switch:{{lc:{{{1|}}}}}|bw=825920|bwbuilding=205982}}" {{!}}
{{!}} style="border-right: 1px solid #181818;background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}}; border-left: 1px solid#{{#switch:{{lc:{{{1|}}}}}|bw=714108|bwbuilding=084971}}" {{!}}
{{!}}-
{{!}} style="border-left: 1px solid #181818;background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}}; height:34px; border-right: 1px solid #{{#switch:{{lc:{{{1|}}}}}|bw=714108|bwbuilding=084971}}" {{!}}
{{!}} style="background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}}" {{!}}
{{{!}}style="height:34px;  background:transparent; width:100%"
{{!}} style="background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}}" {{!}}
{{{!}} cellpadding=0 cellspacing=0 style="background:#{{#switch:{{lc:{{{1|}}}}}|bw=ba9a61|bwbuilding=79aad3}};height:34px;width:100%;"
{{!}} style="background:#{{#switch:{{lc:{{{1|}}}}}|bw=fbdbba|bwbuilding=acdcfb}}; {{roundy|4px}} font-size:11px;padding-left:5px;line-height:12px;" valign=top {{!}}
<b>{{{2|Title}}}</b><br />{{{3|Description}}}
{{!}}}
{{!}}}
{{!}} style="border-right: 1px solid#181818;background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}};border-left: 1px solid#{{#switch:{{lc:{{{1|}}}}}|bw=714108|bwbuilding=084971}}" {{!}}
{{!}}-
{{!}} style="border-left: 1px solid#181818;background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}};height:2px;border-right: 1px solid#714108" {{!}}
{{!}} style="background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}}" {{!}}
{{!}} style="border-right: 1px solid#181818;background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}};border-left: 1px solid#{{#switch:{{lc:{{{1|}}}}}|bw=714108|bwbuilding=084971}}" {{!}}
{{!}}-
{{!}} style="border-left: 1px solid#181818;background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}};height:2px;border-right: 1px solid#{{#switch:{{lc:{{{1|}}}}}|bw=714108|bwbuilding=084971}}" {{!}}
{{!}} style="background:#{{#switch:{{lc:{{{1|}}}}}|bw=825920|bwbuilding=205982}}" {{!}}
{{!}} style="border-right: 1px solid#181818;background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}};border-left: 1px solid#{{#switch:{{lc:{{{1|}}}}}|bw=714108|bwbuilding=084971}}" {{!}}
{{!}}-
{{!}} style="border: 1px solid#181818;border-top:none;border-bottom:none;background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}};height:2px" {{!}}
{{!}} style="width:244px;border-top: 1px solid#000;" {{!}}
{{!}} style="border: 1px solid#181818;border-top:none;border-bottom:none;background:#{{#switch:{{lc:{{{1|}}}}}|bw=9a7141|bwbuilding=41799a}};height:2px" {{!}}
{{!}}-
{{!}} style="border: 1px solid#181818;border-top:none;background:#{{#switch:{{lc:{{{1|}}}}}|bw=ba9a61|bwbuilding=79aad3}};height:2px" class="roundybottom" {{!}}
{{!}} style="width:244px;" {{!}}
{{!}} style="border: 1px solid#181818;border-top:none;background:#{{#switch:{{lc:{{{1|}}}}}|bw=ba9a61|bwbuilding=79aad3}};height:2px" class="roundybottom" {{!}}
{{!}}}
|E|e|RS|rs|R|r|S|s=
{{#switch: {{{2}}}
|header=
<div style="width: {{#switch: {{{1}}}|E|e=254|RS|rs|R|r|S|s=250}}px; min-height: 45px; vertical-align: middle; border: 2px #{{#switch: {{{1}}}|E|e=00f898|RS|rs|R|r|S|s=98c8f8}} solid; {{roundy|8px}} background: #{{#switch: {{{1}}}|E|e=00c8b8|RS|rs|R|r|S|s=78b8e0}}; margin: 15px; display: block;">
<div style="width: 244px; min-height: 45px; background: #{{#switch: {{{1}}}|E|e=e0e8e0|RS|rs|R|r|S|s=e0e0e8}}; {{roundy|8px}} padding: 1px; margin: 0px {{#switch: {{{1}}}|E|e=4|RS|rs|R|r|S|s=2}}px; display: block;">
<div style="width: 244px; min-height: 45px; background: #f8f8f8; {{roundy|8px}} display: block;">
<div style="text-align: left; color: #{{#switch: {{{1}}}|E|e=606060|RS|rs|R|r|S|s=484848}}; font-size: 95%; line-height: 1.5em; padding: 0px 8px; word-wrap: break-word; overflow: hidden;">


|footer=
</div></div></div></div>


Template starts here
|title=
<b>{{{3|Title}}}</b><br>


|{{{2|Description}}}<br>
}}


-->{{#switch: {{{1|}}}
|E|e=
|FRLG|frlg|FL|fl=
|FRLG|frlg|FL|fl=
|DPcity|dpcity|DP|dp=
{{#switch: {{{2}}}
{{#switch: {{{2|header}}}
|header=
|header=
<div style="width: 300px; min-height: 50px; vertical-align: middle; border: 3px #606868 solid; border-radius: 8px; -moz-border-radius: 8px; background: #6C7C7C; margin: 20px; display: block;">
<div style="width: 246px; min-height: 45px; vertical-align: middle; border: #687078 solid; border-width: 2px 3px; {{roundy|4px}} background: #c8c8d8; padding: 2px 0px; margin: 15px; display: block;">
<div style="width: 286px; min-height: 50px; background: #788484; border-radius: 2px 0px 0px 2px; -moz-border-radius: 2px 0px 0px 2px; margin-left: 3px; margin-right: 11px; display: block;">
<div style="width: 230px; min-height: 45px; background: #f8f8f8; {{roundy|2px}} margin: 0px 8px; display: block;">
<div style="width: 281px; min-height: 50px; background: #849090; margin-left: 2px; margin-right: 3px; display: block;">
<div style="text-align: left; color: #606060; font-size: 95%; line-height: 1.5em; padding: 0px 2px; word-wrap: break-word; overflow: hidden;">
<div style="width: 279px; min-height: 50px; background: #949C9C; margin-right: 2px; display: block;">
<div style="color: #EFF0F0; font-size: 95%; line-height: 20px; padding: 0px 10px; word-wrap: break-word; overflow: hidden;">


|footer=
|footer=
</div></div></div></div></div>
</div></div></div>


|title=
|title=
<b>{{{3|Title}}}</b><br>
<b>{{{3|Title}}}</b><br>


|{{{3|Description}}}<br>
|{{{2|Description}}}<br>
}}


|FRLGspeech|frlgspeech=
{{#switch: {{{2}}}
|header=
<div style="width: 248px; min-height: 45px; vertical-align: middle; border: 1px #4870a0 solid; {{roundy|18px}} background: #a0d0e0; padding: 2px 0px; margin: 15px; display: block;">
<div style="width: 244px; min-height: 45px; background: #f8f8f8; {{roundy|15px}} margin: 0px 2px; display: block;">
<div style="width: 240px; min-height: 45px; background: transparent; margin: 0px 2px; position: relative;">
<div style="width: 4px; height: 60%; background: transparent; position: absolute; top: 50%; display: block;"><div style="width: 4px; height: 100%; background: #e0f0f8; {{roundy|2px}} display: block; position: relative; top: -50%;"></div></div>
<div style="width: 4px; height: 60%; background: transparent; position: absolute; top: 50%; left: 236px; display: block;"><div style="width: 4px; height: 100%; background: #e0f0f8; {{roundy|2px}} display: block; position: relative; top: -50%;"></div></div>
<div style="text-align: left; color: #606060; font-size: 95%; line-height: 1.5em; margin: 0px 4px; padding: 0px 2px; word-wrap: break-word; overflow: hidden;">
|footer=
</div></div></div></div>
|title=
<b>{{{3|Title}}}</b><br>
|{{{2|Description}}}<br>
}}
}}


|DProute|dproute=
|FRLGbattle|frlgbattle=
{{#switch: {{{2}}}
|header=
<div style="width: 246px; min-height: 45px; vertical-align: middle; border: 1px #987818 solid; {{roundy|5px}} background: #c8a848; padding: 3px 0px; margin: 15px; display: block;">
<div style="width: 238px; min-height: 45px; background: #e0d8e0; {{roundy|2px}} padding: 2px 0px; margin: 0px 4px; display: block;">
<div style="width: 234px; min-height: 45px; background: #285068; margin: 0px 2px; display: block;">
<div style="text-align: left; color: #f7f7f7; font-size: 95%; line-height: 1.5em; padding: 0px 2px; word-wrap: break-word; overflow: hidden;">
 
|footer=
</div></div></div></div>
 
|title=
<b>{{{3|Title}}}</b><br>
 
|{{{2|Description}}}<br>
}}
 
|DPcity|dpcity|DP|dp|DPcitymap|dpcitymap|DProute|dproute|DPtip|dptip=
{{#switch: {{{2}}}
|header=
<div style="width: 266px; min-height: 45px; vertical-align: middle; border: 2px #{{#switch:{{{1}}}|DPcity|dpcity|DP|dp=606868|DPcitymap|dpcitymap=685848|DProute|dproute=4C6C58|DPtip|dptip=4C5C74}} solid; {{roundy|8px}} background: #{{#switch:{{{1}}}|DPcity|dpcity|DP|dp=6C7C7C|DPcitymap|dpcitymap=7C6850|DProute|dproute=587C64|DPtip|dptip=586884}}; margin: 15px; display: block;">
<div style="width: 252px; min-height: 45px; background: #{{#switch: {{{1}}}|DPcity|dpcity|DP|dp=788484|DPcitymap|dpcitymap=887458|DProute|dproute=5C8468|DPtip|dptip=60748C}}; {{roundyleft|2px}} margin-left: 3px; margin-right: 11px; display: block;">
<div style="width: 247px; min-height: 45px; background: #{{#switch: {{{1}}}|DPcity|dpcity|DP|dp=849090|DPcitymap|dpcitymap=947C5C|DProute|dproute=64906C|DPtip|dptip=687C98}}; margin-left: 2px; margin-right: 3px; display: block;">
<div style="width: 245px; min-height: 45px; background: #{{#switch: {{{1}}}|DPcity|dpcity|DP|dp=949C9C|DPcitymap|dpcitymap=A48C68|DProute|dproute=6CA07C|DPtip|dptip=7490AC}}; margin-right: 2px; display: block;">
<div style="text-align: left; color: #EFF0F0; font-size: 95%; line-height: 1.5em; padding: 0px 6px; word-wrap: break-word; overflow: hidden;">


|footer=
|footer=
</div></div></div></div></div>
</div></div></div></div></div>


|=
|map=
<div style="width: 300px; min-height: 50px; vertical-align: middle; border: 2px #{{emerald color}} dashed; border-radius: 8px; -moz-border-radius: 8px; background: transparent; margin: 20px; display: block;">
<div style="width: 60px; height: 45px; text-align: center; font-size: smaller; line-height: 1.5em; background: transparent; margin-right: 10px; float: left; display: table; #position: relative;"><div style="background: transparent; #position: absolute; #top: 50%; #left: 50%; display: table-cell; vertical-align: middle;"><div style="#position: relative; #top: -50%; #left: -50%;">[[Image:{{{3}}}_Sign_Map.png]]</div></div></div>
<div style="font-size: 95%; line-height: 20px; padding: 0px 10px; word-wrap: break-word; overflow: hidden;">
<b>Pokémon Emerald</b><br>
Sign design coming!<br>
</div></div>


|title=
<b>{{{3|Title}}}</b><br>


<div style="width: 300px; min-height: 50px; vertical-align: middle; border: 2px dashed; border-color: #{{firered color}} #{{leafgreen color}} #{{leafgreen color}} #{{firered color}}; border-radius: 8px; -moz-border-radius: 8px; background: transparent; margin: 20px; display: block;">
|{{{2|Description}}}<br>
<div style="font-size: 95%; line-height: 20px; padding: 0px 10px; word-wrap: break-word; overflow: hidden;">
}}
<b>Pokémon FireRed and LeafGreen</b><br>
Sign design coming!<br>
</div></div>


|HGSScity|hgsscity|HGSS|hgss|HGSScitymap|hgsscitymap=
{{#switch: {{{2}}}
|header=
<div style="width: 266px; min-height: 45px; vertical-align: middle; border: 2px #{{#switch:{{{1}}}|HGSScitymap|hgsscitymap=604828}} solid; {{roundy|8px}} background: #{{#switch:{{{1}}}|HGSScitymap|hgsscitymap=786030}}; margin: 15px; display: block;">
<div style="width: 252px; min-height: 45px; background: #{{#switch: {{{1}}}|HGSS|hgss|HGSScitymap|hgsscitymap=887030}}; {{roundyleft|2px}} margin-left: 3px; margin-right: 11px; display: block;">
<div style="width: 247px; min-height: 45px; background: #{{#switch: {{{1}}}|HGSS|hgss|HGSScitymap|hgsscitymap=987838}}; margin-left: 2px; margin-right: 3px; display: block;">
<div style="width: 245px; min-height: 45px; background: #{{#switch: {{{1}}}|HGSS|hgss|HGSScitymap|hgsscitymap=b09040}}; margin-right: 2px; display: block;">
<div style="text-align: left; color: #f8f8f8; font-size: 95%; line-height: 1.5em; padding: 0px 6px; word-wrap: break-word; overflow: hidden;">


<div style="width: 300px; min-height: 50px; vertical-align: middle; border: 3px #606868 solid; border-radius: 8px; -moz-border-radius: 8px; background: #6C7C7C; margin: 20px; display: block;">
|footer=
<div style="width: 286px; min-height: 50px; background: #788484; border-radius: 2px 0px 0px 2px; -moz-border-radius: 2px 0px 0px 2px; margin-left: 3px; margin-right: 11px; display: block;">
<div style="width: 281px; min-height: 50px; background: #849090; margin-left: 2px; margin-right: 3px; display: block;">
<div style="width: 279px; min-height: 50px; background: #949C9C; margin-right: 2px; display: block;">
<div style="color: #EFF0F0; font-size: 95%; line-height: 20px; padding: 0px 10px; word-wrap: break-word; overflow: hidden;">
<b>Pokémon Diamond and Pearl</b><br>
City sign design!<br>
</div></div></div></div></div>
</div></div></div></div></div>


|map=
<div style="width: 60px; height: 45px; text-align: center; font-size: smaller; line-height: 1.5em; background: transparent; margin-right: 10px; float: left; display: table; #position: relative;"><div style="background: transparent; #position: absolute; #top: 50%; #left: 50%; display: table-cell; vertical-align: middle;"><div style="#position: relative; #top: -50%; #left: -50%;">[[Image:{{{3}}}_Sign_Map.png]]</div></div></div>
|title=
<b>{{{3|Title}}}</b><br>
|{{{2|Description}}}<br>
}}
|RBY|rby|GSC|gsc=
{{#switch: {{{2}}}
|header=
<div style="width: 162px; min-height: 35px; vertical-align: middle; border: #000 double; border-width: 3px 3px; {{roundy|4px}} background: #fefefe; margin: 15px; display: block; line-height: 1.5em; border-bottom:2px solid #000">
<div style="min-height: 35px; border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 0 4px; margin-bottom: 1px">
<div style="margin:-3px 0 -7px 0;font-family:monospace">
|footer=
</div></div></div>


<div style="width: 300px; min-height: 50px; vertical-align: middle; border: 2px dashed; border-color: #{{diamond color}} #{{pearl color}} #{{pearl color}} #{{diamond color}}; border-radius: 8px; -moz-border-radius: 8px; background: transparent; margin: 20px; display: block;">
|title=
<div style="font-size: 95%; line-height: 20px; padding: 0px 10px; word-wrap: break-word; overflow: hidden;">
<b>{{{3|Title}}}</b><br>
<b>Pokémon Diamond and Pearl</b><br>
Route sign design coming!<br>
</div></div>


|{{{2|Description}}}<br>
}}
}}<noinclude>
}}<noinclude>
</div>
First of all, since the sign designs differ from game to game, put the version initials (only DPcity available at the moment, I'll get to the others later):<br>
<b>E = {{color|{{emerald color}}|Emerald}}<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>
DProute = {{color|{{diamond color}}|Diamond}} and {{color|{{pearl color}}|Pearl}} route sign design</b><br>
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign| </nowiki>{{color|FF0000|<b>DPcity</b>}}<nowiki> |</nowiki>}}
Then out of the following:<br>
<br>
Header, always put this first:
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign|DPcity|header}}</nowiki>}}
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>}}
After everything, close with footer:
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign|DPcity|footer}}</nowiki>}}
[[Category:Other templates]]</noinclude>
[[Category:Other templates]]</noinclude>

Latest revision as of 00:10, 19 July 2015