• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.55
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Portal description

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of article.

Contents

  • 1 Purpose
  • 2 Usage
    • 2.1 Output
    • 2.2 Parameter
  • 3 Viewing short descriptions
  • 4 See also

Purpose

Adds standardized WP:Short description metadata to the portal.

Usage

{{Portal description}}

Output

Code this will output:
{{Short description|Wikipedia portal for content related to {{PAGENAME}}}}
Resulting description:
Wikipedia's portal for exploring content related to Portal title

Parameter

The parameter |topic= or |1= can be used to override the default topic display, which is the base pagename. This is primarily to disambiguate or clarity; while our portal names are as concise as we can make them while still being recognizable, this is not always ideal, descriptively.

Example:
Portal:English would get a default description of "Wikipedia portal for content related to English", which might be confusing to some readers (English culture and people? English history?).
Code:
{{Portal description|the English language}}
     or
{{Portal description}}

Do not add a separate {{Short description}} template to the portal in attempt to override the default output of this template; use this template's parameter instead, or the page will have two conflicting short descriptions. If a different style of short description is necessary, replace {{Portal description}} with {{Short description}}, in which the full short description is required as the parameter.

Viewing short descriptions

To temporarily or permanently turn on inline display of short description content on Wikipedia pages, see Template:Short description/doc#Testing.

See also

  • Wikipedia:Short description
  • Template:Short description
  • v
  • t
  • e
Portal templates
Visual overview of template usage
Layout and formatting
  • {{Box portal skeleton}}
  • {{Box-header}}
    • color palettes
    • plain
    • round
    • square
    • watch
  • {{Box-header colour}}1
  • {{Box-footer}}
  • {{Flex columns}}
  • {{Plain navboxes}}
Portal.svg
Content transclusion
  • {{Transclude lead excerpt}}2
  • {{Transclude linked excerpt}}2
  • {{Transclude list item excerpt}}2
  • {{Transclude random excerpt}}2
  • {{Transclude selected excerpt}}2
  • {{Excerpt}}
  • {{Transclude DYK}}9
  • {{Transclude selected current events}}3
  • {{Transclude selected recent additions}}4
Content slideshows
  • {{Random slideshow}}5
  • {{Transclude files as random slideshow}}5
  • {{Transclude excerpts as random slideshow}}6
  • {{Transclude linked excerpts as random slideshow}}6
  • {{Transclude list item excerpts as random slideshow}}6
Content randomisation
  • {{Random portal component}}7
  • {{Random quotation}}
  • {{Random subpage}}
General
  • {{Portals}}
  • {{Portals browsebar}}
  • {{Portal description}}
  • {{Portal information sidebar}}
  • {{Portal navbar no header2}}
  • {{Purge link portals}}
  • {{Wikimedia for portals}}
Linking templates
  • {{Portal}}
  • {{Portal bar}}
  • {{Portal-inline}}11
  • {{Pbox}}
  • {{Related portals}}
  • {{Related portals2}}
Talk pages / Maintenance
  • {{Portal talk}}
  • {{Portal maintenance status}}8
  • {{Portal suggestions}}
  • {{Portal toolbox}}
  • {{WikiProject Portals}}8
Images
  • {{Portal dynamic image}}
  • {{Portal image banner}}10
  • {{Portal pictures}}12
  • {{Portal POTD}}
Modules
  • 1 Module:Box-header
  • 2 Module:Excerpt/portals
  • 3 Module:Selected current events
  • 4 Module:Selected recent additions
  • 5 Module:Random slideshow
  • 6 Module:Excerpt slideshow
  • 7 Module:Random portal component
  • 8 Module:Portal maintenance status
  • 9 Module:Transclude DYK
  • 10 Module:Portal image banner
  • 11 Module:Portal-inline
  • 12 Module:Portal pictures
Usage
  • Wikipedia:Portal
  • Wikipedia:WikiProject Portals
For more information, see: Category:Template-Class Portal pages and Category:Wikipedia Portal templates
The above documentation is transcluded from Template:Portal description/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Portal_description&oldid=27133"
Category:
  • Templates that generate short descriptions
Last edited on 25 March 2021, at 21:31

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 25 March 2021, at 21:31.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop