Template:For/doc: Difference between revisions

Jump to navigation Jump to search
Create lead section by moving description out of § Usage. Reword "Yields".
(Created page with "{{for|the template to create a for loop|Template:For loop}} {{documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{high-use| 149560 }} {{Lua|Module:For}} == Usage == This template yields a hatnote similar to {{tl|Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages. It accepts one or more parameters (zero is not allowed). === With one parameter (rare) === The first parameter sets...")
 
(Create lead section by moving description out of § Usage. Reword "Yields".)
Line 5: Line 5:
{{high-use| 149560 }}
{{high-use| 149560 }}
{{Lua|Module:For}}
{{Lua|Module:For}}
This template produces a [[WP:Hatnote|hatnote]] similar to {{tl|Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages.


== Usage ==
== Usage ==
This template yields a [[WP:Hatnote|hatnote]] similar to {{tl|Other uses}}, but allowing more flexible text with links to multiple articles or disambiguation pages. It accepts one or more parameters (zero is not allowed).
It accepts one or more parameters (zero is not allowed).


=== With one parameter (rare) ===
=== With one parameter (rare) ===
Line 76: Line 78:
"selfref": {
"selfref": {
"label": "Is self-reference?",
"label": "Is self-reference?",
"description": "Set to yes to make this hatnote invisible on e.g. printed versions, for [[WP:SELFREF]]s",
"description": "Set to yes to make this hatnote invisible on e.g. printed versions.",
"type": "boolean",
"type": "boolean",
"default": "no",
"default": "no",
Anonymous user

Navigation menu