Difference between revisions of "Template:About"

From Science Olympiad Student Center Wiki
Jump to: navigation, search
(Testing section parameter to finish this template up)
(Removed construction header, enabled section hatnotes section, and removed default template message from this page (testing |section=yes worked))
Line 1: Line 1:
<noinclude>
+
<includeonly>
<div style="padding: 5px; border: 1px solid black; text-align: center; background: #ffdead; margin: 20px;">
 
{| style="margin: 1em auto; width: 95%"
 
|-
 
|<span style="font-size: 56px; font-weight: bold;">👷‍♂️</span> ||<span style="font-size: 26px; font-weight: bold;">This template is currently under construction. Please don't use it yet!</span> ||<span style="font-size: 56px; font-weight: bold;">👷‍♀️</span>
 
|-
 
|}
 
</div>
 
</noinclude>
 
 
<!-- Thanks Scratch-Wiki! -->
 
<!-- Thanks Scratch-Wiki! -->
 
:<i>{{#if: {{{1|}}}|<!--
 
:<i>{{#if: {{{1|}}}|<!--
Line 24: Line 16:
 
   -->}}<!--
 
   -->}}<!--
 
-->}}}}</i>
 
-->}}}}</i>
 +
</includeonly>
 
<noinclude>
 
<noinclude>
 
{{TemplateDocStart}}
 
{{TemplateDocStart}}
Line 42: Line 35:
 
<code><nowiki>{{about||Use2|Article2|Use3|Article3|other uses}}</nowiki></code> {{about||Use2|Article2|Use3|Article3|other uses}}
 
<code><nowiki>{{about||Use2|Article2|Use3|Article3|other uses}}</nowiki></code> {{about||Use2|Article2|Use3|Article3|other uses}}
  
<!-- Not enabled currently
 
 
==== Section Hatnotes ====
 
==== Section Hatnotes ====
  
Line 52: Line 44:
 
<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|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}}
 
<code><nowiki>{{About|Use1|Use2|Article2|other uses|section=yes}}</nowiki></code> {{About|Use1|Use2|Article2|other uses|section=yes}}
 
-->
 
  
 
</noinclude>
 
</noinclude>

Revision as of 23:01, 22 November 2019


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).


Section Hatnotes

You can use section=yes in an {{About}} reference to change the wording of the template to show 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||Article2|section=yes}}

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

{{About|Use1|Use2|Article2|section=yes}}

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

{{About|Use1|Use2|Article2|and|Article3|section=yes}}

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

{{About|Use1|Use2|Article2|other uses|section=yes}}

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