Template:Quickstart: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 3: Line 3:
|text='''This is a [[:Category:Quickstart guides|quickstart guide]]{{#if: {{{1|}}}|{{#ifeq: {{{1|}}}|nopage|. No corresponding article currently exists for this guide.|&#32;for [[{{{1|}}}]].}}|&#46;}}'''<br>Information on how to start composing or playing can be found here.
|text='''This is a [[:Category:Quickstart guides|quickstart guide]]{{#if: {{{1|}}}|{{#ifeq: {{{1|}}}|nopage|. No corresponding article currently exists for this guide.|&#32;for [[{{{1|}}}]].}}|&#46;}}'''<br>Information on how to start composing or playing can be found here.
}}
}}
[[Category:Quickstart guides]]</includeonly>
[[Category:Quickstart guides]]</includeonly><noinclude>
The '''Quickstart''' template adds a message box to inform readers that a page is a quickstart guide. Quickstart guides contain information needed to start composing or playing with a tuning, temperament, or scale. Pages with this template are placed in [[:Category:Quickstart guides]].
==Usage==
This template should be placed at the top of the page, with a single unnamed argument that indicates the corresponding article.
 
For example, on the page [[5L 2s]], adding the following code produces the message box:
: <code><nowiki>{{Quickstart|5L 2s}}</nowiki></code>
{{Mbox
|icon=Icon-Quickstart.png
|text='''This is a [[:Category:Quickstart guides|quickstart guide]] for [[5L 2s]].'''<br>Information on how to start composing or playing can be found here.
}}
If a page is not provided, then the following message box is produced:
: <code><nowiki>{{Quickstart}}</nowiki></code>
{{Mbox
|icon=Icon-Quickstart.png
|text='''This is a [[:Category:Quickstart guides|quickstart guide]]. No corresponding article currently exists for this guide.'''<br>Information on how to start composing or playing can be found here.
}}
If a quickstart guide is not meant to have a corresponding article, then passing in <code>nopage</code> produces the following:
: <code><nowiki>{{Quickstart|nopage}}</nowiki></code>
{{Mbox
|icon=Icon-Quickstart.png
|text='''This is a [[:Category:Quickstart guides|quickstart guide]].'''<br>Information on how to start composing or playing can be found here.
}}
== See also ==
* [[Template:Has quickstart]]
* [[Template:Beginner]]
 
[[Category: Message boxes]]
</noinclude>

Revision as of 00:18, 21 May 2024

The Quickstart template adds a message box to inform readers that a page is a quickstart guide. Quickstart guides contain information needed to start composing or playing with a tuning, temperament, or scale. Pages with this template are placed in Category:Quickstart guides.

Usage

This template should be placed at the top of the page, with a single unnamed argument that indicates the corresponding article.

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

{{Quickstart|5L 2s}}
This is a quickstart guide for 5L 2s.
Information on how to start composing or playing can be found here.

If a page is not provided, then the following message box is produced:

{{Quickstart}}
This is a quickstart guide. No corresponding article currently exists for this guide.
Information on how to start composing or playing can be found here.

If a quickstart guide is not meant to have a corresponding article, then passing in nopage produces the following:

{{Quickstart|nopage}}
This is a quickstart guide.
Information on how to start composing or playing can be found here.

See also