Article previous html

From Redazione
Jump to navigation Jump to search
Line 334: Line 334:
 
// && will not work correctly !
 
// && will not work correctly !
 
//  if(month && year)
 
//  if(month && year)
alert(month)
+
 
 
   var month_year = false;
 
   var month_year = false;
 
   if(month) {
 
   if(month) {
Line 341: Line 341:
 
     }
 
     }
 
   }
 
   }
alert(month_year)
+
 
 
   if(month_year) {
 
   if(month_year) {
 
     pagename += obj_months[month] + ' ' + year + ' - ' + title;
 
     pagename += obj_months[month] + ' ' + year + ' - ' + title;
Line 367: Line 367:
 
{{{info|page name={{#switch: <Article[Type]> | news = news/<Article[Title]> | post = posts/<Article[Title] | article = articles/<Article[Authors]> - <Article[Title]> | <Article[Type]>/<Article[Authors]> - <Article[Title]> }} }}}
 
{{{info|page name={{#switch: <Article[Type]> | news = news/<Article[Title]> | post = posts/<Article[Title] | article = articles/<Article[Authors]> - <Article[Title]> | <Article[Type]>/<Article[Authors]> - <Article[Title]> }} }}}
 
*/
 
*/
alert(pagename)
+
 
  
 
// return false;
 
// return false;

Revision as of 08:42, 12 March 2020

Different kind of articles might be published in different categories.
Please enter first and last name of authors separated by comma.
The day is optional, and specifically for kind of ‘post” and ‘article” might be omitted.
(Optionally), insert one significant thread representing the article. It might be used as a preview of it.
(Optionally), enter or more tags relevant to this article: they might be used to insert it under one or more corresponding categories.