Template:Quickstart/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
Substitute templates so the documentation doesn't get categorized under quickstart guides
Line 5: Line 5:
If a page is not provided and one is intended to be made, then the following message box is produced:
If a page is not provided and one is intended to be made, then the following message box is produced:


: <code>{{((}}Quickstart{{))}}</code>
: <code><nowiki>{{Quickstart}}</nowiki></code>
{{{{ROOTPAGENAME}} }}
{{Mbox
| icon=Icon-Quickstart.png
| text='''This is a [[:Category:Quickstart guides|quickstart guide]]{{#if: |{{#ifeq: |nopage|. No corresponding article currently exists for this guide.|&#32;for [[]].}}|&#46;}}'''<br />Information on how to start composing or playing can be found here.
}}
[[Category:Quickstart guides]]


On a guide page for [[5L 2s]], adding the following code produces the message box:
On a guide page for [[5L 2s]], adding the following code produces the message box:


: <code>{{((}}Quickstart{{pipe}}5L 2s{{))}}</code>
: <code><nowiki>{{Quickstart|5L 2s}}</nowiki></code>
{{{{ROOTPAGENAME}}|5L 2s}}
{{Mbox
| icon=Icon-Quickstart.png
| text='''This is a [[:Category:Quickstart guides|quickstart guide]]{{#if: 5L 2s|{{#ifeq: 5L 2s|nopage|. No corresponding article currently exists for this guide.|&#32;for [[5L 2s]].}}|&#46;}}'''<br />Information on how to start composing or playing can be found here.
}}
[[Category:Quickstart guides]]


If a quickstart guide is not meant to have a corresponding article, then passing in <code>nopage</code> as an unnamed argument produces the following:
If a quickstart guide is not meant to have a corresponding article, then passing in <code>nopage</code> as an unnamed argument produces the following:


: <code>{{((}}Quickstart{{pipe}}nopage{{))}}</code>
: <code><nowiki>{{Quickstart|nopage}}</nowiki></code>
{{{{ROOTPAGENAME}}|nopage}}
{{Mbox
| icon=Icon-Quickstart.png
| text='''This is a [[:Category:Quickstart guides|quickstart guide]]{{#if: nopage|{{#ifeq: nopage|nopage|. No corresponding article currently exists for this guide.|&#32;for [[nopage]].}}|&#46;}}'''<br />Information on how to start composing or playing can be found here.
}}
[[Category:Quickstart guides]]


=== See also ===
=== See also ===
* [[Template:Has quickstart]]
* [[Template:Has quickstart]]
* [[Template:Beginner]]
* [[Template:Beginner]]