Template:FAQ/doc: Difference between revisions
Jump to navigation
Jump to search
(Create FAQ template doc) |
No edit summary |
||
Line 1: | Line 1: | ||
==Description== | ==Description== | ||
*This template returns the URL to the FAQ. | *This template returns the URL to the FAQ. | ||
==Syntax== | ==Syntax== | ||
Line 7: | Line 6: | ||
{{FAQ | {{FAQ | ||
|version= | |version= | ||
|page= | |||
}} | }} | ||
</pre> | </pre> | ||
==Parameters== | ==Parameters== | ||
Allowed values | '''|version='''<br> | ||
Allowed values are: | |||
* |version = 1.5 | * |version = 1.5 | ||
* |version = 1.6 | * |version = 1.6 | ||
If no version is specified then the template returns the newest version and the page is added to the category [[Category::FAQProblems]] | If no version is specified then the template returns the newest version and the page is added to the category [[Category::FAQProblems]]<br> | ||
If the specified version is not the newest version, it adds the page to the category [[Category::FAQProblems]] | |||
'''|page='''<br> | |||
This parameter is optional.<br> | |||
Allowed values are: | |||
* Number from 1 to whatever page exists in the FAQ. | |||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 16:30, 3 February 2016
Description
- This template returns the URL to the FAQ.
Syntax
{{FAQ |version= |page= }}
Parameters
|version=
Allowed values are:
- |version = 1.5
- |version = 1.6
If no version is specified then the template returns the newest version and the page is added to the category [[Category::FAQProblems]]
If the specified version is not the newest version, it adds the page to the category [[Category::FAQProblems]]
|page=
This parameter is optional.
Allowed values are:
- Number from 1 to whatever page exists in the FAQ.