Template:Distinguish: Difference between revisions

From The Unofficial Isekai:Slow Life Wiki
Jump to navigation Jump to search
(Created page with "<div class="hatnote" style="font-style: italic; border: 1px solid #ccc; background: #f9f9f9; padding: 0.5em; margin-bottom: 1em;"> {{#if:{{{text|}}} | '''Not to be confused with''' {{{text}}}. | '''Not to be confused with''': [[{{{1}}}]]{{#if:{{{2|}}}|, [[{{{2}}}]]}}{{#if:{{{3|}}}|, [[{{{3}}}]]}}{{#if:{{{4|}}}|, [[{{{4}}}]]}} }} </div> <noinclude> <templatedata> { "params": { "1": { "label": "Page 1", "description": "First page to distinguish from.",...")
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="hatnote" style="font-style: italic; border: 1px solid #ccc; background: #f9f9f9; padding: 0.5em; margin-bottom: 1em;">
<span class="hatnote" style="display: block;">
   {{#if:{{{text|}}}
   {{#if:{{{text|}}}
     | '''Not to be confused with''' {{{text}}}.
     | ''Not to be confused with'' {{{text}}}.
     | '''Not to be confused with''': [[{{{1}}}]]{{#if:{{{2|}}}|, [[{{{2}}}]]}}{{#if:{{{3|}}}|, [[{{{3}}}]]}}{{#if:{{{4|}}}|, [[{{{4}}}]]}}
     | ''Not to be confused with'': [[{{{1}}}]]{{#if:{{{2|}}}|, [[{{{2}}}]]}}{{#if:{{{3|}}}|, [[{{{3}}}]]}}{{#if:{{{4|}}}|, [[{{{4}}}]]}}
   }}
   }}
</div>
</span><noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
Line 53: Line 52:


[[Category:Templates]]
[[Category:Templates]]
[[Category:Templates with parameters]]
</noinclude>
</noinclude>

Latest revision as of 09:09, 30 July 2025

 Not to be confused with: [[{{{1}}}]]

Displays a hatnote suggesting similar or confusingly titled articles.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Page 11

First page to distinguish from.

Page namerequired
Page 22

Second page to distinguish from.

Page nameoptional
Page 33

Third page to distinguish from.

Page nameoptional
Page 44

Fourth page to distinguish from.

Page nameoptional
Custom texttext

Custom distinguish text, used instead of generating links automatically.

Stringoptional

Basic usage

Use this template to point out similarly titled pages.

Basic:

{{Distinguish|Other Page}}

Multiple:

{{Distinguish|Page A|Page B|Page C}}

Custom text:

{{Distinguish|text=Page A (the TV series), not to be confused with Page A (the book)}}

Example

{{Distinguish|Skill Pearl}}
{{Distinguish|Normal Bait|Advanced Bait}}

...will result in:

 Not to be confused with: Skill Pearl

 Not to be confused with: Normal Bait, Advanced Bait