Template:Has quickstart/doc: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 5: Line 5:
For example, on the page [[5L 2s]], adding the following code produces the message box.
For example, on the page [[5L 2s]], adding the following code produces the message box.


:<code><nowiki>{{Has quickstart}}</nowiki></code>
: <code>{{((}}Has quickstart{{))}}</code>
{{Mbox
{{Mbox
| icon=Icon-Quickstart.png
| icon=Icon-Quickstart.png
Line 11: Line 11:
}}
}}


The default link to the quickstart guide's page is "Quickstart guide for PAGENAME", where PAGENAME is the name of the page. If a quickstart page's name differs from the default, it should be passed in as an unnamed argument:
The default link to the quickstart guide's page is "Quickstart guide for [[mw:help:Magic words#Page names|&laquo;ROOTPAGENAME&raquo;]]", where ROOTPAGENAME is the name of the page without the namespace or subpages. If a quickstart page's name differs from the default, it should be passed in as an unnamed argument:


:<code><nowiki>{{Has quickstart|Guide for 5L 2s temperaments}}</nowiki></code>
: <code>{{((}}Has quickstart{{!}}Guide for 5L 2s temperaments{{))}}</code>
{{Has quickstart|Guide for 5L 2s temperaments}}
{{{{ROOTPAGENAME}}|Guide for 5L 2s temperaments}}


=== See also ===
=== See also ===
* [[Template:Quickstart]]
* [[Template:Quickstart]]