Template talk:Pl: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 29: Line 29:
<pre>
<pre>
{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|0
{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|0
         |[[{{{1|}}}|<font color="#006400">{{{1|}}}</font>]]}}
         |[[{{{1|}}}|<font color="#006400">{{{1|}}}</font>]]
         |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|1
         |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|1
               |[[{{{1|}}}|<font color="#B8860B">{{{1|}}}</font>]]}}
               |[[{{{1|}}}|<font color="#B8860B">{{{1|}}}</font>]]
               |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|2
               |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|2
                   |[[{{{1|}}}|<font color="#ff8c00">{{{1|}}}</font>]]}}
                   |[[{{{1|}}}|<font color="#ff8c00">{{{1|}}}</font>]]
                   |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|3
                   |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|3
                         |[[{{{1|}}}|<font color="#ff4500">{{{1|}}}</font>]]}}
                         |[[{{{1|}}}|<font color="#ff4500">{{{1|}}}</font>]]
                         |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|4
                         |{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|4
                             |[[{{{1|}}}|<font color="#DC143C">{{{1|}}}</font>]]}}
                             |[[{{{1|}}}|<font color="#DC143C">{{{1|}}}</font>]]
                             |[[{{{1|}}}]]}}  }} }} }} }}
                             |[[{{{1|}}}]]}}  }} }} }} }}
</pre>
</pre>
[[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)

Revision as of 04:47, 17 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)