Difference between revisions of "Template:Drvlinks/doc"
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
| This is a documentation subpage for Template:Drvlinks. It contains usage information, categories and other content that is not part of the original template page. |
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:
- Main (Article) namespace - if
|ns=is left blank, the template defaults to article space.|ns=Articlealso may be used. - Wikipedia (Project) namespace - Use
|ns=Wikipedia - Help namespace - Use
|ns=Help - User namespace - Use
|ns=User - Category namespace - Use
|ns=Category - File namespace - Use
|ns=File - MediaWiki namespace - Use
|ns=MediaWiki - Template namespace - Use
|ns=Template - Special namespace - Use
|ns=Special - Media namespace - Use
|ns=Media - Portal namespace - Use
|ns=Portal - Table namespace - Use
|ns=Table
- Main (Article) namespace - if
- 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