Difference between revisions of "Template:AuthorDocuments"
Jump to navigation
Jump to search
m (tweek and typo) |
(No heading if no documents) |
||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>'''This template places a list of documents authored by <nowiki>{{{PAGENAME}}}</nowiki> that are hosted on Wikispooks.''' It has no parameters. |
− | |||
− | + | If the page name has authored any documents, it makes a section: | |
− | ==''< | + | ==''<nowiki>{{{PAGENAME}}}</nowiki>'' on Wikispooks== |
− | Plus a table of | + | Plus a table of authored document(s) underneath |
− | [[Category: | + | [[Category:Semantic Templates]]</noinclude><includeonly> |
+ | {{#ifexpr:{{#ask: [[Has author::{{PAGENAME}}]]|format=count}}>0| | ||
=={{PAGENAME}} on Wikispooks== | =={{PAGENAME}} on Wikispooks== | ||
− | ''<small>Use Up/Dn symbols to sort''</small> | + | {{#ifexpr:{{#ask: [[Has author::{{PAGENAME}}]]|format=count}}>1|''<small>Use Up/Dn symbols to sort''</small>|}} |
{{#ask: [[Has author::{{PAGENAME}}]] | {{#ask: [[Has author::{{PAGENAME}}]] | ||
|mainlabel = Wikispooks page | |mainlabel = Wikispooks page | ||
Line 13: | Line 13: | ||
|?Has publication date=Publication date | |?Has publication date=Publication date | ||
|?Is about=Subject(s) | |?Is about=Subject(s) | ||
− | }} | + | }}|}}</includeonly> |
− | </includeonly> |
Revision as of 08:12, 21 December 2013
This template places a list of documents authored by {{{PAGENAME}}} that are hosted on Wikispooks. It has no parameters.
If the page name has authored any documents, it makes a section:
{{{PAGENAME}}} on Wikispooks
Plus a table of authored document(s) underneath