Difference between revisions of "Template:LangNote"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Marking with role=note) |
SuperHamster (talk | contribs) (Removing indent, will be controlled via CSS) Tags: mobile edit mobile web edit |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <div class="hatnote" role="note">''For the {{{topic|subject}}} whose {{{lang|}}} name is {{{name|{{SUBPAGENAME}}}}}, see [[{{{target|}}}]].{{#if: {{{lang2|}}} | For {{{lang2|}}}, see [[{{{target2|}}}]]. | }}{{#if: {{{lang3|}}} | For {{{lang3|}}}, see [[{{{target3|}}}]]. | }}''</div> | |
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> |
Latest revision as of 02:39, May 7, 2021
For the subject whose name is LangNote, see [[]].
Template documentation (view)
Usage
This template adds a hatnote to an article to list other articles that have the same title in other languages.
For example, Harry goes by Bob in French, so we can use this template on top of the Bob article to redirect French users to Harry.
Parameters
name
(optional)
- The name of the article. Pulls {{SUBPAGENAME}} by default.
topic
(optional)
- The topic of the article (e.g. villager, character, furniture, etc.). Defaults to 'subject'.
lang
- The language you are pointing to.
target
- The target article.
lang2
(optional)
target2
(optional)
lang3
(optional)
target3
(optional)
Example
{{LangNote|name=Olivia|topic=villager|lang=Italian|target=Olive|lang2=German|target2=Deena}}