Difference between revisions of "Template:About"

From Science Olympiad Student Center Wiki
Jump to: navigation, search
(Testing section parameter to finish this template up)
m (Comment accidentally had no ending)
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<!-- Thanks Scratch Wiki for this! -->
<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! -->
 
 
:<i>{{#if: {{{1|}}}|<!--
 
:<i>{{#if: {{{1|}}}|<!--
 
   -->This {{#ifeq: {{{section|}}}|yes|section|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|{{#ifeq:{{NAMESPACE}}|{{ns:4}}|Scioly Wiki page|{{#ifeq:{{NAMESPACE}}|{{ns:Help}}|help page|{{lc:{{NAMESPACE}}}}}}}}}}}} is about {{{1}}}.&#32;&#32;}}<!--
 
   -->This {{#ifeq: {{{section|}}}|yes|section|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|{{#ifeq:{{NAMESPACE}}|{{ns:4}}|Scioly Wiki page|{{#ifeq:{{NAMESPACE}}|{{ns:Help}}|help page|{{lc:{{NAMESPACE}}}}}}}}}}}} is about {{{1}}}.&#32;&#32;}}<!--
Line 42: Line 33:
 
<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 42:
 
<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 17:56, 15 February 2020

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


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