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

From blackwiki
Jump to navigation Jump to search
imported>Ipatrol
(catize)
imported>Mr. Stradivarius
(Add header parameter)
 
(3 intermediate revisions by 2 users not shown)
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|}}}}}
+
{{{{{|safesubst:}}}#ifeq:{{{welcome}}}|No|
 
+
|{{{{{|safesubst:}}}#ifexist:{{{{{|safesubst:}}}FULLPAGENAME}}|
}}}}<noinclude>
+
  |{{{{{|safesubst:}}}{{{welcome|first article}}}
 +
  |1={{{target}}}
 +
  |namespace={{{namespace|}}}
 +
  |nothanks={{{nothanks|}}}
 +
  |header={{{header|}}}
 +
  }}
 +
}}
 +
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
[[Category:CSD warning templates]]
 
[[Category:CSD warning templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:57, 14 August 2012

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