Template:Portal description/doc
This is a documentation subpage for Template:Portal description. It may contain usage information, categories and other content that is not part of the original template page. |
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 the article. |
Purpose
[kulemba source]Adds standardized WP:Short description metadata to the portal.
Usage
[kulemba source]Output
[kulemba source]- 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
[kulemba source]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
[kulemba source]To temporarily or permanently turn on inline display of short description content on Wikipedia pages, see Template:Short description/doc#Testing.