Template talk:HOME color dark: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Exempt-Medic (talk | contribs) |
mNo edit summary |
||
Line 2: | Line 2: | ||
This template is a [[Special:WantedTemplates|Wanted Template]] because the Meltan and Melmetal pages link to it. This is caused by the [[Template:Availability/Entry1/None|Availability/Entry1/None]] template, specifically this bit <code><nowiki><span style="color:#{{{t|{{{{{v|Red}}} color dark}}}}};"></nowiki></code> and the pages using <code><nowiki>v=HOME</nowiki></code>. The "HOME color", "HOME color light", and "HOME color dark" templates should probably be created to go along with the other [[:Category:Game_color_templates|game-color templates]], but I don't know what color codes they would use. [[User:Exempt-Medic|Exempt-Medic]] ([[User talk:Exempt-Medic|talk]]) 17:31, 12 October 2022 (UTC) | This template is a [[Special:WantedTemplates|Wanted Template]] because the Meltan and Melmetal pages link to it. This is caused by the [[Template:Availability/Entry1/None|Availability/Entry1/None]] template, specifically this bit <code><nowiki><span style="color:#{{{t|{{{{{v|Red}}} color dark}}}}};"></nowiki></code> and the pages using <code><nowiki>v=HOME</nowiki></code>. The "HOME color", "HOME color light", and "HOME color dark" templates should probably be created to go along with the other [[:Category:Game_color_templates|game-color templates]], but I don't know what color codes they would use. [[User:Exempt-Medic|Exempt-Medic]] ([[User talk:Exempt-Medic|talk]]) 17:31, 12 October 2022 (UTC) | ||
:This now got fixed, by using the <code><nowiki>t</nowiki></code> parameter instead of letting <code><nowiki>v</nowiki></code> pass in by default [[User:Exempt-Medic|Exempt-Medic]] ([[User talk:Exempt-Medic|talk]]) 13:51, 13 October 2022 (UTC) | :This now got fixed, by using the <code><nowiki>t</nowiki></code> parameter instead of letting <code><nowiki>v</nowiki></code> pass in by default [[User:Exempt-Medic|Exempt-Medic]] ([[User talk:Exempt-Medic|talk]]) 13:51, 13 October 2022 (UTC) | ||
:::(I had started writing this explanation and got an edit conflict with you, still think it should be up for reference)<br>The parameter <code><nowiki>{{{t|}}}</nowiki></code> in that code you mention lets the availability subtemplate be used without a "color dark" being defined for the <code><nowiki>{{{v|}}}</nowiki></code> parameter. Until there's a more consistent need for HOME colour templates, I've set the Meltan and Melmetal pages to use more shades of green to match what was already being used elsewhere.--[[User:MisterE13|<span style="color:#0000FF">Mister</span>]][[User talk:MisterE13|<span style="color:#008000">'''E'''</span>]][[Special:Contributions/MisterE13|<span style="color:#800080">13</span>]] 14:03, 13 October 2022 (UTC) |
Latest revision as of 14:03, 13 October 2022
Creating HOME Color Templates
This template is a Wanted Template because the Meltan and Melmetal pages link to it. This is caused by the Availability/Entry1/None template, specifically this bit <span style="color:#{{{t|{{{{{v|Red}}} color dark}}}}};">
and the pages using v=HOME
. The "HOME color", "HOME color light", and "HOME color dark" templates should probably be created to go along with the other game-color templates, but I don't know what color codes they would use. Exempt-Medic (talk) 17:31, 12 October 2022 (UTC)
- This now got fixed, by using the
t
parameter instead of lettingv
pass in by default Exempt-Medic (talk) 13:51, 13 October 2022 (UTC)- (I had started writing this explanation and got an edit conflict with you, still think it should be up for reference)
The parameter{{{t|}}}
in that code you mention lets the availability subtemplate be used without a "color dark" being defined for the{{{v|}}}
parameter. Until there's a more consistent need for HOME colour templates, I've set the Meltan and Melmetal pages to use more shades of green to match what was already being used elsewhere.--MisterE13 14:03, 13 October 2022 (UTC)
- (I had started writing this explanation and got an edit conflict with you, still think it should be up for reference)