Template:Has quickstart/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
m Do not overcomplicate
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>{{((}}Has quickstart{{))}}</code>
: <code><nowiki>{{Has quickstart}}</nowiki></code>
{{Mbox
{{Mbox
| icon=Icon-Quickstart.png
| icon=Icon-Quickstart.png
Line 13: Line 13:
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:
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>{{((}}Has quickstart{{!}}Guide for 5L 2s temperaments{{))}}</code>
: <code><nowiki>{{Has quickstart|Guide for 5L 2s temperaments}}</nowiki></code>
{{{{ROOTPAGENAME}}|Guide for 5L 2s temperaments}}
{{{{ROOTPAGENAME}}|Guide for 5L 2s temperaments}}


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