Difference between revisions of "Template:Drvlinks/doc"

From blackwiki
Jump to navigation Jump to search
imported>Juliancolton
m (fix)
imported>Trafford09
m (+hyphen into 'case-sensitive')
Line 27: Line 27:
  
 
;Example 1
 
;Example 1
For the page Template:Drvlinks, use {{para|ns|Template}} and {{para|pg|Drvlinks}} as in: <center><blockquote><code><nowiki>{{drvlinks|pg=Drvlinks|ns=Template}}</nowiki></code>.</blockquote></center>Note that {{para|ns}} is not case sensitive on the first letter only. For example, {{para|ns|template}} may be used (but not {{para|ns|TEMPLATE}}).
+
For the page Template:Drvlinks, use {{para|ns|Template}} and {{para|pg|Drvlinks}} as in: <center><blockquote><code><nowiki>{{drvlinks|pg=Drvlinks|ns=Template}}</nowiki></code>.</blockquote></center>Note that {{para|ns}} is not case-sensitive on the first letter only. For example, {{para|ns|template}} may be used (but not {{para|ns|TEMPLATE}}).
  
 
=== See also ===
 
=== See also ===

Revision as of 22:38, 25 January 2012

Purpose

This template is used in {{newdelrev}}, the primary template for deletion review. In addition, this template may used by itself for a second and other multiple deletion review listings to produce the link string

Pagename (edit|talk|history|links|watch|logs) (restore|cache|AfD)

for each page of a multiple DRV discussion.

Usage

To use this template, simply use

{{drvlinks|pg=<PAGENAME of page to review>|ns=<NAMESPACE of page to review>}}.

Parameters

Drvlinks takes two named parameters, |pg= and |ns=. In a page title, |ns= is the text before the colon (":"), and |pg= is the text after it.

  • |pg= is the title of the page nominated for review.
  • |ns= is the namespace in which the nominated page resides:
  1. Main (Article) namespace - if |ns= is left blank, the template defaults to article space. |ns=Article also may be used.
  2. Wikipedia (Project) namespace - Use |ns=Wikipedia
  3. Help namespace - Use |ns=Help
  4. User namespace - Use |ns=User
  5. Category namespace - Use |ns=Category
  6. File namespace - Use |ns=File
  7. MediaWiki namespace - Use |ns=MediaWiki
  8. Template namespace - Use |ns=Template
  9. Special namespace - Use |ns=Special
  10. Media namespace - Use |ns=Media
  11. Portal namespace - Use |ns=Portal
  12. Table namespace - Use |ns=Table
Example 1

For the page Template:Drvlinks, use |ns=Template and |pg=Drvlinks as in:

{{drvlinks|pg=Drvlinks|ns=Template}}.

Note that |ns= is not case-sensitive on the first letter only. For example, |ns=template may be used (but not |ns=TEMPLATE).

See also