Article html

From Redazione
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
Once the key-data are created, insert the content itself of the article editing the page using the buttons "Edit" or "Edit source" in the top panel.
 
Once the key-data are created, insert the content itself of the article editing the page using the buttons "Edit" or "Edit source" in the top panel.
 +
 +
 +
{{Form header|form=Article}}
 +
  
 
<html>
 
<html>
<div style="display: block;
 
    background: #f5f5f5;
 
    padding: 12px;
 
    border: 1px solid #ccc;
 
    font-weight: bold;
 
"></html>
 
{{#ifeq: {{PAGENAME}} | FormEdit/Article |
 
The article will be created in the path
 
<span style="background-color:#f5f5f5;color:blue">
 
{{#ci_userAffiliatedTo:}}/Articles/[Authors] - [Title]
 
</span>
 
| The form will be created in the current page (<span style="background-color:#f5f5f5;color:blue">{{#titleparts: {{PAGENAME}} |  | 3 }}</span>).
 
If you want to create the form in a new page, [[Special:FormEdit/Article|go here]].
 
}}<html>
 
</div>
 
<br>
 
  
 
<div class="ci_form_container">
 
<div class="ci_form_container">
Line 65: Line 53:
  
 
<span class="ci_form_section_help">
 
<span class="ci_form_section_help">
Please enter first and last name of authors separated by comma.
+
First and last name of authors and editors separated by comma
 
</span>
 
</span>
  
Line 212: Line 200:
  
 
<span class="ci_form_section_help">
 
<span class="ci_form_section_help">
The day is optional, and specifically for kind of &lsquo;post&rdquo; and &lsquo;article&rdquo;
+
The day is optional
might be omitted.
 
 
</span>
 
</span>
  
Line 285: Line 272:
 
  var required = ['Title','Authors']
 
  var required = ['Title','Authors']
  
   for(var value of required]) {
+
   for(var value of required) {
 
   if(!$ci(this).find('[name="Form article[' + value + ']"]').val()) {
 
   if(!$ci(this).find('[name="Form article[' + value + ']"]').val()) {
 
     alert('Please enter ' + value);
 
     alert('Please enter ' + value);
Line 291: Line 278:
 
   }
 
   }
 
   }
 
   }
}
 
  
  

Latest revision as of 20:53, 21 August 2020

This form is intended to create articles of a given organization or to characterize as article whatever page of it (not containing already a form).

Once the key-data are created, insert the content itself of the article editing the page using the buttons "Edit" or "Edit source" in the top panel.


The form will be created in the current page (). If you want to create the form in a new page, go here.


First and last name of authors and editors separated by comma
The day is optional
(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.