Template:Sign: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
S1tHSL4y3r (talk | contribs) (Sign template - using that switch technique again, saves heaps of extra files) |
S1tHSL4y3r (talk | contribs) (Split DP into DPcity and DProute) |
||
Line 1: | Line 1: | ||
<noinclude>__NOEDITSECTION__ | <noinclude>__NOEDITSECTION__ | ||
==How to use== | ==How to use== | ||
<div style="float: left; padding-right: 5px; margin-bottom: | <div style="float: left; padding-right: 5px; margin-bottom: 150px;"> | ||
<br> | <br> | ||
</noinclude><!-- | </noinclude><!-- | ||
Line 10: | Line 10: | ||
-->{{#switch: {{{1|}}} | -->{{#switch: {{{1|}}} | ||
|E= | |E|e= | ||
|FRLG|FL= | |FRLG|frlg|FL|fl= | ||
|DP= | |DPcity|dpcity|DP|dp= | ||
{{#switch: {{{2|header}}} | {{#switch: {{{2|header}}} | ||
|header= | |header= | ||
Line 30: | Line 30: | ||
}} | }} | ||
|DProute|dproute= | |||
|footer= | |||
</div></div></div></div></div> | |||
|= | |= | ||
Line 52: | Line 57: | ||
<div style="color: #EFF0F0; font-size: 95%; line-height: 20px; padding: 0px 10px; word-wrap: break-word; overflow: hidden;"> | <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> | <b>Pokémon Diamond and Pearl</b><br> | ||
City sign design!<br> | |||
</div></div></div></div></div> | </div></div></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;"> | |||
<div style="font-size: 95%; line-height: 20px; padding: 0px 10px; word-wrap: break-word; overflow: hidden;"> | |||
<b>Pokémon Diamond and Pearl</b><br> | |||
Route sign design coming!<br> | |||
</div></div> | |||
}}<noinclude> | }}<noinclude> | ||
</div> | </div> | ||
First of all, since the sign designs differ from game to game, put the | 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> | <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> | |||
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign| </nowiki>{{color|FF0000|<b> | 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> | 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| | {{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: | Then comes the content, add the <b><i>title</i></b> parameter to put a bolded title: | ||
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign| | {{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: | After everything, close with footer: | ||
{{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign| | {{User:S1tHSL4y3r/Template:Codediv|blue|<nowiki>{{sign|DPcity|footer}}</nowiki>}} | ||
[[Category:Other templates]]</noinclude> | [[Category:Other templates]]</noinclude> |
Revision as of 15:27, 11 January 2009
How to use
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):
E = Emerald
FRLG = FireRed and LeafGreen
DPcity = Diamond and Pearl city sign design
DProute = Diamond and Pearl route sign design
{{sign| DPcity |
Then out of the following:
Header, always put this first:
{{sign|DPcity|header}}
Then comes the content, add the title parameter to put a bolded title:
{{sign|DPcity|title| put title here }}
{{sign|DPcity| put text here }}
{{sign|DPcity| put text here (will add a new line) }}
{{sign|DPcity| put text here (will add a new line) }}
After everything, close with footer:
{{sign|DPcity|footer}}