Template:Has quickstart/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}{{substitute|no}}
The '''Has quickstart''' template adds a message box to inform readers that a page has a quickstart guide. Quickstart guides contain information needed to start composing or playing with a tuning, temperament, or scale.
 
=== Usage ===
=== Usage ===
This template should be placed at the top of the page, without any arguments.
This template should be placed at the top of the page, without any arguments.
Line 5: Line 7:
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>
<pre>{{Has quickstart}}</pre>
 
{{Mbox
{{Mbox
| icon=Icon-Quickstart.png
| icon=Icon-Quickstart.png
Line 11: Line 14:
}}
}}


The default link to the quickstart guide's page is "Quickstart guide for [[mw:help:Magic words#Page names|ROOTPAGENAME]]", where &laquo;ROOTPAGENAME&raquo; 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 {{tl|ROOTPAGENAME}}", where <code>ROOTPAGENAME</code> is a [[mw:Help:Magic words|"magic word"]] that returns 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:
 
<pre>{{Has quickstart|Guide for 5L 2s temperaments}}</pre>


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


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

Latest revision as of 21:46, 25 May 2025

This template should not be substituted.

The Has quickstart template adds a message box to inform readers that a page has a quickstart guide. Quickstart guides contain information needed to start composing or playing with a tuning, temperament, or scale.

Usage

This template should be placed at the top of the page, without any arguments.

For example, on the page 5L 2s, adding the following code produces the message box.

{{Has quickstart}}
This page has a quickstart guide.
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 {{ROOTPAGENAME}}", where ROOTPAGENAME is a "magic word" that returns 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:

{{Has quickstart|Guide for 5L 2s temperaments}}
This page has a quickstart guide.
Information on how to start composing or playing can be found at the page linked above.

See also