Template:Author category: Difference between revisions
Jump to navigation
Jump to search
add second parameter, expand documentation |
mNo edit summary |
||
| Line 1: | Line 1: | ||
This category contains all stories on Shifti that were written by '''[[User:{{{1|{{PAGENAME}}}}}|{{{2|{{PAGENAME}}}}}]]'''. | This category contains all stories on Shifti that were written by '''[[User:{{{1|{{PAGENAME}}}}}|{{{2|{{PAGENAME}}}}}]]'''. | ||
<includeonly>[[Category:Stories by author]]</includeonly><noinclude> | <includeonly>[[Category:Stories by author]]</includeonly><noinclude> | ||
This template is to be placed in all stories-by-author categories. It has two optional parameters which can be used to override the username of the author in case the category name doesn't match it exactly. The first parameter overrides the page link and the second parameter overrides the link text. By default it will link to the user page with the same name as the category. So for example, placed in Category:Bob Stein, | This template is to be placed in all stories-by-author categories. It has two optional parameters which can be used to override the username of the author in case the category name doesn't match it exactly. The first parameter overrides the page link and the second parameter overrides the link text. By default it will link to the user page with the same name as the category. So for example, placed in '''Category:Bob Stein''', | ||
{| | {| | ||
Revision as of 22:46, 20 August 2007
This category contains all stories on Shifti that were written by Author category.
This template is to be placed in all stories-by-author categories. It has two optional parameters which can be used to override the username of the author in case the category name doesn't match it exactly. The first parameter overrides the page link and the second parameter overrides the link text. By default it will link to the user page with the same name as the category. So for example, placed in Category:Bob Stein,
| Parameters | Resulting link |
|---|---|
{{author category}}
|
[[User:Bob Stein|Bob Stein]] |
{{author category|Posti}}
|
[[User:Posti|Bob Stein]] |
{{author category|Posti|Bob}}
|
[[User:Posti|Bob]] |