Difference between revisions of "Template:Deceased Wikipedian/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(add shortcut notice, use shorter template name and add another example)
imported>Mr. Stradivarius
(add info about the first positional parameter, plus another example)
Line 9: Line 9:
 
; Basic usage
 
; Basic usage
  
<pre>{{deceased}}</pre>
+
&#123;{deceased}}
 +
 
 +
; Detect "his"/"her"
 +
 
 +
&#123;{deceased|''username''}}
  
 
; All parameters
 
; All parameters
  
<pre>{{deceased
+
&#123;{deceased
|page    =  
+
| ''username''
|note    =  
+
| page    =  
|message =  
+
| note    =  
}}</pre>
+
| message =  
 +
}}
  
 
== Parameters ==
 
== Parameters ==
  
 +
* The first positional parameter is for the username. If entered, it detects whether to use "his", "her", or "their", depending on the gender value set in the user's preferences.
 
* <code>page</code> - this parameter replaces the text "user page".
 
* <code>page</code> - this parameter replaces the text "user page".
 
* <code>note</code> - an extra note after the standard message.
 
* <code>note</code> - an extra note after the standard message.
Line 30: Line 36:
  
 
{{deceased}}
 
{{deceased}}
 +
 +
*<code><nowiki>{{deceased|Example female}}</nowiki></code>
 +
 +
{{deceased|Example female}}
  
 
*<code><nowiki>{{deceased|page=editor review}}</nowiki></code>
 
*<code><nowiki>{{deceased|page=editor review}}</nowiki></code>

Revision as of 06:10, 21 November 2013

This template is put on the user pages of deceased Wikipedians. It can also be put on other types of pages, such as editor reviews, depending on the parameters used. Before using it, please read the guidelines on deceased Wikipedians.

Usage

Basic usage
{{deceased}}
Detect "his"/"her"
{{deceased|username}}
All parameters
{{deceased

| username | page = | note = | message = }}

Parameters

  • The first positional parameter is for the username. If entered, it detects whether to use "his", "her", or "their", depending on the gender value set in the user's preferences.
  • page - this parameter replaces the text "user page".
  • note - an extra note after the standard message.
  • message - custom message text; replaces the entire message, including the note.

Examples

  • {{deceased}}
  • {{deceased|Example female}}
  • {{deceased|page=editor review}}
  • {{deceased|note=Learn more about this Wikipedian at [[Article name]]}}
  • {{deceased|message=Custom message.}}