Template:Rpl: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(do we need the link to related pages for each articles? This seems to be a Related Articles subpage specific feature that is less useful in article lists)
imported>Chris Day
(If we have the pictorial idication of status do we need the color too? Throwing out color reduces the template size significantly)
Line 1: Line 1:
* {{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|0
* {{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|
|{{#if: {{{2|}}} | [[{{{1|}}}|<font color="#006400">{{{2|}}}</font>]]&nbsp;[[Image:Level0.jpg|10px]] |[[{{{1|}}}|<font color="#006400">{{{1|}}}</font>]]&nbsp;[[Image:Level0.jpg|10px]]}}
        |{{#ifexist:{{{1|}}}
|{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|1
                |{{#if: {{{2|}}}  
|{{#if: {{{2|}}} | [[{{{1|}}}|<font color="#006400">{{{2|}}}</font>]]&nbsp;[[Image:Level1.jpg|10px]] |[[{{{1|}}}|<font color="#006400">{{{1|}}}</font>]]&nbsp;[[Image:Level1.jpg|10px]]}}
                      |[[{{{1|}}}|<font color="#BB55EE">{{{2|}}}</font>]]  
|{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|2
                      |[[{{{1|}}}|<font color="#BB55EE">{{{1|}}}</font>]]}}
|{{#if: {{{2|}}} | [[{{{1|}}}|<font color="#DAA520">{{{2|}}}</font>]]&nbsp;[[Image:Level2.jpg|10px]] |[[{{{1|}}}|<font color="#DAA520">{{{1|}}}</font>]]&nbsp;[[Image:Level2.jpg|10px]]}}
                |{{#if: {{{2|}}}  
|{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|3
                      |[[{{{1|}}}|{{{2|}}}]]  
|{{#if: {{{2|}}} | [[{{{1|}}}|<font color="#DAA520">{{{2|}}}</font>]]&nbsp;[[Image:Level3.jpg|10px]] |[[{{{1|}}}|<font color="#DAA520">{{{1|}}}</font>]]&nbsp;[[Image:Level3.jpg|10px]]}}
                      |[[{{{1|}}}]] }} }}
|{{#ifeq: {{Template:{{{1|}}}/Metadata|info=status}}|4
          |{{#if: {{{2|}}}  
|{{#if: {{{2|}}} | [[{{{1|}}}|<font color="#DC143C">{{{2|}}}</font>]]&nbsp;[[Image:Level4.jpg|10px]] |[[{{{1|}}}|<font color="#DC143C">{{{1|}}}</font>]]&nbsp;[[Image:Level4.jpg|10px]]}}
                |[[{{{1|}}}|{{{2|}}}]]&nbsp;[[Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg|10px]]  
|{{#ifexist:{{{1|}}}|{{#if: {{{2|}}} | [[{{{1|}}}|<font color="#BB55EE">{{{2|}}}</font>]] |[[{{{1|}}}|<font color="#BB55EE">{{{1|}}}</font>]]}}|{{#if: {{{2|}}} | [[{{{1|}}}|{{{2|}}}]] |[[{{{1|}}}|{{{1|}}}]]}} }}}}}}}}}}}}: {{def {{{1}}}}} <font size=1>[<nowiki></nowiki>[[Template:Def {{{1}}}|e]]<nowiki></nowiki>]</font>
                |[[{{{1|}}}|{{{1|}}}]]&nbsp;[[Image:Level {{Template:{{{1|}}}/Metadata|info=status}}.jpg|10px]]}} }}: {{def {{{1}}}}} <font size=1>[<nowiki></nowiki>[[Template:Def {{{1}}}|e]]<nowiki></nowiki>]</font>

Revision as of 12:32, 6 May 2008