Difference between revisions of "Template:Drvlinks/doc"

From blackwiki
Jump to navigation Jump to search
imported>Trafford09
m (+hyphen into 'case-sensitive')
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
 
*'''{{para|pg}}''' is the title of the page nominated for review.
 
*'''{{para|pg}}''' is the title of the page nominated for review.
 
*'''{{para|ns}}''' is the [[Wikipedia:Namespace|namespace]] in which the nominated page resides:
 
*'''{{para|ns}}''' is the [[Wikipedia:Namespace|namespace]] in which the nominated page resides:
:# Main (Article) namespace - if {{para|ns}} is left blank, the template defaults to article space. {{para|ns|Article}} also may be used.
+
:* Main (Article) namespace - if {{para|ns}} is left blank, the template defaults to article space. {{para|ns|Article}} also may be used.
:# Wikipedia (Project) namespace - Use {{para|ns|Wikipedia}}
+
:* Other namespaces - use the namespace name, e.g. {{para|ns|User}} or {{para|ns|Wikipedia talk}}. A full list of namespaces is available at [[Wikipedia:Namespaces]].
:# Help namespace - Use {{para|ns|Help}}
+
:* You can also use the namespace number. E.g. instead of {{para|ns|User}}, you can use {{para|ns|2}}. A full list of namespace numbers is available at [[Wikipedia:Namespaces]].
:# User namespace - Use {{para|ns|User}}
+
:* Special namespaces such as "Special" and "Media" are invalid.
:# Category namespace - Use {{para|ns|Category}}
+
:* Namespace names are case-insensitive - {{para|ns|MediaWiki}}, {{para|ns|Mediawiki}} and {{para|ns|mediawiki}} will all work.
:# File namespace - Use {{para|ns|File}}
 
:# MediaWiki namespace - Use {{para|ns|MediaWiki}}
 
:# Template namespace - Use {{para|ns|Template}}
 
:# Special namespace - Use {{para|ns|Special}}
 
:# Media namespace - Use {{para|ns|Media}}
 
:# Portal namespace - Use {{para|ns|Portal}}
 
:# Table namespace - Use {{para|ns|Table}}
 
  
 
;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>
  
 
=== See also ===
 
=== See also ===
 
{{Template:DRV see also documentation}}
 
{{Template:DRV see also documentation}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Deletion review templates|{{PAGENAME}}]]
 
[[Category:Deletion review templates|{{PAGENAME}}]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 00:41, 25 April 2020

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=Article also may be used.
  • Other namespaces - use the namespace name, e.g. |ns=User or |ns=Wikipedia talk. A full list of namespaces is available at Wikipedia:Namespaces.
  • You can also use the namespace number. E.g. instead of |ns=User, you can use |ns=2. A full list of namespace numbers is available at Wikipedia:Namespaces.
  • Special namespaces such as "Special" and "Media" are invalid.
  • Namespace names are case-insensitive - |ns=MediaWiki, |ns=Mediawiki and |ns=mediawiki will all work.
Example 1

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

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

See also