Difference between revisions of "Template:Article"

From Kailasapedia
Jump to navigation Jump to search
(Created page with "<includeonly> {|class="wikitable" style="width: 33%; clear:center; float:center; background:#ffffff; margin: 0 0 0.5em 1em; font-size:110%" |- | style="text-align:center;backg...")
 
(reduced width of infobox)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{|class="wikitable" style="width: 33%; clear:center; float:center; background:#ffffff; margin: 0 0 0.5em 1em; font-size:110%"
+
{|class="wikitable" style="width:25%; clear:right; float:right; background:#ffffff; margin: 0 0 0.25em 0.5em; font-size:90%"
 
|-
 
|-
| style="text-align:center;background:#A8BDEC;width:30%"|'''Topic'''||style="text-align:center;background:#A8BDEC"| '''Details'''
+
| style="text-align:center;background:#653438;color:#ffffff;" colspan="2"|'''Article Details'''
 
|-
 
|-
 
| style="text-align:center;" |Magazine Name||{{{magazineName}}}
 
| style="text-align:center;" |Magazine Name||{{{magazineName}}}
Line 21: Line 21:
 
</includeonly>
 
</includeonly>
  
 +
<noinclude>
 
<templatedata>
 
<templatedata>
 
{
 
{
    "description": "Details about articles published in magazines or newspapers.",
+
"description": "Details about articles published in magazines or newspapers.",
    "params": {
+
"params": {
        "magazineName": {
+
"magazineName": {
            "label": "Magazine Name",
+
"label": "Magazine Name",
            "type": "string",
+
"type": "string",
            "required": true,
+
"required": true,
            "description": "Name of the magazine or newspaper",
+
"description": "Name of the magazine or newspaper",
            "aliases": ["1"]
+
"aliases": [
        },
+
"1"
        "magazineSite": {
+
]
            "label": "Magazine site",
+
},
            "type": "string",
+
"magazineSite": {
            "required": false,
+
"label": "Magazine site",
            "description": "Magazine or Newspaper's website.",
+
"type": "string",
            "aliases": ["2"]
+
"required": false,
        },
+
"description": "Magazine or Newspaper's website.",
        "articleName": {
+
"aliases": [
            "label": "Article Name",
+
"2"
            "type": "string",
+
]
            "required": true,
+
},
            "description": "Name or description of the article.",
+
"articleName": {
            "aliases": ["3"]
+
"label": "Article Name",
        },
+
"type": "string",
        "articleType": {
+
"required": true,
            "label": "Article Type",
+
"description": "Name or description of the article.",
            "type": "string",
+
"aliases": [
            "required": true,
+
"3"
            "description": "Frequency of publication like weekly, monthly, once etc.",
+
]
            "aliases": ["4"]
+
},
        },
+
"articleType": {
        "serialNumber": {
+
"label": "Article Type",
            "label": "Serial Number",
+
"type": "string",
            "type": "string",
+
"required": true,
            "required": false,
+
"description": "Frequency of publication like weekly, monthly, once etc.",
            "description": "The serial number or episode or id of the article.",
+
"aliases": [
            "aliases": ["5"]
+
"4"
        },
+
]
        "publishedDate": {
+
},
            "label": "Published Date",
+
"serialNumber": {
            "type": "date",
+
"label": "Serial Number",
            "required": false,
+
"type": "string",
            "description": "When was the article published?",
+
"required": false,
            "aliases": ["6"]
+
"description": "The serial number or episode or id of the article.",
        },
+
"aliases": [
        "language": {
+
"5"
            "label": "Language",
+
]
            "type": "string",
+
},
            "required": true,
+
"publishedDate": {
            "description": "Language of the Article.",
+
"label": "Published Date",
            "aliases": ["7"]
+
"type": "date",
        }
+
"required": false,
    }
+
"description": "When was the article published?",
 +
"aliases": [
 +
"6"
 +
]
 +
},
 +
"language": {
 +
"label": "Language",
 +
"type": "string",
 +
"required": true,
 +
"description": "Language of the Article.",
 +
"aliases": [
 +
"7"
 +
]
 +
}
 +
}
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
</noinclude>

Latest revision as of 21:38, 12 September 2020


Details about articles published in magazines or newspapers.

Template parameters

ParameterDescriptionTypeStatus
Magazine NamemagazineName 1

Name of the magazine or newspaper

Stringrequired
Magazine sitemagazineSite 2

Magazine or Newspaper's website.

Stringoptional
Article NamearticleName 3

Name or description of the article.

Stringrequired
Article TypearticleType 4

Frequency of publication like weekly, monthly, once etc.

Stringrequired
Serial NumberserialNumber 5

The serial number or episode or id of the article.

Stringoptional
Published DatepublishedDate 6

When was the article published?

Dateoptional
Languagelanguage 7

Language of the Article.

Stringrequired