Template:Author page: Difference between revisions

From Shifti
Jump to navigation Jump to search
making the property name natural language
m correct the help text so the property name it lists matches the truth
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{SMW Base|author name|{{BASEPAGENAME}}}}[[Category:Author|{{BASEPAGENAME}}]]</includeonly><noinclude>This template automagically sets the 'authorname' parameter and adds the page to the [[:Category:Author|Author Category]].</noinclude>
<includeonly>{{SMW Base|author name|{{{1|{{BASEPAGENAME}}}}}}}[[Category:Author|{{{1|{{BASEPAGENAME}}}}}]]</includeonly><noinclude>This template automagically sets the 'author name' parameter and adds the page to the [[:Category:Author|Author Category]].
 
It takes one optional parameter, an override for the name of the author for cases where it doesn't match the username. For example:
 
<pre>{{author page|Bard, Michael}}</pre>
 
Otherwise it defaults to the current page's name.
</noinclude>

Latest revision as of 23:40, 12 February 2009

This template automagically sets the 'author name' parameter and adds the page to the Author Category.

It takes one optional parameter, an override for the name of the author for cases where it doesn't match the username. For example:

{{author page|Bard, Michael}}

Otherwise it defaults to the current page's name.