User:C.Ezra.M/Template:TypeIcon: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Maverick Nate moved page User:Bfdifan2006/Template:TypeIcon to User:C.Ezra.M/Template:TypeIcon: Automatically moved page while renaming the user "Bfdifan2006" to "C.Ezra.M") |
m (Text replacement - "Bfdifan2006" to "C.Ezra.M") |
||
Line 1: | Line 1: | ||
{{mainspace|template|status=complete}}<onlyinclude><includeonly><div style="display: inline-flex; background: rgba(18,18,18,0.5); {{roundy|5px}}; padding-right: 2px; vertical-align: middle; margin: 1px; width: {{#ifeq:{{{2|}}}|b|150px|75px}};"><div style="display: flex; align-items: center; font-size: 2pt; {{roundyleft|5px}}; background: #{{#switch:{{lc:{{{1|}}}}}|normal=828282|fighting=E59121|flying=74ABD1|poison=9454CC|ground=A5733C|rock=AAA581|bug=A0A028|ghost=6F4570|steel=6BADC9|fire=E5613E|water=309AE2|grass=439937|electric=E0BD28|psychic=EA6C8D|ice=47C9C9|dragon=576FBD|dark=4F4747|fairy=E28DE2|000000}};margin-right: 2px;"><div style="clip-path: circle(46% at 50% 50%);">[[File:{{ucfirst:{{lc:{{{1|}}}}}}} icon LA.png|{{#ifeq:{{{2|}}}|b|36px|18px}}|link={{ucfirst:{{lc:{{{1|}}}}}}} (type)]]</div></div><div style="display: flex; align-items: center; justify-content: center; width: 100%; letter-spacing: {{#expr:{{#ifeq:{{{2|}}}|b|2|1}}*{{#switch:{{lc:{{{1|}}}}}|fighting|electric=-1.25|normal|ground|dragon|psychic=-0.5|0}}}}px; font-size: {{#ifeq:{{{2|}}}|b|1.9em|0.95em}};">{{tcolor|{{ucfirst:{{lc:{{{1|}}}}}}}|fff7ef|{{uc:{{{1|}}}}}}}</div></div></includeonly></onlyinclude>{{User: | {{mainspace|template|status=complete}}<onlyinclude><includeonly><div style="display: inline-flex; background: rgba(18,18,18,0.5); {{roundy|5px}}; padding-right: 2px; vertical-align: middle; margin: 1px; width: {{#ifeq:{{{2|}}}|b|150px|75px}};"><div style="display: flex; align-items: center; font-size: 2pt; {{roundyleft|5px}}; background: #{{#switch:{{lc:{{{1|}}}}}|normal=828282|fighting=E59121|flying=74ABD1|poison=9454CC|ground=A5733C|rock=AAA581|bug=A0A028|ghost=6F4570|steel=6BADC9|fire=E5613E|water=309AE2|grass=439937|electric=E0BD28|psychic=EA6C8D|ice=47C9C9|dragon=576FBD|dark=4F4747|fairy=E28DE2|000000}};margin-right: 2px;"><div style="clip-path: circle(46% at 50% 50%);">[[File:{{ucfirst:{{lc:{{{1|}}}}}}} icon LA.png|{{#ifeq:{{{2|}}}|b|36px|18px}}|link={{ucfirst:{{lc:{{{1|}}}}}}} (type)]]</div></div><div style="display: flex; align-items: center; justify-content: center; width: 100%; letter-spacing: {{#expr:{{#ifeq:{{{2|}}}|b|2|1}}*{{#switch:{{lc:{{{1|}}}}}|fighting|electric=-1.25|normal|ground|dragon|psychic=-0.5|0}}}}px; font-size: {{#ifeq:{{{2|}}}|b|1.9em|0.95em}};">{{tcolor|{{ucfirst:{{lc:{{{1|}}}}}}}|fff7ef|{{uc:{{{1|}}}}}}}</div></div></includeonly></onlyinclude>{{User:C.Ezra.M/Template:TypeIcon|normal}}{{User:C.Ezra.M/Template:TypeIcon|fire}}{{User:C.Ezra.M/Template:TypeIcon|water}}{{User:C.Ezra.M/Template:TypeIcon|electric}}{{User:C.Ezra.M/Template:TypeIcon|grass}}{{User:C.Ezra.M/Template:TypeIcon|ice}}{{User:C.Ezra.M/Template:TypeIcon|fighting}}{{User:C.Ezra.M/Template:TypeIcon|poison}}{{User:C.Ezra.M/Template:TypeIcon|ground}}{{User:C.Ezra.M/Template:TypeIcon|flying}}{{User:C.Ezra.M/Template:TypeIcon|psychic}}{{User:C.Ezra.M/Template:TypeIcon|bug}}{{User:C.Ezra.M/Template:TypeIcon|rock}}{{User:C.Ezra.M/Template:TypeIcon|ghost}}{{User:C.Ezra.M/Template:TypeIcon|dragon}}{{User:C.Ezra.M/Template:TypeIcon|dark}}{{User:C.Ezra.M/Template:TypeIcon|steel}}{{User:C.Ezra.M/Template:TypeIcon|fairy}}<br> | ||
{{User: | {{User:C.Ezra.M/Template:TypeIcon|normal|b}}{{User:C.Ezra.M/Template:TypeIcon|fire|b}}{{User:C.Ezra.M/Template:TypeIcon|water|b}}{{User:C.Ezra.M/Template:TypeIcon|electric|b}}{{User:C.Ezra.M/Template:TypeIcon|grass|b}}{{User:C.Ezra.M/Template:TypeIcon|ice|b}}{{User:C.Ezra.M/Template:TypeIcon|fighting|b}}{{User:C.Ezra.M/Template:TypeIcon|poison|b}}{{User:C.Ezra.M/Template:TypeIcon|ground|b}}{{User:C.Ezra.M/Template:TypeIcon|flying|b}}{{User:C.Ezra.M/Template:TypeIcon|psychic|b}}{{User:C.Ezra.M/Template:TypeIcon|bug|b}}{{User:C.Ezra.M/Template:TypeIcon|rock|b}}{{User:C.Ezra.M/Template:TypeIcon|ghost|b}}{{User:C.Ezra.M/Template:TypeIcon|dragon|b}}{{User:C.Ezra.M/Template:TypeIcon|dark|b}}{{User:C.Ezra.M/Template:TypeIcon|steel|b}}{{User:C.Ezra.M/Template:TypeIcon|fairy|b}}<br> | ||
Parameters: | Parameters: | ||
* <code>1</code> - type name (case-insensitive, '''required''') | * <code>1</code> - type name (case-insensitive, '''required''') | ||
* <code>2</code> - <code>b</code> for a bigger type tag (default: <code></code>) | * <code>2</code> - <code>b</code> for a bigger type tag (default: <code></code>) | ||
For now, this has to use a <code>#switch</code> due to the templates for colors being different than the ones used for the purpose of this template. | For now, this has to use a <code>#switch</code> due to the templates for colors being different than the ones used for the purpose of this template. |
Latest revision as of 10:08, 26 May 2024
This template is intended to be moved into one of Bulbapedia's main content spaces. Be mindful that it is still part of a personal userspace. Any content changes should be brought up on the talk page for this template. |
Parameters:
1
- type name (case-insensitive, required)2
-b
for a bigger type tag (default:)
For now, this has to use a #switch
due to the templates for colors being different than the ones used for the purpose of this template.