Difference between revisions of "Template:Afd2/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sandstein
(→‎Article: update example)
m (15 revisions imported)
 
(11 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
<includeonly>{{Subst only}}</includeonly>
 +
{{Twinkle standard installation}}
  
 
=== Usage ===
 
=== Usage ===
<!-- Abstract usage of the template, one variable per row. -->
 
 
<pre>
 
<pre>
 
{{subst:afd2
 
{{subst:afd2
   |pg=article nominated for deletion
+
   |pg=Jonah Cristall-Clarke
   |text=reason for nomination
+
  |cat=B
 +
   |text=The subject of this article does not meet the guidelines for notability. ~~~~
 
}}
 
}}
 
</pre>
 
</pre>
  
<!-- explain what this template's parameters do -- if no params, delete the definition -->
+
For the template to work properly, don't forget to [[WP:SUBST|substitute]] using subst:.
  
 
==== Example ====
 
==== Example ====
Line 18: Line 20:
 
! Result
 
! Result
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| {{tlsp|afd2|pg&#61;Article&#124;text&#61;ugly}}
+
| {{tlsp|afd2|pg&#61;Article&#124;text&#61;Sample text}}
 
|
 
|
====[[Article]]====
+
 
:{{la|Article}} ([[{{FULLPAGENAME}}|View AfD]] · [http://toolserver.org/~betacommand/cgi-bin/afdparser?afd=Wikipedia%3AArticles+for+deletion%2FArticle AfD statistics])
+
===[[Article]]===
ugly
+
:{{la|Article}} ([[Template:Afd2/doc|View AfD]])
 +
:({{find sources AFD|Article}})
 +
Sample text
 
|}
 
|}
 
<!-- customize if needed to illustrate parameter use -->
 
<!-- customize if needed to illustrate parameter use -->
  
=== See also ===
+
<includeonly>{{Sandbox other||
 +
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 +
[[Category:Articles for deletion templates]]
  
<includeonly>
+
[[es:Plantilla:cdb2]]
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
}}</includeonly>
[[Category:Articles for deletion templates|{{PAGENAME}}]]
 
</includeonly>
 

Latest revision as of 11:23, 18 October 2020

Usage

{{subst:afd2
  |pg=Jonah Cristall-Clarke
  |cat=B
  |text=The subject of this article does not meet the guidelines for notability. ~~~~
}}

For the template to work properly, don't forget to substitute using subst:.

Example

Code Result
{{subst:afd2|pg=Article|text=Sample text}}

Article

Article (edit | talk | history | protect | delete | links | watch | logs | views) – (View AfD)
(Find sources: Google (books⧼Dot-separator⧽news⧼Dot-separator⧽newspapers⧼Dot-separator⧽scholar⧼Dot-separator⧽free images⧼Dot-separator⧽WP refs)⧼Dot-separator⧽FENS⧼Dot-separator⧽JSTOR⧼Dot-separator⧽NYT⧼Dot-separator⧽TWL)

Sample text