Template:Nolink

From Yugipedia
Jump to: navigation, search

Template documentation[view] [edit] [history] [purge]

{{Nolink}} is used together with {{Autolink}} to prevent a given bit of input from being linked.

Usage[edit]

{{Nolink}} should be used in cases where {{Autolink}} is automatically applied to a parameter, but the input should not be linked. If none of the input should be linked, {{Nolink}} should be put at the beginning, before any other content, but if only one item in a list should be unlinked, {{Nolink}} should be put at the end of that item. The item can also be passed to {{Nolink}} as an unnamed parameter.

Code Result
{{Autolink|Main Page}} Main Page
{{Autolink|{{Nolink}}Main Page}} Main Page
{{Autolink|Main Page{{Nolink}}}} Main Page
{{Autolink|
* Main Page
* Dark Magician
* Blue-Eyes White Dragon
}}
{{Autolink|{{Nolink}}
* Main Page
* Dark Magician
* Blue-Eyes White Dragon
}}
  • Main Page
  • Dark Magician
  • Blue-Eyes White Dragon
{{Autolink|
* Main Page
* Dark Magician{{Nolink}}
* Blue-Eyes White Dragon
}}
{{Autolink|
* Main Page
* Dark Magician
* {{Nolink|Blue-Eyes White Dragon}}
}}
{{Autolink|
* Main Page
* Dark Magician
* Blue-Eyes White Dragon
* Foo{{Nolink}}
* Bar{{Nolink}}
* Baz{{Nolink}}
}}

See also[edit]