Difference between revisions of "Template:First article if new"

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
(created: Conditional substituion of {{template:firstarticle}} if the page it's transcluded into doesn't exist, for use in CSD notification templates.)
 
imported>Amalthea
m (Hmm, that's not nice.)
Line 1: Line 1:
 
{{<includeonly>subst:</includeonly>#ifeq: {{{welcome}}}|No||{{<includeonly>subst:</includeonly>#ifexist:{{<includeonly>subst:</includeonly>FULLPAGENAME}}||{{<includeonly>subst:</includeonly>{{{welcome|firstarticle}}}|{{{target}}}|namespace={{{namespace|}}}}}
 
{{<includeonly>subst:</includeonly>#ifeq: {{{welcome}}}|No||{{<includeonly>subst:</includeonly>#ifexist:{{<includeonly>subst:</includeonly>FULLPAGENAME}}||{{<includeonly>subst:</includeonly>{{{welcome|firstarticle}}}|{{{target}}}|namespace={{{namespace|}}}}}
  
}}}}<span><noinclude>
+
}}}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 21:36, 28 November 2008

50px Template documentation[view] [edit] [history] [purge]

Usage

{{First article if new|Article name}}

This template is used by speedy deletion notification templates to leave a {{First article}} welcome message if placed on a talk page that didn't exist before the notification. The idea is that a user without a talk page is likely a complete newcomer, and some extra guidance may be appropriate.

The optional parameter nothanks=yes will suppress the "thank you for your contributions" phrase. It is also possible to suppress the "Welcome!" heading by using the optional parameter header=no.

See also

sl:Predloga:Prvi članek, če je nov