Template:Main/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) No edit summary |
ArrowHead294 (talk | contribs) No edit summary |
||
| Line 6: | Line 6: | ||
For example, if you type | For example, if you type | ||
:<code><nowiki>{{main|</nowiki>Special:Random|Frequently asked questions|l1=Some page|l2=FAQ}}</code> | :<code><nowiki>{{main|</nowiki>Special:Random|Frequently asked questions|12 equal|l1=Some page|l2=FAQ|l3=12edo}}</code> | ||
you will get | you will get | ||
{{main|Special:Random|Frequently asked questions|l1=Some page|l2=FAQ}} | {{main|Special:Random|Frequently asked questions|12edo|l1=Some page|l2=FAQ|l3=12edo}} | ||
See [[wikipedia:Template:Main|Wikipedia's version of this template]] for more details. | See [[wikipedia:Template:Main|Wikipedia's version of this template]] for more details. | ||
Revision as of 17:14, 20 May 2024
- This template invokes the following functions: labelledList from Labelled list hatnote.
Usage
Use unnamed arguments for the page you want to link to. Use named arguments for the displayed text.
For example, if you type
{{main|Special:Random|Frequently asked questions|12 equal|l1=Some page|l2=FAQ|l3=12edo}}
you will get
See Wikipedia's version of this template for more details.
Related templates
See also
- Module:Labelled list hatnote, Module:Hatnote, and Module:Hatnote list – The Lua modules that implement the functionality.
