Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Guild of Archivists
Search
Editing
Template:See also/doc
From Guild of Archivists
Namespaces
Template
Discussion
More
More
Page actions
Read
Edit
History
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:See also}} This template is used to create [[w:WP:Hatnotes|hatnotes]] to point to a small number of other, related, titles at the '''top''' of [[Help:Section|article sections]]. It looks like this: {{see also|Article}} Do not use this template inside the ''"See also" section'' at the end of an article, or for links to other articles or subsections of the same article within regular article text. Where subsections are linked to, [[Template:Section link]] may be suitable instead. Refer to the examples below to see how the template handles link targets containing section links and commas. == Usage == ; Basic usage: {{see also|''page1''|''page2''|''page3''|...}} ; All parameters: {{see also | ''page1'' | ''page2'' | ''page3'' | ... | label 1 = ''label 1'' | label 2 = ''label2'' | label 3 = ''label3'' | ... | l1 = ''label1'' | l2 = ''label2'' | l3 = ''label3'' | ... | selfref = ''yes'' | category = ''no'' }} == Parameters == This template accepts the following parameters: * <code>1</code>, <code>2</code>, <code>3</code>, ... β the pages to link to. At least one page name is required. Categories and files are automatically escaped with the [[w:Help:Colon trick|colon trick]], and links to sections are automatically formatted as ''page Β§ section'', rather than the MediaWiki default of ''page#section''. * <code>label 1</code>, <code>label 2</code>, <code>label 3</code>, ...; or <code>l1</code>, <code>l2</code>, <code>l3</code>, ...; optional labels for each of the pages to link to. * <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 == * <code><nowiki>{{see also|Article}}</nowiki></code> β {{see also|Article}} * <code><nowiki>{{see also|Article#Section}}</nowiki></code> β {{see also|Article#Section}} * <code><nowiki>{{see also|Article#Section|label 1=Custom section label}}</nowiki></code> β {{see also|Article#Section|label 1=Custom section label}} * <code><nowiki>{{see also|Article1|Article2|Article3}}</nowiki></code> β {{see also|Article1|Article2|Article3}} * <code><nowiki>{{see also|Article1|Article,2|Article3}}</nowiki></code> β {{see also|Article1|Article,2|Article3}} * <code><nowiki>{{see also|Article1|l1=Custom label 1|Article2|l2=Custom label 2}}</nowiki></code> β {{see also|Article1|l1=Custom label 1|Article2|l2=Custom label 2}} * <code><nowiki>{{See also|Veni, vidi, vici|Julius Caesar}}</nowiki></code> β {{See also|Veni, vidi, vici|Julius Caesar}} * <code><nowiki>{{See also|Veni, vidi, vici|Julius Caesar#Civil war}}</nowiki></code> β {{See also|Veni, vidi, vici|Julius Caesar#Civil war}} * <code><nowiki>{{See also|Julius Caesar#Civil war|Veni, vidi, vici}}</nowiki></code> β {{See also|Julius Caesar#Civil war|Veni, vidi, vici}} * <code><nowiki>{{See also|Julius Caesar#Civil war|Crossing the Rubicon}}</nowiki></code> β {{See also|Julius Caesar#Civil war|Crossing the Rubicon}} == Errors == If no page names are supplied, the template will output the following message: * {{see also|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>{{see also}}</nowiki></code>). Please use <code><nowiki>{{see also|</nowiki>''page''<nowiki>}}</nowiki></code> instead. # Some parameters were specified, but no page names were included. For example, the template text <code><nowiki>{{see also|selfref=yes}}</nowiki></code> will produce this error. Please use (for example) <code><nowiki>{{see also|</nowiki>''page''<nowiki>|selfref=yes}}</nowiki></code> instead. # A 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>{{see also|1+1=2|2+2=4}}</nowiki></code> will produce this error. To work around this, you can specify the parameter name explicitly by using <code>1=</code>, <code>2</code>, etc., before the page name, like this: <code><nowiki>{{see also|1=1+1=2|2=2+2=4}}</nowiki></code>. # You tried to access [[Module:See also]] directly by using <code><nowiki>{{#invoke:see also|seealso|</nowiki>''text''<nowiki>}}</nowiki></code>. Use of #invoke in this way has been disabled for performance reasons. Please use <code><nowiki>{{see also|</nowiki>''text''<nowiki>}}</nowiki></code> instead. Pages that contain this error message are tracked in [[:Category:Hatnote templates with errors]]. == See also == * {{tl|Category see also}} * {{tl|See}} (redirect to {{tl|Further}}) {{Hatnote templates}} {{Collapse top|TemplateData}} {{TemplateDataHeader}} <templatedata> { "description": "This template creates a hatnote to point to a small number of related pages. It is placed at the top of a section, directly underneath the section heading.", "params": { "1": { "label": "Page 1", "description": "The name of the first page that you want to link to.", "type": "string/line", "required": true }, "2": { "label": "Page 2", "description": "The name of the second page that you want to link to.", "type": "string/line", "required": false }, "3": { "label": "Page 3", "description": "The name of the third page that you want to link to. More pages can be added using the parameters \"4\", \"5\", \"6\", etc.", "type": "string/line", "required": false }, "label 1": { "label": "Label 1", "type": "string/line", "description": "What the first linked article is to be displayed as. ", "aliases": [ "l1" ] }, "label 2": { "label": "Label 2", "type": "string/line", "description": "What the second linked article is to be displayed as.", "aliases": [ "l2" ] }, "selfref": { "type": "string/line", "label": "Self reference", "description": "Set to \"yes\" if the template is a self-reference to Wikipedia that would not make sense on mirrors or forks of the Wikipedia site." }, "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 no page names are specified." }, "label 3": { "aliases": [ "l3" ], "type": "string/line", "label": "Label 3", "description": "What the third linked article is to be displayed as. Other labels can be added by using increasing numbers (starting with \"label 4\" or \"l4\" for page 4) as parameter names." } } } </templatedata> {{Collapse bottom}} <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| <!-- Categories go here and interwikis go in Wikidata. --> [[Category:Wikipedia page-section templates]] [[Category:List templates]] [[Category:Exclude in print]] [[Category:Hatnote templates]] [[Category:Related-topic templates]] [[Category:Cross-reference templates]] }}</includeonly>
Summary:
Please note that all contributions to Guild of Archivists 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
GoArch:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Collapse bottom
(
edit
)
Template:Collapse top
(
edit
)
Template:Documentation subpage
(
edit
)
Template:Hatnote templates
(
edit
)
Template:Hlist
(
edit
)
Template:Lua
(
edit
)
Template:Main other
(
edit
)
Template:Mbox
(
edit
)
Template:Navboxdl
(
edit
)
Template:See also
(
edit
)
Template:TemplateDataHeader
(
edit
)
Template:TemplateData header
(
edit
)
Template:Tl
(
edit
)
Template:Tlx
(
edit
)
Module:Arguments
(
edit
)
Module:Hatnote
(
edit
)
Module:Hatnote list
(
edit
)
Module:List
(
edit
)
Module:Lua banner
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Navbar
(
edit
)
Module:Navboxdl
(
edit
)
Module:No globals
(
edit
)
Module:See also
(
edit
)
Module:TableTools
(
edit
)
Module:Yesno
(
edit
)
Navigation
Navigation
Main Page
Random page
Categories
All pages
Recent changes
Resources
Dictionaries
Reference material
Utilities
Community
Forums
Jalak Game Directory
Projects
Apocrypha
Unexplored Branches
All projects
Contribute
Stubs
Wanted
Cleanup
Dead ends
Image requested
Help
Help
Guide
Policies
Wiki tools
Wiki tools
Special pages
Page values
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs