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

From blackwiki
Jump to navigation Jump to search
imported>Amalthea
(+ nothanks parameter, for use in the SD notification templates, to not thank an editor for a vandalistic edit or an attack page.)
imported>MSGJ
(use safesubst)
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|}}}|nothanks={{{nothanks|}}}}}
+
{{{{{|safesubst:}}}#ifeq:{{{welcome}}}|No|
 
+
|{{{{{|safesubst:}}}#ifexist:{{{{{|safesubst:}}}FULLPAGENAME}}|
}}}}<noinclude>
+
  |{{{{{|safesubst:}}}{{{welcome|first article}}}
 +
  |1={{{target}}}
 +
  |namespace={{{namespace|}}}
 +
  |nothanks={{{nothanks|}}}
 +
  }}
 +
}}
 +
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
[[Category:CSD warning templates]]
 
[[Category:CSD warning templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:43, 24 July 2010

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