Difference between revisions of "Template:Deceased Wikipedian"

From blackwiki
Jump to navigation Jump to search
imported>GZWDer
(Category:Opted-out of message delivery)
imported>Cyberpower678
(Make gender classification more consistent across userspace.)
Line 2: Line 2:
 
  | style = border-color: #333; background: #f6f6f6; border-left-width: 10px; padding: 0.4em 0; margin-bottom: 0.75em; text-align: center;
 
  | style = border-color: #333; background: #f6f6f6; border-left-width: 10px; padding: 0.4em 0; margin-bottom: 0.75em; text-align: center;
 
  | image = [[File:Candle Memorial For Deceased Wikipedians.PNG|70px]]
 
  | image = [[File:Candle Memorial For Deceased Wikipedians.PNG|70px]]
  | text  = {{{message|[[WP:Deceased Wikipedians|This Wikipedian is deceased]]. {{gender:{{{1|{{#ifeq:{{NAMESPACE}}|User|{{BASEPAGENAME}}}}}}}|His|Her|Their}} {{{page|user page}}} is preserved here in {{gender:{{{1|{{#ifeq:{{NAMESPACE}}|User|{{BASEPAGENAME}}}}}}}|his|her|their}} memory.{{#ifeq:{{Yesno|{{{nocat|no}}}}}|yes||<includeonly>{{#ifeq:{{NAMESPACE}}|User|[[Category:Deceased Wikipedians]]}}</includeonly>}}
+
  | text  = {{{message|[[WP:Deceased Wikipedians|This Wikipedian is deceased]]. {{gender:{{{1|{{#switch:{{NAMESPACE}}|User|User talk={{BASEPAGENAME}}}}}}}|His|Her|Their}} {{{page|user page}}} is preserved here in {{gender:{{{1|{{#ifeq:{{NAMESPACE}}|User|{{BASEPAGENAME}}}}}}}|his|her|their}} memory.{{#ifeq:{{Yesno|{{{nocat|no}}}}}|yes||<includeonly>{{#ifeq:{{NAMESPACE}}|User|[[Category:Deceased Wikipedians]]}}</includeonly>}}
  
 
{{{note|}}} }}}
 
{{{note|}}} }}}
 
}}{{Nobots}}{{#ifeq:{{NAMESPACENUMBER}}|3|[[Category:Opted-out of message delivery]]}}<noinclude>{{documentation}}</noinclude>
 
}}{{Nobots}}{{#ifeq:{{NAMESPACENUMBER}}|3|[[Category:Opted-out of message delivery]]}}<noinclude>{{documentation}}</noinclude>

Revision as of 01:23, 9 January 2017

Template:Nobots

Template documentation[view] [edit] [history] [purge]

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"/"their"
{{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}}
Template:Nobots
  • {{deceased|Example female}}
Template:Nobots
  • {{deceased|page=editor review}}
Template:Nobots
  • {{deceased|note=Learn more about this Wikipedian at [[Article name]].}}
Template:Nobots
  • {{deceased|message=Custom message.}}
Template:Nobots

See also

Template:Wikibreak templates