Template:Metadata error catch: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{| class="collapsible collapsed"
! ''This is a cluster with an incorrect pagename field in the [[CZ:Metadata|metadata]]. Details:''
|-
|{{Metadata error catch-help}}
|}</includeonly><noinclude>
Adds the template below if the pagename in the metadata does not match the <nowiki>{{PAGENAME}}</nowiki> of the article.
{{{!}}width="90%" align=center cellpadding="1" style="background:#F6E0BC;border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"
{{{!}}width="90%" align=center cellpadding="1" style="background:#F6E0BC;border-left:2px solid #aaaaaa; border-bottom:2px solid #bbbbbb; border-top:2px solid #dddddd; border-right:2px solid #dddddd;"
{{!}}[[Category:Incorrect metadata pagename]]  
{{!}}[[Category:Incorrect metadata pagename]]  
*The '''''pagename''''' field in the metadata template is either '''''incorrect or absent'''''.
*If the "[[{{BASEPAGENAME}}|main article]]" exists then the '''''pagename''''' field in the metadata template is either '''''incorrect or absent'''''. It should be of the form "''pagename = ARTICLE NAME ''", and no text should be added to the page outside the form fields.
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=cat1}}| |*At least '''one workgroup''' needs to be assigned.}}  
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=cat1}}| |**At least '''one workgroup''' needs to be assigned.}}  
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}| |*An article '''status''' between 0-4 needs to be assigned.}}<br><center><big>Please '''''update''''' the [http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''metadata template here''']</big></center>
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|currently no status|**An article '''status''' between 0-4 needs to be assigned.}}
{{!}}}
{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}| |**An article '''status''' between 0-4 needs to be assigned.}}
<center><big>Please '''''update''''' the [http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''metadata template here''']</big></center>
<small>'''Note:''' If the "[[{{BASEPAGENAME}}|main article content]]" is a redirect and this is a subpage or metadata page the page may be obsolete.</small>
<div style="text-align: right;"><span class="plainlinks"><small>[[http://en.citizendium.org/wiki?title=Template:Metadata_error_catch-help&action=edit Feel free to improve this templates text and links]]</small></span></div>
{{!}}}</noinclude>

Latest revision as of 16:35, 29 January 2010

Adds the template below if the pagename in the metadata does not match the {{PAGENAME}} of the article.

  • If the "main article" exists then the pagename field in the metadata template is either incorrect or absent. It should be of the form "pagename = ARTICLE NAME ", and no text should be added to the page outside the form fields.


Please update the metadata template here

Note: If the "main article content" is a redirect and this is a subpage or metadata page the page may be obsolete.