Template:Author

From Wikisource
Jump to: navigation, search
{{{firstname}}} {{{lastname}}}
[edit] [purge] Documentation icon Template documentation

This template can be preloaded via the Gadgets, alternatively, one can preload Template:Author/preload.

Contents

Usage

{{author
 | firstname    = 
 | lastname     = 
 | last_initial = 
 | birthyear    = 
 | deathyear    = 
 | description  = 
 | image        = 
 | wikipedia    = 
 | wikiquote    = 
 | commons      = 
 | commonscat   = 
 | defaultsort  =
}}

This template is meant to be used on author pages. Fill in any relevant information, and leave unknown or inapplicable parameters empty. Please don't remove or reorder parameters, as this makes reuse and automated maintenance more difficult.


Parameters

(The usage example below may help understand these.)

  • Normal parameters
    • {{{firstname}}}, {{{lastname}}}: The first and family name of the author.

      If the name order comes from a tradition where the family name typically precedes the given name, please enter the name as follows, including the admonitory comment text:

      |firstname = Ming
      |lastname = Xing
      |invert_names = yes

    • {{{last_initial}}}: The initial two letters of the family name.
    • {{{birthyear}}}, {{{deathyear}}}: The birth and death years in numerical format (#BCE for dates before year 1). Do not use text like "circa" or "c.".
      Enter "?" for an author who has no publicly-known birth date, and leave blank if you simply don't have this information.
      Enter "?" for an author who has no publicly-known death date, and leave blank if you simply don't have this information, or if they are still alive.
    • {{{description}}}: A brief description of author's works, and personal history; usable for specific notes.
    • {{{image}}}: The name of the image on Wikisource or Wikicommons, excluding the 'image:' or 'file:' prefixes (Filename.ext).
  • Internal links (optional - use whichever are appropriate)
    • {{{portal}}}: slash-separated list of related portals. e.g., World History/Greece
    • {{{related_author}}}: slash-separated list of related authors. e.g. William Shakespeare/Francis Bacon
  • Interwiki links (optional - use whichever are appropriate)
    • {{{wikipedia}}}, {{{commons}}}, {{{commonscat}}}, {{{wikiquote}}}, {{{wikinews}}}, {{{wiktionary}}}, {{{wikibooks}}}, {{{wikiversity}}}, {{{wikispecies}}}, {{{meta}}}
  • Overrides (for exceptions)
    • {{{defaultsort}}}: Override the category sorting, which is normally "{{{lastname}}}, {{{firstname}}}".
    • {{{dates}}}: Override the birth and death year. {{{birthyear}}} and {{{deathyear}}} may still be supplied, and will be used for categorisation.
    • {{{image_caption}}}: Override the default firstname lastname.
    • {{{upright}}}: upright = yes to the image configuration applies a 0.6 scaling factor for long images

Note: With the exception of description, none of the parameters should be wikilinked (wrapped in [[ ]]) as the requisite fields are appropriately designed to do such linking. Links can be used within the descriptive text by traditional or wikilink methodologies.

Usage example

{{author
 | firstname    = Booker T.
 | lastname     = Washington
 | last_initial = Wa
 | birthyear    = 1856
 | deathyear    = 1915
 | description  = (Description here.)
 | image        = BookerTWashington-Cheynes.LOC.jpg
 | wikipedia    = Booker T. Washington
 | wikiquote    = Booker T. Washington
 | commons      = 
 | commonscat   = 
}}
Booker T. Washington
(1856–1915)
Political leader, educator and author.
Booker T. Washington


See also

  • {{author subpage}} for subpages generated for authors
  • {{header}} for template header used in main namespace
  • {{process header}} for template header used in Wikisource: namespace
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages