Template:Byline: Difference between revisions
Jump to navigation
Jump to search
m Protected "Template:Byline": This is a high-risk template, used on many pages throughout Shifti. [edit=sysop:move=sysop] |
add documentation. The listing at help:Templates looks fine. :) |
||
| Line 22: | Line 22: | ||
}} | }} | ||
}}<hr/><noinclude> | }}<hr/><noinclude> | ||
This template is used for putting a standardized byline at the top of story pages that are in the main namespace, and thus have a title header automatically generated by the wiki software. For stories on user subpages use [[Template:Title]]. | |||
*"name" is a freeform parameter that is the text that will be displayed as an author name | |||
*"user" is the username of the author that the author's name will be linked to. Don't include the "User:" prefix, that will be added automatically to the link. | |||
*"coauthors" is an optional parameter where one can list other authors who have contributed to a story. The text can include links to user pages if any of the coauthors are also Shifti users. | |||
<nowiki>{{byline|author=<name>|coauthors=<list of names>|user=<username>}}</nowiki> | <nowiki>{{byline|author=<name>|coauthors=<list of names>|user=<username>}}</nowiki> | ||
</noinclude> | </noinclude> | ||
Revision as of 19:14, 24 December 2007
{{#ifeq: | |
{{#ifeq: | |
{{#ifeq: | ||
Author: [[User:|]]
}} |
{{#ifeq: | |
Author: ' |
Author: [[User:|]]
}}
}} |
{{#ifeq: | |
{{#ifeq: | | Authors: ' |
Authors: [[User:|]]
}} |
{{#ifeq: | |
Authors: |
Author: [[User:|]]
}}
}}
}}
This template is used for putting a standardized byline at the top of story pages that are in the main namespace, and thus have a title header automatically generated by the wiki software. For stories on user subpages use Template:Title.
- "name" is a freeform parameter that is the text that will be displayed as an author name
- "user" is the username of the author that the author's name will be linked to. Don't include the "User:" prefix, that will be added automatically to the link.
- "coauthors" is an optional parameter where one can list other authors who have contributed to a story. The text can include links to user pages if any of the coauthors are also Shifti users.
{{byline|author=<name>|coauthors=<list of names>|user=<username>}}