Template:Rpl: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 1: Line 1:
* {{#ifexist: Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg
<includeonly>* {{#ifexist: Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg
           |{{#if: {{{2|}}}  
           |{{#if: {{{2|}}}  
                 |[[Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg|10px]]&nbsp;[[{{{1|}}}|{{{2|}}}]]  
                 |[[Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg|10px]]&nbsp;[[{{{1|}}}|{{{2|}}}]]  
Line 9: Line 9:
                 |{{#if: {{{2|}}}  
                 |{{#if: {{{2|}}}  
                       |[[{{{1|}}}|{{{2|}}}]]  
                       |[[{{{1|}}}|{{{2|}}}]]  
                       |[[{{{1|}}}]] }} }} }}: {{:{{{1}}}/Definition}} <font size=1>[<nowiki></nowiki>[[{{{1}}}/Definition|e]]<nowiki></nowiki>]</font><noinclude>
                       |[[{{{1|}}}]] }} }} }}: {{:{{{1}}}/Definition}} <font size=1>[<nowiki></nowiki>[[{{{1}}}/Definition|e]]<nowiki></nowiki>]</font></includeonly><noinclude>


This template is used on article lists like [[CZ:Core Articles/Natural Sciences|Natural Sciences Core Articles]]. It displays a pictorial representation of the article's status, the article's title (in blue if existent, otherwise in red), and a brief description that uses the [[Template:Rpl|rpl]] template.
This template is used on article lists like [[CZ:Core Articles/Natural Sciences|Natural Sciences Core Articles]]. It displays a pictorial representation of the article's status, the article's title (in blue if existent, otherwise in red), and a brief description that uses the [[Template:Rpl|rpl]] template.
Line 44: Line 44:
Notice that there are ''three'' links in the above output:
Notice that there are ''three'' links in the above output:
* "Foobar" is a link to a blank article to be titled "Foobar".
* "Foobar" is a link to a blank article to be titled "Foobar".
* "Template:Def Foobar" is a link to a (blank) definition page for "Foobar".  You would click on that link and write a definition, and save it, and then it would appear here.  To learn what to write there, please see [[CZ:Definitions]].  Once you have written a definition, this link will disappear and the definition will appear in its place, as you can see above with the definition of "Biology".
* "Foobar/Definition" is a link to a (blank) definition subpage for "Foobar".  You would click on that link and write a definition, and save it, and then it would appear here.  To learn what to write there, please see [[CZ:Definitions]].  Once you have written a definition, this link will disappear and the definition will appear in its place, as you can see above with the definition of "Biology".
* "e" is ''another'' link to a (blank) definition page for "Foobar".  But this link will not disappear.  (See the "Biology" line above again; you can click the blue "e" on that line and from there, edit the definition of "Biology".
* "e" is ''another'' link to a (blank) definition subpage for "Foobar".  But this link will not disappear.  (Again, see the "Biology" line above; you can click the blue "e" on that line and from there, edit the definition of "Biology".


</noinclude>
</noinclude>

Revision as of 13:34, 7 May 2008


This template is used on article lists like Natural Sciences Core Articles. It displays a pictorial representation of the article's status, the article's title (in blue if existent, otherwise in red), and a brief description that uses the rpl template.


The possible depictions are Level3.jpg, Level2.jpg, Level1.jpg and Level0.jpg, with the status of the article increasing from stubby (left) to approved (right). An external article that has been imported into citizendium with no changes is indicated by an empty status image (Level4.jpg).


Example of use:

{{rpl|Biology}}

produces:

The science of life — of complex, self-organizing, information-processing systems living in the past, present or future. [e] Notice that the template produces a space after the definition.

If used on an entry that is a redirect, or an article without a metadata template, the link will appear as a purple color. (e.g. Biological)

{{rpl|Biological}}

produces:

Related to life and its scientific study. [e] .

If used on an entry that does not exist (e.g. Foobar),

{{rpl|Foobar}}

produces:

Notice that there are three links in the above output:

  • "Foobar" is a link to a blank article to be titled "Foobar".
  • "Foobar/Definition" is a link to a (blank) definition subpage for "Foobar". You would click on that link and write a definition, and save it, and then it would appear here. To learn what to write there, please see CZ:Definitions. Once you have written a definition, this link will disappear and the definition will appear in its place, as you can see above with the definition of "Biology".
  • "e" is another link to a (blank) definition subpage for "Foobar". But this link will not disappear. (Again, see the "Biology" line above; you can click the blue "e" on that line and from there, edit the definition of "Biology".