Template:Pl: Difference between revisions
imported>Chris Day (reduce pre-expand size, only call the approval button if needed) |
imported>Chris Day (Add mouse over to pictogram) |
||
Line 1: | Line 1: | ||
<includeonly>{{#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]] [[{{{1|}}}|{{{2|}}}]] | |[[Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg|10px|{{#ifeq: 0 | {{{{{1|}}}/Metadata|info=status}}|Approved Article|}}{{#ifeq: 1 | {{{{{1|}}}/Metadata|info=status}}|Developed Article|}}{{#ifeq: 2 | {{{{{1|}}}/Metadata|info=status}}|Developing Article|}}{{#ifeq: 3 | {{{{{1|}}}/Metadata|info=status}}|Stub|}}{{#ifeq: 4 | {{{{{1|}}}/Metadata|info=status}}|External Article|}}]] [[{{{1|}}}|{{{2|}}}]] | ||
|[[Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg|10px]] [[{{{1|}}}|{{{1|}}}]]}} {{ {{#if:{{Template:{{{1|}}}/Metadata|info=ToA editor}}|Approval button|x0}} }} | |[[Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg|10px|{{#ifeq: 0 | {{{{{1|}}}/Metadata|info=status}}|Approved Article|}}{{#ifeq: 1 | {{{{{1|}}}/Metadata|info=status}}|Developed Article|}}{{#ifeq: 2 | {{{{{1|}}}/Metadata|info=status}}|Developing Article|}}{{#ifeq: 3 | {{{{{1|}}}/Metadata|info=status}}|Stub|}}{{#ifeq: 4 | {{{{{1|}}}/Metadata|info=status}}|External Article|}}]] [[{{{1|}}}|{{{1|}}}]]}} {{ {{#if:{{Template:{{{1|}}}/Metadata|info=ToA editor}}|Approval button|x0}} }} | ||
|{{#ifexist:{{{1|}}} | |{{#ifexist:{{{1|}}} | ||
|{{#if: {{{2|}}} | |{{#if: {{{2|}}} |
Revision as of 10:36, 3 July 2008
This template can be used on workgroup pages or user pages as a tool to track the status of any article. It displays a pictorial representation of the article's status, the article's title (in blue if existent, otherwise in red).
The possible depictions are , , and , 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 ().
Example of use
{{pl|Biology}}
produces: Biology
The name does not have to be identical to the articles name. This might be useful when the context of the word is not in doubt.
{{pl|Cell (biology)}}
is seen as: Cell (biology)
{{pl|Cell (biology)|Cell}}
is seen as: Cell
Up for approval
If an article has been nominated for approval or reapproval the approval icon will appear at the end of the articles name. It will appear as below:
No article
If used on an entry that does not exist (e.g. Foobar),
{{pl|Foobar}}
produces: Foobar
Redirects
If used on an entry that is a redirect, or an article without a metadata template, the link will appear as a purple color.
{{pl|Supernova}}
produces: Supernova