Template:Author category: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
change "stories" to "works", since we're getting a fair number of poems now |
||
| Line 1: | Line 1: | ||
<div class="toc"> | <div class="toc"> | ||
This category contains all | This category contains all works on Shifti that were written by '''[[User:{{{1|{{PAGENAME}}}}}|{{{2|{{PAGENAME}}}}}]]'''. | ||
</div><includeonly>[[Category:Stories by author]]</includeonly><noinclude> | </div><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, when this template is 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, when this template is placed in '''Category:Bob Stein''': | ||
Latest revision as of 18:39, 24 December 2007
This category contains all works 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, when this template is 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]] |