Teimpléad:Féach freisin
| Úsáidtear an teimpléad seo in MediaWiki:wantedpages-summary. Is féidir le heagarthóireacht a dhéantar leis athruithe láithreacha a dhéanamh le comhéadan na Vicipéide. Ba cheart aon athruithe a thriail ar fholeathanaigh /bosca gainimh nó /testcases an Teimpléad:Féach freisin, nó ar do fholeathanach úsáideora féin chun cur isteach ollmhór a sheachaint. Is féidir na hathruithe a tástáladh a chur leis an leathanach seo in aon bhabhta eagarthóireachta amháin. Le do thoil, pléigh aon athruithe ar an leathanach plé sula gcuirtear na gníomhartha i bhfeidhm. |
This template is used to create Teimpléad:Strong at the Teimpléad:Strong (excluding the lead). It looks like this:
Do not use this template on top of a page, where hatnotes are for disambiguation and not for related topics (according to Teimpléad:Section link). Do not use this template inside the "Féach freisin" 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. For use on category pages, the corresponding template is Template:Category see also.
Refer to the examples below to see how the template handles link targets containing section links and commas.
Usage
[athraigh foinse]- Basic usage
{{Féach freisin|page1|page2|page3|...}}
- All parameters
{{Féach freisin|page1|page2|page3| ...
|label 1 = label 1|label 2 = label2|label 3 = label3| ...
|l1 = label1|l2 = label2|l3 = label3| ...
|selfref = yes|category = no}}
Parameters
[athraigh foinse]This template accepts the following parameters:
|1=,|2=,|3=, ... – the pages to link to. At least one page name is required. Categories and files are automatically escaped with the colon trick, and links to sections are automatically formatted as page § section, rather than the MediaWiki default of page#section.|label 1=,|label 2=,|label 3=, ...; or|l1=,|l2=,|l3=, ...; optional labels for each of the pages to link to.|selfref=– if set to Teimpléad:Pval, Teimpléad:Pval, Teimpléad:Pval, or Teimpléad:Pval, adds the CSS classselfref. This is used to denote self-references to Wikipedia. See Template:Selfref for more information.|category=– if set to Teimpléad:Pval, Teimpléad:Pval, Teimpléad:Pval, or Teimpléad:Pval, 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.|ifexists=- if set to Teimpléad:Pval, forgo the existence check for pages. Otherwise expensive parser function calls (theoretically 1, but empirically 2) are used to check for each target's existence, omitting them if nonexistent.
Examples
[athraigh foinse]Teimpléad:Nowiki template demo Teimpléad:Nowiki template demo Teimpléad:Nowiki template demo Teimpléad:Nowiki template demo Teimpléad:Nowiki template demo Teimpléad:Nowiki template demo Teimpléad:Nowiki template demo Teimpléad:Nowiki template demo Teimpléad:Nowiki template demo
Errors
[athraigh foinse]If no page names are supplied, the template outputs the following message with the (help) wikilink pointing to the "Errors" section of this page:
- Error: no page names specified (help).
If you see this error message, it is for one of three reasons:
- No parameters were specified (the template code was
{{Féach freisin}}with no pipe character nor page to link to). Please use{{Féach freisin|page}}instead. - Some parameters were specified, but no page names were included. For example, the template text
{{Féach freisin|selfref=yes}}will produce this error. Please use (for example){{Féach freisin|page|selfref=yes}}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
{{Féach freisin|1+1=2|2+2=4}}will produce this error. To work around this, you can specify the parameter name explicitly by using1=,2, etc., before the page name, like this:{{Féach freisin|1=1+1=2|2=2+2=4}}.
If you see this error message and are unsure of what to do, please post a message on the help desk (WP:HD), and someone should be able to help you.
To see a list of wikilinks to articles that contain this error message, see the maintenance category: Category:Hatnote templates with errors.
TemplateData
[athraigh foinse]TemplateData documentation used by VisualEditor and other tools | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See a monthly parameter usage report for Template:Féach freisin in articles based on its TemplateData.
TemplateData for Féach freisin 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.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Interwiki links
[athraigh foinse]To link to articles on foreign language Wikipedias, see Template:Further#Interwiki links
See also
[athraigh foinse]- {{Broader}}
- {{Category see also}}
- {{For}}
- {{For introduction}}
- {{For outline}}
- {{For timeline}}
- {{Further}}
- {{Further if exists}}
- {{Further interlanguage link}}
- {{Further-text}} (for custom text)
- {{Hatnote}}
- {{Main}}
- {{Main if exists}}
- {{Main list}}
- {{See also-text}} (for custom text)
- {{Template see also}}