Template:See guide/sandbox: Difference between revisions
KickahaOta (talk | contribs) m (Grr) Tag: Manual revert |
KickahaOta (talk | contribs) (Added support for unnamed article/page parameter) |
||
Line 1: | Line 1: | ||
<includeonly>{{Rellink|extraclasses=relarticle guidearticle|{{#if:{{{description|{{{explanation|}}}}}}|{{{description|{{{explanation}}}}}}|A guide to {{{topic|this topic}}} is available{{#if:{{{topic|}}}|{{COLON}}}}}} [[{{#ifexist:Guide:{{{article|{{{page}}}}}}|Guide:{{{article|{{{page}}}}}}|{{{article|{{{page}}}}}}}}|{{{topic|here}}}]].}}</includeonly><noinclude> | <includeonly>{{Rellink|extraclasses=relarticle guidearticle|{{#if:{{{description|{{{explanation|}}}}}}|{{{description|{{{explanation}}}}}}|A guide to {{{topic|this topic}}} is available{{#if:{{{topic|}}}|{{COLON}}}}}} [[{{#ifexist:Guide:{{{article|{{{page|{{{1|}}}}}}}}}|Guide:{{{article|{{{page|{{{1}}}}}}}}}|{{{article|{{{page|{{{1}}}}}}}}}}}|{{{topic|here}}}]].}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 20:54, 4 December 2021
This is the template sandbox page for Template:See guide (diff).
See also the companion subpage for test cases.
Use this template to refer the reader to a guide on a topic.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Guide to be linked to | article page 1 | The name of the article to be linked to. You can include an explicit namespace. If you don't, the link will be to Guide:(article) if that page exists, or to the main namespace (article) otherwise.
| Page name | required |
Description | description explanation | If present, this text is displayed before the link to the guide.
| String | optional |
Topic | topic | A human-readable name of the topic being discussed.
| String | optional |
Examples
{{See guide|Managing the Atlas}}
{{See guide|description=For a guide discussing how to manage the Atlas, see:|topic=managing the Atlas|article=Guide:Managing the Atlas}}
{{See guide|topic=managing the Atlas|article=:Managing the Atlas}}
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.