Difference between revisions of "Template:FA"

From Wikispooks
Jump to navigation Jump to search
(Stub icon)
(Try with arraymap to take multiple arguments)
Line 1: Line 1:
 
<noinclude>'''This is one of the most useful Wikispooks templates and is easily learned by the novice editor.'''<br/>
 
<noinclude>'''This is one of the most useful Wikispooks templates and is easily learned by the novice editor.'''<br/>
 
It is used just below a section heading to display a link to another Wikispooks page.
 
It is used just below a section heading to display a link to another Wikispooks page.
::''Full article: [[<nowiki>{{{1|}}}</nowiki>]]''<br/>
+
::''Full article(s): [[<nowiki>{{{1|}}}</nowiki>]]''<br/>
 
This template takes one parameter, which is the name of the Wikispooks page where the full article is available.<br/>
 
This template takes one parameter, which is the name of the Wikispooks page where the full article is available.<br/>
 
If the section has 2 main articles (generally not recommended), use [[Template:FAs]] to list them.<br/>
 
If the section has 2 main articles (generally not recommended), use [[Template:FAs]] to list them.<br/>
 
For use just below a section heading.[[Category:Convenience Templates]]
 
For use just below a section heading.[[Category:Convenience Templates]]
</noinclude><includeonly>::''Full article: {{StubIcon|pagename={{{1|}}}}} {{RatingAsStars|pagename={{{1|}}}}} {{SmartLink|{{{1|}}}}}''<br/></includeonly>
+
</noinclude><includeonly>::''Full article{{MaybePlural|{{{1|}}}}}: {{#arraymap:{{{1|}}}|,|x|{{RatingAsStars|x}} {{SmartLink|x}}|,&nbsp;}}''<br/></includeonly>

Revision as of 01:06, 4 October 2016

This is one of the most useful Wikispooks templates and is easily learned by the novice editor.
It is used just below a section heading to display a link to another Wikispooks page.

Full article(s): [[{{{1|}}}]]

This template takes one parameter, which is the name of the Wikispooks page where the full article is available.
If the section has 2 main articles (generally not recommended), use Template:FAs to list them.
For use just below a section heading.