Template:About: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{hatnote|{{#if: {{{1|}}}
{{hatnote|{{#if: {{{3|}}}
|This page is about {{{1}}}. For {{{2}}}, see [[{{{3}}}]].
|This page is about {{{1}}}. For {{{2}}}, see [[{{{3}}}]].
|For {{{1}}}, see [[{{{2}}}]].}}}}<noinclude>{{documentation}}[[Category:Hatnote templates]]</noinclude>
|For {{{1}}}, see [[{{{2}}}]].}}}}<noinclude>{{documentation}}[[Category:Hatnote templates]]</noinclude>

Latest revision as of 04:30, 23 September 2021

Documentation

This is a hatnote that can link the reader to other articles with similar titles or concepts that they may have been seeking instead.

{{Distinguish}} serves a similar purpose, but it displays the text "Not to be confused with <1>" instead.

Usage[edit source]

{{about|topic of current page|topic of other page|name of other page}}

For example, {{about|the user|the bot|Kojimabot}} will output

The first parameter can be omitted, for example {{about|the bot|Kojimabot}}, in which case the first sentence will not be displayed:

TemplateData[edit source]

Hatnote that outputs "This page is about <1>. For <2>, see <3>."

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Topic of current page1

What this page is about.

Example
the user
Stringsuggested
Topic of other page2

What the other page you are linking to is about.

Example
the bot
Stringrequired
Name of other page3

The name of the page you are linking to.

Example
Kojimabot
Page namerequired