Difference between revisions of "Template:Deceased Wikipedian"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(transclusion doesn't work)
imported>Soumya-8974
 
Line 1: Line 1:
{{Ombox
+
{{mbox
| style = border-color: #333; background: #f6f6f6; border-left-width: 1px; 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|{{#switch:{{NAMESPACE}}|User|User talk={{BASEPAGENAME}}}}}}}|His|Her|Their}} {{{page|user page}}} is preserved here in {{gender:{{{1|{{#switch:{{NAMESPACE}}|User|User talk={{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|{{#switch:{{NAMESPACE}}|User|User talk={{BASEPAGENAME}}}}}}}|his|her|their}} memory.{{#ifeq:{{Yesno|{{{nocat|no}}}}}|yes||<includeonly>{{#ifeq:{{NAMESPACE}}|User|[[Category:Deceased Wikipedians]]}}</includeonly>}}

Latest revision as of 07:42, 8 September 2020

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

See also

Template:Wikibreak templates