Difference between revisions of "Template:MOS-TRANS/doc"

From blackwiki
Jump to navigation Jump to search
imported>Trankuility
(→‎Usage: tidy up)
imported>Callanecc
(Add note re hiding DS and Not a forum templates)
Line 5: Line 5:
 
* First parameter (optional) - specifies whether the subject's preferred gender is m (male) or f (female)
 
* First parameter (optional) - specifies whether the subject's preferred gender is m (male) or f (female)
 
* Second parameter (optional) - specifies additional topics that might produce heated discussions
 
* Second parameter (optional) - specifies additional topics that might produce heated discussions
 +
* {{para|DS|no}} - hides the [[WP:AC/DS|discretionary sanctions]] template (shown by default)
 +
* {{para|Forum|no}} - hides the {{tl|Not a forum}} template (shown by default)
  
 
===Test cases===
 
===Test cases===

Revision as of 06:30, 6 December 2017

Usage

Parameters

  • First parameter (optional) - specifies whether the subject's preferred gender is m (male) or f (female)
  • Second parameter (optional) - specifies additional topics that might produce heated discussions
  • |DS=no - hides the discretionary sanctions template (shown by default)
  • |Forum=no - hides the {{Not a forum}} template (shown by default)

Test cases

  • The basic, generic usage for articles about transgender people. {{MOS-TRANS}} produces:

Template:Not a forum

  • If you wish to specify the preferred gender of the subject, you can add a parameter specifying f (for female) or m (for male). {{MOS-TRANS|m}} produces:

Template:Not a forum

  • If you wish to provide additional topics that may produce heated discussions, you can add a parameter listing such topics. {{MOS-TRANS|f|heroism, or the US military}} produces:

Template:Not a forum