Please remember to follow the manual of style and code of conduct at all times.
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel #bulbagarden on irc.systemnet.info.

Difference between revisions of "Template talk:Colorlink"

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search
(Created page with "Isn't this like {{template|color2}}? --~~~~")
 
m
Line 1: Line 1:
 
Isn't this like {{template|color2}}? --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 02:07, 8 January 2013 (UTC)
 
Isn't this like {{template|color2}}? --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 02:07, 8 January 2013 (UTC)
  +
:Aside from the orders of the parameters, and the precise way they work, yes. Personally, I prefer to hardcode these links in templates to reduce the impact they have on the template include size. Looking at the code of these two templates, it would be better to use color2 if adding one, because colorlink itself calls a template, which results in a much larger increase in the template include size of the resultant page. <span class="sc">[[User:Werdnae|<span style="color:#2D4B98;">Werdnae</span>]]</span> <small>[[User talk:Werdnae|<span style="color:#009000;">(talk)</span>]]</small> 02:51, 8 January 2013 (UTC)

Revision as of 02:51, 8 January 2013

Isn't this like {{color2}}? --Abcboy (talk) 02:07, 8 January 2013 (UTC)

Aside from the orders of the parameters, and the precise way they work, yes. Personally, I prefer to hardcode these links in templates to reduce the impact they have on the template include size. Looking at the code of these two templates, it would be better to use color2 if adding one, because colorlink itself calls a template, which results in a much larger increase in the template include size of the resultant page. Werdnae (talk) 02:51, 8 January 2013 (UTC)