Template talk:Legend inline: Difference between revisions
Appearance
Content deleted Content added
ARTEST4ECHO (talk | contribs) |
reply |
||
Line 16: | Line 16: | ||
::::Not your fault. Bad template code. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 21:18, 11 March 2013 (UTC) |
::::Not your fault. Bad template code. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 21:18, 11 March 2013 (UTC) |
||
:::::I have a favor to ask you. Would you be willing to look at the coding at [http://en.scoutwiki.org/Template:Legend_inline]. I'm having the exact same issue, but can't seem to fix it.--[[User:ARTEST4ECHO|ARTEST4ECHO]] ([[User talk:ARTEST4ECHO|<sup>talk</sup>]]/[[Special:Contributions/ARTEST4ECHO|<sub>contribs</sub>]]) 13:58, 13 March 2013 (UTC) |
:::::I have a favor to ask you. Would you be willing to look at the coding at [http://en.scoutwiki.org/Template:Legend_inline]. I'm having the exact same issue, but can't seem to fix it.--[[User:ARTEST4ECHO|ARTEST4ECHO]] ([[User talk:ARTEST4ECHO|<sup>talk</sup>]]/[[Special:Contributions/ARTEST4ECHO|<sub>contribs</sub>]]) 13:58, 13 March 2013 (UTC) |
||
::::::The link has exactly the same code as this good one. I could not find a disfunction. Maybe you mean to point to a different template: {{tl|legend}} over there. That has older, bad code. The difference is in the added {{tl|trim}}: {{code|1=<nowiki>background-color:{{trim|{{{1|transparent}}}}};</nowiki>}}. So you can either add the trim manually or copy all current code from {{tl|legend}} into that page. -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 14:26, 13 March 2013 (UTC) |
Revision as of 14:26, 13 March 2013
Missing Something
![](http://upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/20px-Yes_check.svg.png)
Am I missing something or is this not working. If I use this template the colors don't seem to apear
For Example: The code {{Legend | #2EFE9A | Cossatot}} {{Legend | #D0F5A9 | Double Eagle}} {{Legend | #F7FE2E | Long Horn}} Comes out
Cossatot
Double Eagle
Long Horn
But the code: {{Legend inline | #2EFE9A | Cossatot}} {{Legend inline | #D0F5A9 | Double Eagle}} {{Legend inline | #F7FE2E | Long Horn}}
come out blank:
Cossatot Double Eagle Long Horn
Am I using this wrong?--ARTEST4ECHO (talk/contribs) 16:44, 11 March 2013 (UTC)
- The color parameters cannot have spaces before or after. So {{Legend inline |#2EFE9A| Cossatot}} → Cossatot is as you expect. This was solved in the {{Legend}} template, but not this one. -DePiep (talk) 17:04, 11 March 2013 (UTC)
- ...I have changed this in the template. the spaces cause no problem any more. -DePiep (talk) 17:07, 11 March 2013 (UTC)
- Thanks. I couldn't seem to figure it out.--ARTEST4ECHO (talk/contribs) 17:20, 11 March 2013 (UTC)
- Not your fault. Bad template code. -DePiep (talk) 21:18, 11 March 2013 (UTC)
- I have a favor to ask you. Would you be willing to look at the coding at [1]. I'm having the exact same issue, but can't seem to fix it.--ARTEST4ECHO (talk/contribs) 13:58, 13 March 2013 (UTC)
- The link has exactly the same code as this good one. I could not find a disfunction. Maybe you mean to point to a different template: {{legend}} over there. That has older, bad code. The difference is in the added {{trim}}:
background-color:{{trim|{{{1|transparent}}}}};
. So you can either add the trim manually or copy all current code from {{legend}} into that page. -DePiep (talk) 14:26, 13 March 2013 (UTC)
- The link has exactly the same code as this good one. I could not find a disfunction. Maybe you mean to point to a different template: {{legend}} over there. That has older, bad code. The difference is in the added {{trim}}:
- I have a favor to ask you. Would you be willing to look at the coding at [1]. I'm having the exact same issue, but can't seem to fix it.--ARTEST4ECHO (talk/contribs) 13:58, 13 March 2013 (UTC)
- Not your fault. Bad template code. -DePiep (talk) 21:18, 11 March 2013 (UTC)
- Thanks. I couldn't seem to figure it out.--ARTEST4ECHO (talk/contribs) 17:20, 11 March 2013 (UTC)
- ...I have changed this in the template. the spaces cause no problem any more. -DePiep (talk) 17:07, 11 March 2013 (UTC)