Template talk:Pl: Difference between revisions
imported>Joe Quick No edit summary |
imported>Joe Quick |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 42: | Line 42: | ||
[[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 05:35, 17 September 2007 (CDT) | [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 05:35, 17 September 2007 (CDT) | ||
Parameter 2 is used a couple of times. It replicates normal links that are piped. So '''<nowiki>[[Maya peoples|Maya]]</nowiki>''' becomes '''<nowiki>{{pl|Maya peoples|Maya}}</nowiki> [[User:Joe Quick|--Joe Quick]] ([[User talk:Joe Quick|Talk]]) 14:32, 17 September 2007 (CDT) | Parameter 2 is used a couple of times. It replicates normal links that are piped. So '''<nowiki>[[Maya peoples|Maya]]</nowiki>''' becomes '''<nowiki>{{pl|Maya peoples|Maya}}</nowiki>''' [[User:Joe Quick|--Joe Quick]] ([[User talk:Joe Quick|Talk]]) 14:32, 17 September 2007 (CDT) | ||
Now I get it. I misread the code. But do we need to pipe links in a priority list? Or is that you thinking ahead to article space? [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 16:08, 17 September 2007 (CDT) | |||
We probably don't really ''need'' to pipe links in a priority list. It just looks kind of silly to have the word "language" so many times in such a short list: | |||
*''{{pl|Language}}'' | |||
**{{pl|Modern spoken languages}} | |||
***{{pl|English language}} | |||
***{{pl|Mandarin}} | |||
***{{pl|Spanish language}} | |||
***{{pl|Zulu}} | |||
There are a few other similar situations, and it allows me to write things like "{{pl|Butler|This is an example of an approved article}}" but it wouldn't be a big deal to drop the piping. [[User:Joe Quick|--Joe Quick]] ([[User talk:Joe Quick|Talk]]) 17:07, 17 September 2007 (CDT) | |||
:Don't get me wrong, i think it could be useful, i just was not sure where you were taking it. [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 21:41, 17 September 2007 (CDT) | |||
== Red link icon? == | |||
What about having an icon for nonexisting pages? [[User:Kim van der Linde|Kim van der Linde]] 13:38, 28 September 2007 (CDT) | |||
That would be easy to do but I wonder if it is really necessary since those articles still show up as red links anyway. [[User:Joe Quick|--Joe Quick]] ([[User talk:Joe Quick|Talk]]) 09:54, 28 September 2007 (CDT) | |||
:I agree with joe, they are obvious enough and I hate having too many icons. I was even thinking if we can make the icon we have smaller still (although that is a huge design issue so just ignore me). One issue i would like changed if possible is tjhat the yellow is still too light for me. I wonder if we might be able have colours that give a little more contrast. I'll try and find a pallete of recognised high contrast colours. [[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 13:16, 28 September 2007 (CDT) | |||
::That would be good, Chris. I didn't mean for the system to start being implemented other than on the Anthro Workgroup page until after we had finished 'sperimentin. The colors and the icons both need to be adjusted I think, but we're getting pretty close to something workable. I've been away from writing articles though, so I'm going to see if I can get one together today or tomorrow and then clean up the stuff I've already started. In the mean time, you all are encouraged to experiment with this template but keep in mind that it is now being used on a number of pretty important pages.[[User:Joe Quick|--Joe Quick]] ([[User talk:Joe Quick|Talk]]) 13:33, 28 September 2007 (CDT) | |||
:::Like Kim's page :) And let's not forget the biology workgroup page![[User:Chris Day|Chris Day]] [[User talk:Chris Day|(talk)]] 13:40, 28 September 2007 (CDT) | |||
::::And a [[:Image:Cochin_miniatura_%28rasa_kur%29_u6.jpg|picture of a chicken]]. "PL" for "Polish" maybe? We might have to rename it if we go multiglot...[[User:Joe Quick|--Joe Quick]] ([[User talk:Joe Quick|Talk]]) 13:49, 28 September 2007 (CDT) |
Latest revision as of 12:49, 28 September 2007
{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|0 |{{#if: {{{2|}}} | [[{{{1|}}} |<font color="#006400">{{{2|}}}</font>]] |[[{{{1|}}}|<font color="#006400">{{{1|}}}</font>]]}} |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|1 |{{#if: {{{2|}}} | [[{{{1|}}} |<font color="#B8860B">{{{2|}}}</font>]] |[[{{{1|}}}|<font color="#B8860B">{{{1|}}}</font>]]}} |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|2 |{{#if: {{{2|}}} | [[{{{1|}}} |<font color="#ff8c00">{{{2|}}}</font>]] |[[{{{1|}}}|<font color="#ff8c00">{{{1|}}}</font>]]}} |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|3 |{{#if: {{{2|}}} | [[{{{1|}}} |<font color="#ff4500">{{{2|}}}</font>]] |[[{{{1|}}}|<font color="#ff4500">{{{1|}}}</font>]]}} |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|4 |{{#if: {{{2|}}} | [[{{{1|}}} |<font color="#DC143C">{{{2|}}}</font>]] |[[{{{1|}}}|<font color="#DC143C">{{{1|}}}</font>]]}} |{{#if: {{{2|}}} | [[{{{1|}}} |{{{2|}}}]] |[[{{{1|}}}]]}} }} }} }} }} }}
Joe, what is the plan for the 2 parameter, I note you have not used it on the priority list. Could it not be shortened to the following?
{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|0 |[[{{{1|}}}|<font color="#006400">{{{1|}}}</font>]] |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|1 |[[{{{1|}}}|<font color="#B8860B">{{{1|}}}</font>]] |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|2 |[[{{{1|}}}|<font color="#ff8c00">{{{1|}}}</font>]] |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|3 |[[{{{1|}}}|<font color="#ff4500">{{{1|}}}</font>]] |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|4 |[[{{{1|}}}|<font color="#DC143C">{{{1|}}}</font>]] |[[{{{1|}}}]]}} }} }} }} }}
Chris Day (talk) 05:35, 17 September 2007 (CDT)
Parameter 2 is used a couple of times. It replicates normal links that are piped. So [[Maya peoples|Maya]] becomes {{pl|Maya peoples|Maya}} --Joe Quick (Talk) 14:32, 17 September 2007 (CDT)
Now I get it. I misread the code. But do we need to pipe links in a priority list? Or is that you thinking ahead to article space? Chris Day (talk) 16:08, 17 September 2007 (CDT)
We probably don't really need to pipe links in a priority list. It just looks kind of silly to have the word "language" so many times in such a short list:
There are a few other similar situations, and it allows me to write things like " This is an example of an approved article" but it wouldn't be a big deal to drop the piping. --Joe Quick (Talk) 17:07, 17 September 2007 (CDT)
- Don't get me wrong, i think it could be useful, i just was not sure where you were taking it. Chris Day (talk) 21:41, 17 September 2007 (CDT)
Red link icon?
What about having an icon for nonexisting pages? Kim van der Linde 13:38, 28 September 2007 (CDT)
That would be easy to do but I wonder if it is really necessary since those articles still show up as red links anyway. --Joe Quick (Talk) 09:54, 28 September 2007 (CDT)
- I agree with joe, they are obvious enough and I hate having too many icons. I was even thinking if we can make the icon we have smaller still (although that is a huge design issue so just ignore me). One issue i would like changed if possible is tjhat the yellow is still too light for me. I wonder if we might be able have colours that give a little more contrast. I'll try and find a pallete of recognised high contrast colours. Chris Day (talk) 13:16, 28 September 2007 (CDT)
- That would be good, Chris. I didn't mean for the system to start being implemented other than on the Anthro Workgroup page until after we had finished 'sperimentin. The colors and the icons both need to be adjusted I think, but we're getting pretty close to something workable. I've been away from writing articles though, so I'm going to see if I can get one together today or tomorrow and then clean up the stuff I've already started. In the mean time, you all are encouraged to experiment with this template but keep in mind that it is now being used on a number of pretty important pages.--Joe Quick (Talk) 13:33, 28 September 2007 (CDT)
- Like Kim's page :) And let's not forget the biology workgroup page!Chris Day (talk) 13:40, 28 September 2007 (CDT)
- And a picture of a chicken. "PL" for "Polish" maybe? We might have to rename it if we go multiglot...--Joe Quick (Talk) 13:49, 28 September 2007 (CDT)
- Like Kim's page :) And let's not forget the biology workgroup page!Chris Day (talk) 13:40, 28 September 2007 (CDT)
- That would be good, Chris. I didn't mean for the system to start being implemented other than on the Anthro Workgroup page until after we had finished 'sperimentin. The colors and the icons both need to be adjusted I think, but we're getting pretty close to something workable. I've been away from writing articles though, so I'm going to see if I can get one together today or tomorrow and then clean up the stuff I've already started. In the mean time, you all are encouraged to experiment with this template but keep in mind that it is now being used on a number of pretty important pages.--Joe Quick (Talk) 13:33, 28 September 2007 (CDT)