Template:Article: Difference between revisions

From AbhiprayaVedi
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 93: Line 93:
     "Author_Bio": {"label":"Author Bio","type":"string","multiline":true},
     "Author_Bio": {"label":"Author Bio","type":"string","multiline":true},
     "Category": {"label":"Category","type":"string"}
     "Category": {"label":"Category","type":"string"}
  }
}
</templatedata>
<templatedata>
{
  "description": "Structured article layout template",
  "params": {
    "Display_Name": {
      "label": "Display Name",
      "description": "Title shown on the page",
      "type": "string",
      "required": true
    },
    "Author": {
      "label": "Author",
      "type": "string"
    },
    "Date": {
      "label": "Date",
      "type": "date"
    },
    "Intro": {
      "label": "Introduction",
      "type": "string",
      "multiline": true
    },
    "Thumbnail": {
      "label": "Thumbnail Image",
      "type": "wiki-file-name"
    },
    "Thumbnail_Caption": {
      "label": "Thumbnail Caption",
      "type": "string"
    },
    "Image1": {
      "label": "Main Image",
      "type": "wiki-file-name"
    },
    "Image1_Caption": {
      "label": "Image Caption",
      "type": "string"
    },
    "Highlight1": {
      "label": "Highlight 1",
      "type": "string"
    },
    "Highlight2": {
      "label": "Highlight 2",
      "type": "string"
    },
    "Content": {
      "label": "Article Content",
      "type": "string",
      "multiline": true,
      "required": true
    },
    "Author_Bio": {
      "label": "About the Author",
      "type": "string",
      "multiline": true
    },
    "Category": {
      "label": "Category",
      "type": "string"
    }
   }
   }
}
}
</templatedata>
</templatedata>

Revision as of 23:03, 2 February 2026





 {{{Content}}}


<templatedata> {

 "description": "Structured article layout",
 "params": {
   "Display_Name": {"label":"Display Name","type":"string","required":true},
   "Author": {"label":"Author","type":"string"},
   "Date": {"label":"Date","type":"date"},
   "Intro": {"label":"Introduction","type":"string","multiline":true},
   "Thumbnail": {"label":"Thumbnail","type":"wiki-file-name"},
   "Thumbnail_Caption": {"label":"Thumbnail Caption","type":"string"},
   "Image1": {"label":"Main Image","type":"wiki-file-name"},
   "Image1_Caption": {"label":"Image Caption","type":"string"},
   "Highlight1": {"label":"Highlight 1","type":"string"},
   "Highlight2": {"label":"Highlight 2","type":"string"},
   "Content": {"label":"Article Content","type":"string","multiline":true},
   "Author_Bio": {"label":"Author Bio","type":"string","multiline":true},
   "Category": {"label":"Category","type":"string"}
 }

} </templatedata> <templatedata> {

 "description": "Structured article layout template",
 "params": {
   "Display_Name": {
     "label": "Display Name",
     "description": "Title shown on the page",
     "type": "string",
     "required": true
   },
   "Author": {
     "label": "Author",
     "type": "string"
   },
   "Date": {
     "label": "Date",
     "type": "date"
   },
   "Intro": {
     "label": "Introduction",
     "type": "string",
     "multiline": true
   },
   "Thumbnail": {
     "label": "Thumbnail Image",
     "type": "wiki-file-name"
   },
   "Thumbnail_Caption": {
     "label": "Thumbnail Caption",
     "type": "string"
   },
   "Image1": {
     "label": "Main Image",
     "type": "wiki-file-name"
   },
   "Image1_Caption": {
     "label": "Image Caption",
     "type": "string"
   },
   "Highlight1": {
     "label": "Highlight 1",
     "type": "string"
   },
   "Highlight2": {
     "label": "Highlight 2",
     "type": "string"
   },
   "Content": {
     "label": "Article Content",
     "type": "string",
     "multiline": true,
     "required": true
   },
   "Author_Bio": {
     "label": "About the Author",
     "type": "string",
     "multiline": true
   },
   "Category": {
     "label": "Category",
     "type": "string"
   }
 }

} </templatedata>