Form:ArticleTest: Difference between revisions

From AbhiprayaVedi
Created page with "<noinclude> This is the "Article‑test" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page. {{#forminput:form=Article‑test}} </noinclude><includeonly> <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> {{{for template|Article‑test}}} {| class="formtable" ! DisplayTitle: | {{{field|Displa..."
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{{{info|page name=<name>|namespace=Submissions
This is the "Article‑test" form.
|add title=പുതിയ ലേഖനം സമർപ്പിക്കുക (Test)
To create a page with this form, enter the page name below;
|edit title=ലേഖനം എഡിറ്റ് ചെയ്യുക (Test)}}}
if a page with that name already exists, you will be sent to a form to edit that page.


{{#forminput:form=Article‑test}}
<div class="form-container">
 
<div class="form-header">
  <h1>📝 Test Article Submission</h1>
  <p>Submit Article for Review (Test)</p>
</div>
 
{{{for template|ArticleTest|label=Article Content}}}
 
<!-- Required Information -->
<div class="form-section form-required">
  <h2>Required Information</h2>
  <table class="form-table">
    <tr><td class="form-label"><strong>Display Title: *</strong></td>
        <td class="form-field">{{{field|DisplayTitle|property=Display title|mandatory}}}</td></tr>
    <tr><td class="form-label"><strong>Language: *</strong></td>
        <td class="form-field">{{{field|Language|input type=dropdown|values=Malayalam,English|default=Malayalam|property=Article language|mandatory}}}</td></tr>
    <tr><td class="form-label"><strong>Author: *</strong></td>
        <td class="form-field">{{{field|Author|property=Author name|mandatory}}}</td></tr>
    <tr><td class="form-label"><strong>Date: *</strong></td>
        <td class="form-field">{{{field|Date|input type=datepicker|property=Publication date|mandatory}}}</td></tr>
    <tr><td class="form-label"><strong>Category: *</strong></td>
        <td class="form-field">{{{field|Category|input type=dropdown|values=Politics,Society,Culture,Science,Literature,Cinema,Environment,Economics,Opinion|property=Article category|mandatory}}}</td></tr>
    <tr><td class="form-label"><strong>Introduction: *</strong></td>
        <td class="form-field">{{{field|Introduction|input type=textarea|rows=4|autogrow|property=Article introduction|mandatory}}}</td></tr>
    <tr><td class="form-label"><strong>Article Content: *</strong></td>
        <td class="form-field">{{{field|Content|input type=textarea|rows=30|autogrow|editor=wikieditor|property=Article main content|mandatory}}}</td></tr>
  </table>
</div>
 
<!-- Optional Details -->
<div class="form-section form-optional">
  <h2>Optional Details</h2>
 
  <h3>📷 Images</h3>
  <table class="form-table">
    <tr><td class="form-label"><strong>Author Photo:</strong></td>
        <td class="form-field">{{{field|Thumbnail|input type=combobox|values from category=Files|property=Author photo|image preview}}}</td></tr>
    <tr><td class="form-label"><strong>First Image:</strong></td>
        <td class="form-field">{{{field|Image1|input type=combobox|values from category=Files|property=First image|image preview}}}</td></tr>
    <tr><td class="form-label"><strong>Caption:</strong></td>
        <td class="form-field">{{{field|Image1Caption|property=First image caption}}}</td></tr>
    <tr><td class="form-label"><strong>Second Image:</strong></td>
        <td class="form-field">{{{field|Image2|input type=combobox|values from category=Files|property=Second image|image preview}}}</td></tr>
    <tr><td class="form-label"><strong>Caption:</strong></td>
        <td class="form-field">{{{field|Image2Caption|property=Second image caption}}}</td></tr>
  </table>
 
  <h3>💡 Highlights & Key Points</h3>
  <table class="form-table">
    <tr><td class="form-label"><strong>Highlight 1:</strong></td>
        <td class="form-field">{{{field|Highlight1|input type=textarea|rows=2|autogrow|property=First highlight}}}</td></tr>
    <tr><td class="form-label"><strong>Highlight 2:</strong></td>
        <td class="form-field">{{{field|Highlight2|input type=textarea|rows=2|autogrow|property=Second highlight}}}</td></tr>
    <tr><td class="form-label"><strong>Key Point 1:</strong></td>
        <td class="form-field">{{{field|KeyPoint1|property=First key point}}}</td></tr>
    <tr><td class="form-label"><strong>Key Point 2:</strong></td>
        <td class="form-field">{{{field|KeyPoint2|property=Second key point}}}</td></tr>
    <tr><td class="form-label"><strong>Key Point 3:</strong></td>
        <td class="form-field">{{{field|KeyPoint3|property=Third key point}}}</td></tr>
    <tr><td class="form-label"><strong>Key Point 4:</strong></td>
        <td class="form-field">{{{field|KeyPoint4|property=Fourth key point}}}</td></tr>
  </table>
 
  <h3>📰 For Translations Only</h3>
  <table class="form-table">
    <tr><td class="form-label"><strong>Original Author:</strong></td>
        <td class="form-field">{{{field|OriginalAuthor|property=Original author}}}</td></tr>
    <tr><td class="form-label"><strong>Source:</strong></td>
        <td class="form-field">{{{field|SourceName|property=Source publication}}}</td></tr>
    <tr><td class="form-label"><strong>Source URL:</strong></td>
        <td class="form-field">{{{field|SourceURL|property=Source URL}}}</td></tr>
  </table>
 
  <h3>✍️ Author Bio</h3>
  <table class="form-table">
    <tr><td class="form-label"><strong>About Author:</strong></td>
        <td class="form-field">{{{field|Author_Bio|input type=textarea|rows=4|autogrow|property=Author bio}}}</td></tr>
  </table>
</div>


</noinclude><includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Article‑test}}}
{| class="formtable"
! DisplayTitle:
| {{{field|DisplayTitle}}}
|-
! KeyPoint1:
| {{{field|Title}}}
|-
! KeyPoint4:
| {{{field|Language}}}
|-
! Author:
| {{{field|Author}}}
|-
! Date:
| {{{field|Date}}}
|-
! Category:
| {{{field|Category}}}
|-
! Introduction:
| {{{field|Introduction}}}
|-
! Content:
| {{{field|Content}}}
|-
! Image1:
| {{{field|Image1}}}
|-
! Image1Caption:
| {{{field|Image1Caption}}}
|-
! Image2:
| {{{field|Image2}}}
|-
! Image2Caption:
| {{{field|Image2Caption}}}
|-
! SourceName:
| {{{field|SourceName}}}
|-
! OriginalAuthor:
| {{{field|OriginalAuthor}}}
|-
! SourceURL:
| {{{field|SourceURL}}}
|-
! Thumbnail:
| {{{field|Thumbnail}}}
|-
! Author_Bio:
| {{{field|Author_Bio}}}
|-
! Highlight1:
| {{{field|Highlight1}}}
|-
! Highlight2:
| {{{field|Highlight2}}}
|-
! KeyPoint1:
| {{{field|KeyPoint1}}}
|-
! KeyPoint2:
| {{{field|KeyPoint2}}}
|-
! KeyPoint3:
| {{{field|KeyPoint3}}}
|-
! KeyPoint4:
| {{{field|KeyPoint4}}}
|}
{{{end template}}}
{{{end template}}}


