Jump to content

Template:NewPage/doc: Difference between revisions

no edit summary
m (Majestix moved page Template:NewArticle/doc to Template:NewPage/doc without leaving a redirect)
No edit summary
Line 6:
|+ Caption text
|-
! Markup !! Article exists !! !! Result
|-
| <nowiki>{{newArticlenewPage|Main Page|somepage}}</nowiki> || Y || {{newArticlenewPage|1=Main Page|2=somepage}}
|-
| <nowiki>{{newArticlenewPage|Example Page|somepage|7}}</nowiki>
|| N || {{newArticlenewPage|Example Page|somepage|7}}
|-
| <nowiki>{{articlenewPage|ArticleMain Page|Main Page|14}}</nowiki> || Y || {{newArticlenewPage|Article|days}}
|-
| <nowiki>{{newPage|Main Page|Main Page|365}}</nowiki> || Y || {{newPage|Article|days}}
 
|}
 
Line 31 ⟶ 34:
},
"2": {
"description": "NamePageName to be displayed",
"example": "ArticlePage",
"type": "string",
"suggested": true,
"aliases": [
"Name to Displaydname"
]
},
"3": {
"aliases": [
"days"
],
"label": "Days",
"description": "age of page",
"type": "number",
"default": "7",
"suggested": true
}
},
"paramOrder": [
"1",
"2",
"3"
],
"description": "newArticle"