Template:Rpl: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day (need more contrast here) |
imported>Daniel Mietchen (documentation as in Template:R; rpl does not display properly under noinclude) |
||
Line 10: | Line 10: | ||
|[[{{{1|}}}|{{{2|}}}]] | |[[{{{1|}}}|{{{2|}}}]] | ||
|[[{{{1|}}}]] }} }} }}: {{def {{{1}}}}} <font size=1>[<nowiki></nowiki>[[Template:Def {{{1}}}|e]]<nowiki></nowiki>]</font> | |[[{{{1|}}}]] }} }} }}: {{def {{{1}}}}} <font size=1>[<nowiki></nowiki>[[Template:Def {{{1}}}|e]]<nowiki></nowiki>]</font> | ||
<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. | |||
The possible depictions are [[Image:Level3.jpg|20px]], [[Image:Level2.jpg|20px]], [[Image:Level1.jpg|20px]] and [[Image:Level0.jpg|20px]], with the status of the article increasing from stubby (left) to approved (right). | |||
'''Example of use:''' | |||
<code><nowiki>{{rpl|Biology}}</nowiki></code> | |||
produces: | |||
{{rpl|Biology}} | |||
Notice that the template produces a space after the definition. | |||
If used on an entry that does not exist (e.g. [[Foolbar]]), | |||
<code><nowiki>{{rpl|Foobar}}</nowiki></code> | |||
produces: | |||
{{rpl|Foobar}} . | |||
Notice that there are ''three'' links in the above output: | |||
* "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". | |||
* "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". | |||
</noinclude> |
Revision as of 02:00, 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 , , and , with the status of the article increasing from stubby (left) to approved (right).
Example of use:
{{rpl|Biology}}
produces:
Notice that the template produces a space after the definition.
If used on an entry that does not exist (e.g. Foolbar),
{{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".
- "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".
- "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".