'''Free text:'''
<!-- Footer -->
<div class="form-footer">
  <p>Submission will be saved to <strong>Submissions:</strong> namespace for review</p>
  {{{standard input|save|label=📤 Submit for Review}}}
  {{{standard input|preview|label=👁️ Preview}}}
  {{{standard input|cancel|label=❌ Cancel}}}
  {{{standard input|watch}}}
</div>


{{{standard input|free text|rows=10}}}
</div>
</includeonly>

Latest revision as of 22:29, 16 April 2026

page name=<name>

ArticleTest

Required Information

Display Title: * DisplayTitle
Language: * Language
Author: * Author
Date: * Date
Category: * Category
Introduction: * Introduction
Article Content: * Content

Optional Details

📷 Images

Author Photo: Thumbnail
First Image: Image1
Caption: Image1Caption
Second Image: Image2
Caption: Image2Caption

💡 Highlights & Key Points

Highlight 1: Highlight1
Highlight 2: Highlight2
Key Point 1: KeyPoint1
Key Point 2: KeyPoint2
Key Point 3: KeyPoint3
Key Point 4: KeyPoint4

📰 For Translations Only

Original Author: OriginalAuthor
Source: SourceName
Source URL: SourceURL

✍️ Author Bio

About Author: Author_Bio

{{{end template}}}