Template:Author page: Difference between revisions

From Shifti
Jump to navigation Jump to search
add a parameter - there's at least one author whose page will need this
m correct the help text so the property name it lists matches the truth
 
Line 1: Line 1:
<includeonly>{{SMW Base|author name|{{{1|{{BASEPAGENAME}}}}}}}[[Category:Author|{{{1|{{BASEPAGENAME}}}}}]]</includeonly><noinclude>This template automagically sets the 'authorname' parameter and adds the page to the [[:Category:Author|Author Category]].
<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:
It takes one optional parameter, an override for the name of the author for cases where it doesn't match the username. For example:

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.