Template:About/doc: Difference between revisions

From Pluribus Lore Wiki
Jump to navigation Jump to search
*>Quest for Truth
No edit summary
*>Sligocki
Use {{about}} in examples, update to have all examples from {{otheruses templates}} and format
Line 3: Line 3:
{{tl|otheruses4}} is a commonly used [[Wikipedia:Hatnote|hatnote]] on Wikipedia, and so should be placed at the top of an article, linking the reader to articles with similar titles or concepts that they may have been seeking instead.
{{tl|otheruses4}} is a commonly used [[Wikipedia:Hatnote|hatnote]] on Wikipedia, and so should be placed at the top of an article, linking the reader to articles with similar titles or concepts that they may have been seeking instead.


For quicker and more intuitive use, <nowiki>{{</nowiki>'''about'''<nowiki>}}</nowiki> redirects here, and so can be used interchangeably with <nowiki>{{otheruses4}}</nowiki>.
For quicker and more intuitive use, {{tl|about}} redirects here, and so can be used interchangeably with {{tl|otheruses4}}.


For reference, there is information about [[Wikipedia:Hatnote|hatnotes in general]], [[Wikipedia:Hatnote#Examples of proper use|when and how to use them]], a complete [[Wikipedia:Hatnote#Templates|list of the other hatnotes]] available, and [[Wikipedia:Otheruses templates (example usage)|examples of their use]].
For reference, there is information about [[Wikipedia:Hatnote|hatnotes in general]], [[Wikipedia:Hatnote#Examples of proper use|when and how to use them]], a complete [[Wikipedia:Hatnote#Templates|list of the other hatnotes]] available, and [[Wikipedia:Otheruses templates (example usage)|examples of their use]].
Line 12: Line 12:
''Note. When used in main space, the word "page" in the following hat notes is replaced by "article".''
''Note. When used in main space, the word "page" in the following hat notes is replaced by "article".''


* <code><nowiki>{{otheruses4|USE1}}</nowiki></code>
* '''<code><nowiki>{{about|USE1}}</nowiki></code>'''
: {{otheruses4|USE1|other uses|PAGE NAME (disambiguation)}}
{{about|USE1}}
* <code><nowiki>{{otheruses4|USE1|USE2}}</nowiki></code>
* '''<code><nowiki>{{about|USE1|USE2}}</nowiki></code>'''
: {{otheruses4|USE1|USE2|PAGE NAME (disambiguation)}}
{{about|USE1|USE2}}
* <code><nowiki>{{otheruses4|USE1|USE2|PAGE2}}</nowiki></code>
* '''<code><nowiki>{{about|USE1|USE2|PAGE2}}</nowiki></code>'''
: {{otheruses4|USE1|USE2|PAGE2}}
{{about|USE1|USE2|PAGE2}}
* <code><nowiki>{{otheruses4|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}</nowiki></code>
* '''<code><nowiki>{{about|||PAGE2}}</nowiki></code>''' (note two empty parameters)
: {{otheruses4|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
{{about|||PAGE2}}
* '''<code><nowiki>{{about||USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}</nowiki></code>''' (note empty first parameter and does not display: ''This page is about USE1''.)
{{about||USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}  
* '''<code><nowiki>{{about|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}</nowiki></code>'''
{{about|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}


When there as many other uses as in the last example, it would be more appropriate to create a [[Wikipedia:Disambiguation|disambiguation page]].
When there as many other uses as in the last example, it would be more appropriate to create a [[Wikipedia:Disambiguation|disambiguation page]].
Like all templates, it works with or without an initial capital letter; in addition, the word 'otheruses4' can be also replaced by 'about'. For example:
* <code><nowiki>{{about|USE1}}</nowiki></code>
: {{about|USE1|other uses|PAGE NAME (disambiguation)}}


{{Otheruses templates}}
{{Otheruses templates}}


<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude><includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Disambiguation and redirection templates|{{PAGENAME}}]]
[[Category:Disambiguation and redirection templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[ar:قالب:Otheruses4]]
[[ar:قالب:Otheruses4]]

Revision as of 04:50, 6 September 2009

Template:Template doc page viewed directly {{otheruses4}} is a commonly used hatnote on Wikipedia, and so should be placed at the top of an article, linking the reader to articles with similar titles or concepts that they may have been seeking instead.

For quicker and more intuitive use, {{about}} redirects here, and so can be used interchangeably with {{otheruses4}}.

For reference, there is information about hatnotes in general, when and how to use them, a complete list of the other hatnotes available, and examples of their use.

For further information, see the talk page.

Usage

Note. When used in main space, the word "page" in the following hat notes is replaced by "article".

  • {{about|USE1}}

Script error: No such module "about".

  • {{about|USE1|USE2}}

Script error: No such module "about".

  • {{about|USE1|USE2|PAGE2}}

Script error: No such module "about".

  • {{about|||PAGE2}} (note two empty parameters)

Script error: No such module "about".

  • {{about||USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}} (note empty first parameter and does not display: This page is about USE1.)

Script error: No such module "about".

  • {{about|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}

Script error: No such module "about".

When there as many other uses as in the last example, it would be more appropriate to create a disambiguation page.

Template:Otheruses templates