Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Broader/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} {{Lua|Module:Broader}} This template is used to make [[Wikipedia:Summary style|summary style]] explicit. It looks like this: {{Broader|Article}} It is used in sections for which there is also a separate article on the subject. It should be used when there should be a link to another article that discusses a subject more broadly, but is not a main article (which should use {{tl|Main}}), a narrower topic (which should probably use {{tl|Further}}), or at the same level of focus (which should probably use {{tl|See also}}). == Usage == {{see|WP:SUMMARYHATNOTE}} ; Basic usage: {{tlc|Broader|''article''}} ; With a topic: {{tlc|Broader|''article''|topic{{=}}''topic''}} ; With more than one target page: {{tlc|Broader|''article1''|''article2''|''article3''|topic{{=}}''topic''}} ; All parameters: {{tlc|Broader|''article''|topic{{=}}''topic''|selfref{{=}}''yes''|category{{=}}''no''}} == Parameters == This template accepts the following parameters: * <code>1</code> - the page to link to (required). Categories and files are automatically escaped with the [[wikipedia:Help:Colon trick|colon trick]], and links to sections are automatically formatted as ''page Β§ section'', rather than the MediaWiki default of ''page#section''. * <code>2</code> (and greater numbers) - any additional pages to link to. These links are also automatically formatted as with the first parameter. * <code>topic</code> - the name of the topic. If this is not specified, the text "this topic" is used. * <code>selfref</code> - if set to "yes", "y", "true" or "1", adds the CSS class "selfref". This is used to denote self-references to Wikipedia. See [[Template:Self ref]] for more information. * <code>category</code> - if set to "no", "n", "false", or "0", suppresses the error tracking category ([[:Category:Hatnote templates with errors]]). This only has an effect if the first positional parameter (the page to link to) is omitted. == Examples == * {{tlc|Broader|Article}} → {{Broader|Article}} * {{tlc|Broader|Article|topic{{=}}some topic}} → {{Broader|Article|topic=some topic}} == Errors == If no page name is supplied, the template will output the following message: * {{Broader|category=no}} If you see this error message, it is for one of four reasons: # No parameters were specified (the template code was <code><nowiki>{{Broader}}</nowiki></code>). Please use <code><nowiki>{{Broader|</nowiki>''page''<nowiki>}}</nowiki></code> instead. # Some parameters were specified, but the page name wasn't included. For example, the template text <code><nowiki>{{Broader|selfref=yes}}</nowiki></code> will produce this error. Please use (for example) <code><nowiki>{{Broader|</nowiki>''page''<nowiki>|selfref=yes}}</nowiki></code> instead. # The page name was specified, but it contains an equals sign ("="). The equals sign has a special meaning in template code, and because of this it cannot be used in template parameters that do not specify a parameter name. For example, the template code <code><nowiki>{{Broader|2+2=4}}</nowiki></code> will produce this error. To work around this, you can specify the parameter name explictly by using <code>1=</code> before the page name (like this: <code><nowiki>{{Broader|1=2+2=4}}</nowiki></code>) or you can disable the equals being interpreted as delimiting a parameter name by [[Template:=|surrounding the equals with double braces]] (like this: <code><nowiki>{{Broader|2+2{{=}}4}}</nowiki></code>). If you see this error message and are unsure of what to do, please post a message on [[wikipedia:WP:HD|the help desk]], and someone should be able to help you. Pages that contain this error message are tracked in [[:Category:Hatnote templates with errors]]. == See also == *{{tl|Further}} *{{tl|Redirect}} {{Hatnote templates}} {{Collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} {{TemplateData header|noheader=1}} <templatedata> { "description": "This template is used to show readers where to find broader coverage related to a particular topic. It is usually placed at the top of a section or article.", "params": { "1": { "label": "Article", "description": "The name of the article that you want to link to", "type": "wiki-page-name", "required": true }, "2": { "label": "Article 2", "description": "The name of an additional article that you want to link to", "type": "wiki-page-name", "required": false }, "3": { "label": "Article 3", "description": "The name of an additional article that you want to link to", "type": "wiki-page-name", "required": false }, "4": { "label": "Article 4", "description": "The name of an additional article that you want to link to", "type": "wiki-page-name", "required": false }, "topic": { "label": "Topic", "description": "A brief description of the topic related to which a broader coverage will be provided. If left blank, the template will read 'For broader coverage related to this topic...'", "type": "string", "required": false }, "selfref": { "type": "string/line", "label": "Self reference", "description": "Set to \"yes\" if the hatnote text is a self-reference to Wikipedia that would not make sense on mirrors or forks of the Wikipedia site. (E.g. \"For the Wikipedia Sandbox, see [[wikipedia:WP:SAND]]\".)" }, "category": { "label": "Category", "description": "Set to \"no\", \"n\", \"false\", or \"0\" to suppresses the error tracking category (Category:Hatnote templates with errors). This only has an effect if the hatnote text is omitted." } } } </templatedata> {{Collapse bottom}} <includeonly>{{Sandbox other|| <!-- Categories go here and interwikis go in Wikidata. --> [[Category:Cross-reference templates|{{PAGENAME}}]] [[Category:Wikipedia page-section templates|{{PAGENAME}}]] [[Category:Hatnote templates]] }}</includeonly>
Summary:
Please note that all contributions to Red Letter Media Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RLMWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Broader
(
edit
)
Template:Collapse bottom
(
edit
)
Template:Collapse top
(
edit
)
Template:Dir
(
edit
)
Template:Documentation subpage
(
edit
)
Template:Further
(
edit
)
Template:Hatnote templates
(
edit
)
Template:Hlist/styles.css
(
edit
)
Template:Icon
(
edit
)
Template:Lua
(
edit
)
Template:Main other
(
edit
)
Template:Mbox
(
edit
)
Template:Mbox/styles.css
(
edit
)
Template:Navbox
(
edit
)
Template:Nowrap
(
edit
)
Template:Sandbox other
(
edit
)
Template:See
(
edit
)
Template:Strong
(
edit
)
Template:TemplateData header
(
edit
)
Template:Template link
(
edit
)
Template:Template link code
(
edit
)
Template:Template other
(
edit
)
Template:Template parameter usage
(
edit
)
Template:Terminate sentence
(
edit
)
Template:Tl
(
edit
)
Template:Tlc
(
edit
)
Template:Yesno
(
edit
)
Template:Yesno-no
(
edit
)
Module:Arguments
(
edit
)
Module:Broader
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:Format link
(
edit
)
Module:Hatnote
(
edit
)
Module:Hatnote/styles.css
(
edit
)
Module:Hatnote list
(
edit
)
Module:Icon
(
edit
)
Module:Icon/data
(
edit
)
Module:Labelled list hatnote
(
edit
)
Module:List
(
edit
)
Module:Lua banner
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Navbar
(
edit
)
Module:Navbar/configuration
(
edit
)
Module:Navbar/styles.css
(
edit
)
Module:Navbox
(
edit
)
Module:Navbox/configuration
(
edit
)
Module:Navbox/styles.css
(
edit
)
Module:String
(
edit
)
Module:TableTools
(
edit
)
Module:Template link general
(
edit
)
Module:Text
(
edit
)
Module:Yesno
(
edit
)
Toggle limited content width