Template:About: Difference between revisions

From Lojban
Jump to navigation Jump to search
m (Gleki moved page File:lo cmalu nolraitru 26d.jpg to File:lo le cmalu noltru 26d.jpg without leaving a redirect: Text replace - "cmalu nolraitru" to "le cmalu noltru")
m (1 revision)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Hatnote|<!--
-->{{#if: {{{1|}}}|<!--
  -->This {{#if:{{{section|}}}|section|{{namespace detect|main=article|category=category|other=page}}}} is about {{{1}}}.&#32;&#32;}}<!--
-->For {{#if:{{{2|}}}|{{{2}}}|other uses}}, see {{#if:{{{3|}}}|[[{{{3}}}]]{{#ifeq:{{{4|}}}|and|&#32;and {{#if:{{{5|}}}|[[{{{5}}}]]|[[{{PAGENAME}} (disambiguation)]]}}}}|[[{{PAGENAME}} (disambiguation)]]}}.<!--
-->{{#if:{{{2|}}}|{{#if:{{{4|}}}|<!--
  -->{{#ifeq:{{{4|}}}|and||<!-- "and" is a special word, don't output "For and, ..."
    -->&#32;&#32;For {{#ifeq:{{{4}}}|1|other uses|{{{4}}}}}, see {{#if:{{{5|}}}|[[{{{5}}}]]{{#ifeq:{{{6|}}}|and|&#32;and {{#if:{{{7|}}}|[[{{{7}}}]]|[[{{PAGENAME}} (disambiguation)]]}}}}|[[{{PAGENAME}} (disambiguation)]]}}.}}<!--
  -->{{#if:{{{6|}}}|<!--
    -->{{#ifeq:{{{6|}}}|and||<!--
      -->&#32;&#32;For {{#ifeq:{{{6}}}|1|other uses|{{{6}}}}}, see {{#if:{{{7|}}}|[[{{{7}}}]]{{#ifeq:{{{8|}}}|and|&#32;and {{#if:{{{9|}}}|[[{{{9}}}]]|[[{{PAGENAME}} (disambiguation)]]}}}}|[[{{PAGENAME}} (disambiguation)]]}}.}}<!--
    -->{{#if:{{{8|}}}|<!--
      -->{{#ifeq:{{{8|}}}|and||<!--
        -->&#32;&#32;For {{#ifeq:{{{8}}}|1|other uses|{{{8}}}}}, see {{#if:{{{9|}}}|[[{{{9}}}]]|[[{{PAGENAME}} (disambiguation)]]}}.}}<!--
    -->}}<!--
  -->}}<!--
-->}}}}}}<!--
-->{{#if:{{{_nocat|}}}||{{#if:{{{1|}}}{{{2|}}}||{{#if:{{{3|}}}|[[Category:Hatnote templates using unusual parameters|A{{PAGENAME}}]]}}}}{{#ifeq:{{str left|{{{1}}}|3}}|is |[[Category:Hatnote templates using unusual parameters|B{{PAGENAME}}]]}}}}<noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 07:45, 26 June 2014

For other uses, see About (disambiguation).
Documentation icon Template documentation[view] [edit] [history] [purge]

{{About}} is a commonly used hatnote template on Wikipedia, and should be placed at the top of an article, linking the reader to other articles with similar titles or concepts that they may have been seeking instead. The template has several formats, including:

  • {{About|USE1}}
    This page is about USE1. For other uses, see About (disambiguation).
  • {{About|USE1||PAGE2}}
    This page is about USE1. For other uses, see PAGE2.
  • {{About|USE1|USE2|PAGE2}}
    This page is about USE1. For USE2, see PAGE2.
  • {{About|USE1|USE2|PAGE2|and|PAGE3}}
    This page is about USE1. For USE2, see PAGE2 and PAGE3.

Alternately, a section=yes parameter can be added to the {{About}} template for use at the top of a section. When using this parameter, the wording in the template changes to specify that it is being used in a section:

  • {{About|USE1|section=yes}}
    This section is about USE1. For other uses, see About (disambiguation).
  • {{About|USE1|PAGE2|section=yes}}
    This section is about USE1. For other uses, see PAGE2.
  • {{About|USE1|USE2|PAGE2|section=yes}}
    This section is about USE1. For USE2, see PAGE2.
  • {{About|USE1|USE2|PAGE2|and|PAGE3|section=yes}}
    This section is about USE1. For USE2, see PAGE2 and PAGE3.

For more options, find "{{About}}" in the text below.

For reference, see Wikipedia:hatnotes and documentation below.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

About

<templatedata> { "description": "This template is a hatnote in the format \"This page is about … For other uses …\".", "params": { "1": { "label": "Page description", "type": "string", "required": true, "description": "What the page this template is placed on is about (\"This page is about …\")" }, "2": { "label": "Other page 1 description", "type": "string", "description": "What the first other page is about. If unused or blank, defaults to \"For other uses\"." }, "3": { "label": "Other page 1 title", "type": "string", "description": "The title of the first other page. If unused, defaults to \"[page title] (disambiguation)\"." }, "4": { "label": "Other page 2 description", "type": "string", "description": "What the second other page is about. If unused or blank, defaults to \"For other uses\"." }, "5": { "label": "Other page 2 title", "type": "string", "description": "The title of the second other page. If unused, defaults to \"[page title] (disambiguation)\". To add more other pages, continue with this alternating pattern using increasing numbers, starting with 6 for the next page description." } } } </templatedata>