Template:Author category: Difference between revisions
Jump to navigation
Jump to search
put a toc-styled box around the text |
mNo edit summary |
||
| Line 2: | Line 2: | ||
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}}}}}]]'''. | ||
</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, 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''': | ||
{| | {| | ||
Revision as of 23:52, 23 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, 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]] |