From PCSAR
(Difference between revisions)
|
|
| Line 9: |
Line 9: |
| | -->|<!-- | | -->|<!-- |
| | | | |
| - | -->{{#ifexist: {{{1}}}}}<!--
| |
| - |
| |
| - | -->|<!--
| |
| - |
| |
| - | -->{{Link|{{{1}}}|{{{2|{{{1}}} }}} }}<!--
| |
| - |
| |
| - | -->|<!--
| |
| | --->not exist<!-- | | --->not exist<!-- |
| - |
| |
| - | -->{{Link|{{FULLPAGENAME}}/{{{1}}} }}<!--
| |
| - |
| |
| - | -->}}<!--
| |
| | | | |
| | -->}}<!-- | | -->}}<!-- |
| | | | |
| | --></includeonly> | | --></includeonly> |
Revision as of 05:19, 6 January 2013
This is the documentation for the template Template:Lesson question/Link
Template:Lesson question/Link/Doc:
|
The template {{Lesson question/Link|pagename|description}}
produces a link to a Category:Lesson question.
- pagename
- the name of the page to link to. The page used will be a subpage if it exists, or an absolute page if that exists. If neither exists, a redlink to a subpage is ude.
- description
- (optional) the text to use for the link, otherwise pagename is used.
| You type...
| You get...
|
{{Lesson question/Link|1}}
| 1
|
{{Lesson question/Link|Main Page}}
| Main Page
|
|
To see how this template is implemented,
edit this page and examine the portion
between <includeonly> and </includeonly>.