Difference between revisions of "Template:For/doc"

From Yugipedia
Jump to: navigation, search
(see also, sortkey)
(more tweak)
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
This template is used to add disambiguating hatnotes to the tops of articles. It takes two or three unnamed parameters, with the exact message changing according to the number. {{tl|About}} redirects to this template, and can be used instead of {{tl|For}} to make more sense in-context
+
{{tl|For}} is used to add disambiguating hatnotes to the tops of articles. It takes at least two unnamed parameters, where the first is a brief description of the target article and the second is the article's page name, with any formatting as needed (anything that is supported by {{tl|Autolink}} may be used). Additional pointers can be added with more pairs of unnamed parameters, up to a maximum of 6 (12 parameters).
  
 
{| class="wikitable" style="width: auto; margin: auto;"
 
{| class="wikitable" style="width: auto; margin: auto;"
Line 10: Line 10:
 
! Result
 
! Result
 
|-
 
|-
| <code><nowiki>{{For|the character|[[Yubel (character)]]}}</nowiki></code>
+
| <code><nowiki>{{For|the character|Yubel (character)}}</nowiki></code>
| {{For|the character|[[Yubel (character)]]}}
+
| {{For|the character|Yubel (character)}}
 
|-
 
|-
| <code><nowiki>{{For|the card|the character|[[Yubel (character)]]}}</nowiki></code>
+
| <code><nowiki>{{For|the character|Yubel (character)|the anime card|""Yubel"" (anime)}}</nowiki></code>
| {{For|the card|the character|[[Yubel (character)]]}}
+
| {{For|the character|Yubel (character)|the anime card|""Yubel"" (anime)}}
|-
 
| <code><nowiki>{{About|the card|the character|[[Yubel (character)]]}}</nowiki></code>
 
| {{About|the card|the character|[[Yubel (character)]]}}
 
 
|-
 
|-
 
|}
 
|}
  
 
=== See also ===
 
=== See also ===
* {{t|Redirect}}
+
* {{tl|About}}
 +
* {{tl|Redirect}}
 +
* {{tl|Distinguish}}
  
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES HERE, THANKS -->
 
<!-- CATEGORIES HERE, THANKS -->
[[Category:Templates|{{PAGENAME}}]]
+
[[Category:Hatnote templates]]
 
 
 
</includeonly>
 
</includeonly>

Revision as of 09:42, 28 June 2018

Usage

{{For}} is used to add disambiguating hatnotes to the tops of articles. It takes at least two unnamed parameters, where the first is a brief description of the target article and the second is the article's page name, with any formatting as needed (anything that is supported by {{Autolink}} may be used). Additional pointers can be added with more pairs of unnamed parameters, up to a maximum of 6 (12 parameters).

Code Result
{{For|the character|Yubel (character)}}
{{For|the character|Yubel (character)|the anime card|""Yubel"" (anime)}}

See also