Difference between revisions of "Template:About"

From Science Olympiad Student Center Wiki
Jump to: navigation, search
(Accidentally added <noinclude> to wrong section of contents)
(Started documentation)
Line 25: Line 25:
 
   -->}}<!--
 
   -->}}<!--
 
-->}}}}</i>
 
-->}}}}</i>
 +
 +
<noinclude>
 +
{{TemplateDocStart}}
 +
 +
The '''About template''' creates hatnotes which can be used at the top of articles and sections to direct readers to articles that they may have been wanting to visit instead of the article they were directed to.
 +
 +
=== Usage ===
 +
 +
<code><nowiki>{{About|Use1}}</nowiki></code> {{About|Use1}}
 +
<code><nowiki>{{About|Use1||Article2}</nowiki></code> {{About|Use1||Article2}}
 +
<code><nowiki>{{About|Use1||Article2|and|Article3}}</nowiki></code> {{About|Use1||Article2|and|Article3}}
 +
<code><nowiki>{{About|Use1|Use2|Article2}}</nowiki></code> {{About|Use1|Use2|Article2}}
 +
<code><nowiki>{{About|Use1|Use2|Article2|and|Article3}}</nowiki></code> {{About|Use1|Use2|Article2|and|Article3}}
 +
<code><nowiki>{{About|Use1|Use2|Article2|other uses}}</nowiki></code>{{About|Use1|Use2|Article2|other uses}}
 +
<code><nowiki>{{about|Use1|Use2|Article2|Use3|Article3|Use4|Article4|Use5|Article5}}</nowiki></code>{{about|Use1|Use2|Page2|Use3|Page3|Use4|Page4|Use5|Page5}}
 +
<code><nowiki>{{about|Use1|Use2|Article2|Use3|Article3|other uses}}</nowiki></code> {{about|Use1|Use2|Article2|Use3|Article3|other uses}}
 +
<code><nowiki>{{about|Use1|Use2|Article2|Use3|Article3|other uses|Article4}}</nowiki></code> {{about|Use1|Use2|Article2|Use3|Article3|other uses|Article4}}
 +
<code><nowiki>{{about||Use2|Article2|Use3|Article3|other uses}}</nowiki></code> {{about||Use2|Article2|Use3|Article3|other uses}}
 +
 +
<!-- Not enabled currently
 +
==== Section Hatnotes ====
 +
 +
You can use <code><nowiki>section=yes</nowiki></code> in an <code><nowiki>{{About}}</nowiki></code> reference to change the wording of the template to show that it is being used in a section:
 +
 +
<code><nowiki>{{About|Use1|section=yes}}</nowiki></code> {{About|Use1|section=yes}}
 +
<code><nowiki>{{About|Use1||Article2|section=yes}}</nowiki></code> {{About|Use1||Article2|section=yes}}
 +
<code><nowiki>{{About|Use1|Use2|Article2|section=yes}}</nowiki></code> {{About|Use1|Use2|Article2|section=yes}}
 +
<code><nowiki>{{About|Use1|Use2|Article2|and|Article3|section=yes}}</nowiki></code> {{About|Use1|Use2|Article2|and|Article3|section=yes}}
 +
<code><nowiki>{{About|Use1|Use2|Article2|other uses|section=yes}}</nowiki></code> {{About|Use1|Use2|Article2|other uses|section=yes}}
 +
 +
-->
 +
 +
</noinclude>

Revision as of 02:15, 29 October 2019

👷‍♂️ This template is currently under construction. Please don't use it yet! 👷‍♀️


For other uses, see About (disambiguation).


Template:About - Documentation

The About template creates hatnotes which can be used at the top of articles and sections to direct readers to articles that they may have been wanting to visit instead of the article they were directed to.

Usage

{{About|Use1}}

This template is about Use1. For other uses, see About (disambiguation).

{{About|Use1||Article2}

This template is about Use1. For other uses, see Article2.

{{About|Use1||Article2|and|Article3}}

This template is about Use1. For other uses, see Article2 and Article3.

{{About|Use1|Use2|Article2}}

This template is about Use1. For Use2, see Article2.

{{About|Use1|Use2|Article2|and|Article3}}

This template is about Use1. For Use2, see Article2 and Article3.

{{About|Use1|Use2|Article2|other uses}}

This template is about Use1. For Use2, see Article2. For other uses, see About (disambiguation).

{{about|Use1|Use2|Article2|Use3|Article3|Use4|Article4|Use5|Article5}}

This template is about Use1. For Use2, see Page2. For Use3, see Page3. For Use4, see Page4. For Use5, see Page5.

{{about|Use1|Use2|Article2|Use3|Article3|other uses}}

This template is about Use1. For Use2, see Article2. For Use3, see Article3. For other uses, see About (disambiguation).

{{about|Use1|Use2|Article2|Use3|Article3|other uses|Article4}}

This template is about Use1. For Use2, see Article2. For Use3, see Article3. For other uses, see Article4.

{{about||Use2|Article2|Use3|Article3|other uses}}

For Use2, see Article2. For Use3, see Article3. For other uses, see About (disambiguation).