Difference between revisions of "Template:For/doc"

From Yugipedia
Jump to: navigation, search
(Adding example regarding quotation marks management.)
(update)
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, with the exact message changing according to the number. 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)]]}}
 
|-
 
| <code><nowiki>{{About|the ''[[TCG]]'' and ''[[OCG]]'' card|the anime card|""Yubel"" (anime)}}</nowiki></code>
 
| {{About|the ''[[TCG]]'' and ''[[OCG]]'' card|the anime card|""Yubel"" (anime)}}
 
 
|-
 
|-
 
|}
 
|}
  
 
=== See also ===
 
=== See also ===
* {{t|Redirect}}
+
* {{tl|About}}
 +
* {{tl|Redirect}}
 +
* {{tl|Distinguish}}
  
 
<includeonly>
 
<includeonly>

Revision as of 09:39, 28 June 2018

Usage

{{For}} is used to add disambiguating hatnotes to the tops of articles. It takes at least two unnamed parameters, with the exact message changing according to the number. 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