Template:NewPage: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#ifexist: {{{1|}}} |
{{#ifexist: {{{1|}}} |
||
|{{REVISIONTIMESTAMP: {{{1|}}}}} > {{#expr: ({{LOCALTIMESTAMP}}-{{{3|7}}}*24*3600)}} |
|{{#time: U |{{REVISIONTIMESTAMP: {{{1|}}}}} }} > {{#expr: ({{#time: U |{{LOCALTIMESTAMP}}}}-{{{3|7}}}*24*3600) }} |
||
}} |
}} |
||
{{#ifexist: {{{1|}}}|{{#ifexpr: {{REVISIONTIMESTAMP: {{{1|}}}}} > ({{LOCALTIMESTAMP}}-{{{3|7}}}*24*3600) | img [[File:Regular.svg|new|25px]] [[{{{2|}}}]]| noimg [[{{{1|}}}|{{{2|}}}]]}} |
{{#ifexist: {{{1|}}}|{{#ifexpr: {{#time: U |{{REVISIONTIMESTAMP: {{{1|}}}}} }} > {{#expr: ({{#time: U |{{LOCALTIMESTAMP}}}}-{{{3|7}}}*24*3600) }} | img [[File:Regular.svg|new|25px]] [[{{{2|}}}]]| noimg [[{{{1|}}}|{{{2|}}}]]}} |
||
|}}<noinclude> |
|}}<noinclude> |
||
{{documentation}} |
{{documentation}} |
Revision as of 14:40, 2 October 2024
Usage
Markup | Article exists | Result | |
---|---|---|---|
{{newPage|Example Page|somepage|7}} | N |
| |
{{newPage|wikiNonStop|somepage}} | Y | 1724162397 > 1731057848
noimg somepage | |
{{newPage|wikiNonStop|somepage|14}} | Y | 1724162397 > 1730453048
noimg somepage | |
{{newPage|wikiNonStop|somepage|365}} | Y | 1724162397 > 1700126648
img somepage |
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
NewPage
newArticle
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 name | Page name
| Page name | required |
2 | 2 dname | PageName to be displayed
| String | suggested |
Days | 3 days | age of page
| Number | suggested |