Template:NewPage: Difference between revisions

From wikiNonStop
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
{{#expr: {{REVISIONTIMESTAMP: {{{1|}}}}} > ({{LOCALTIMESTAMP}} - {{{3|7}}}*24*3600)}}
{{#ifexist: {{{1}}}
|{{REVISIONTIMESTAMP: {{{1|}}}}} > ({{#expr: {{LOCALTIMESTAMP}} - {{{3|7}}}*24*3600}})
|{{{1}}} not found}}


{{#ifexist: {{{1|}}}|{{#ifexpr: {{REVISIONTIMESTAMP: {{{1|}}}}} > ({{LOCALTIMESTAMP}} - {{{3|7}}}*24*3600) | img [[File:Regular.svg|new|25px]] [[{{{2|}}}]]| noimg [[{{{1|}}}|{{{2|}}}]]}}

{{#ifexist: {{{1|}}}|{{#ifexpr: {{REVISIONTIMESTAMP: {{{1|}}}}} > ({{LOCALTIMESTAMP}} - {{#expr: {{{3|7}}}*24*3600}}) | img [[File:Regular.svg|new|25px]] [[{{{2|}}}]]| noimg [[{{{1|}}}|{{{2|}}}]]}}
|}}<noinclude>
|}}<noinclude>
{{documentation}}
{{documentation}}

Revision as of 13:56, 2 October 2024

Expression error: Unexpected > operator.


Template documentation


Usage

Caption text
Markup Article exists Result
{{newPage|Example Page|somepage|7}} N Expression error: Unexpected > operator.


{{newPage|wikiNonStop|somepage}} Y 0

noimg somepage

{{newPage|wikiNonStop|somepage|14}} Y 0

noimg somepage

{{newPage|wikiNonStop|somepage|365}} Y 0

noimg somepage

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

NewPage

newArticle

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11 name

Page name

Example
Example Page
Page namerequired
22 dname

PageName to be displayed

Example
Page
Stringsuggested
Days3 days

age of page

Default
7
Numbersuggested