Template:Quickstart: Difference between revisions
No edit summary |
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.| for [[{{{1|}}}]].}}|.}}'''<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.| for [[{{{1|}}}]].}}|.}}'''<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> |