Template:Has quickstart/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
Un-break examples
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>
{{{{ROOTPAGENAME}} }}
{{Mbox
| icon=Icon-Quickstart.png
| text='''This page has a [[Quickstart guide for 5L 2s|quickstart guide]].'''<br />Information on how to start composing or playing can be found at the page linked above.
}}


The default link to the quickstart guide's page is "Quickstart guide for [[mw:Help:Magic words#Page names|{{((}}ROOTPAGENAME{{))}}]]". If the 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 PAGENAME". If the page's name differs from the default, it should be passed in as an unnamed argument:


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


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