Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.

Template:My: Difference between revisions

From WiKirby, your independent source of Kirby knowledge.
Jump to navigationJump to search
(merge change from Special:PermaLink/180568. simplify code by defining the gender magic word as a variable, so that it can be reused without duplicating it. use #ifeq instead of #switch. IP user talk pages can exist, so the output of {{CURRENTLOGGEDUSER}} is used instead of the existence of {{CURRENTUSER}}'s talk page.)
mNo edit summary
Line 4: Line 4:
  |her
  |her
  |{{#if:{{CURRENTLOGGEDUSER}}
  |{{#if:{{CURRENTLOGGEDUSER}}
   |they
   |their
   |the player's
   |the player's
   }}
   }}

Revision as of 11:51, 14 April 2021

the player's

Usage

This template can be used to display a gender-specific possessive adjective (his, her) in an article. If viewed while logged out, or if the user has not set the player's gender in Special:Preferences, the template will display "the player's" instead. Adding the optional cap=1 parameter will capitalise the first letter of the adjective.