Template:Byline: Difference between revisions
Appearance
Update. |
m Added small tag. |
||
| (39 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div style="float: right; width: 18em; margin: 0 0 1em 1em; padding: 1em; border: 1px solid #ccc; background-color: #f9f9f9;"><small>{{{type|Written}}} by</small><br /><big>'''[[{{{first}}} {{{last}}}]]{{#if:{{{first1|}}}{{{last1|}}}|<br />[[{{{first1}}} {{{last1}}}]]|}} {{#if:{{{first2|}}}{{{last2|}}}|<br />[[{{{first2}}} {{{last2}}}]]|}} {{#if:{{{first3|}}}{{{last3|}}}|<br />[[{{{first3}}} {{{last3}}}]]|}}'''</big> | |||
{{#if:{{{abstract|}}}|<hr /><small>'''Abstract''': {{{abstract}}}|}} | |||
{{#if:{{{note|}}}|<hr />'''Note''': {{{note}}}|}} | |||
| | {{#if:{{{url|}}}|<hr />'''URL''': {{{url}}}|}}</small></div><includeonly>[[Category:{{{type|Written}}} by {{{first}}} {{{last}}}]] {{#if:{{{first1|}}}{{{last1|}}}|[[Category:{{{type|Written}}} by {{{first1}}} {{{last1}}}]]|}} {{#if:{{{first2|}}}{{{last2|}}}|[[Category:{{{type|Written}}} by {{{first2}}} {{{last2}}}]]|}} {{#if:{{{first3|}}}{{{last3|}}}|[[Category:{{{type|Written}}} by {{{first3}}} {{{last3}}}]]|}} </includeonly><noinclude>{{documentation}}</noinclude> | ||
| | |||
|} | |||
[[Category:{{{type|Written}}} by {{{ | |||
{{documentation}} | |||
</noinclude> | |||
Latest revision as of 17:59, 5 March 2025
Written by
[[{{{first}}} {{{last}}}]]
[[{{{first}}} {{{last}}}]]
The byline template is used for author or editor information, abstract, publication notes, and short URL. It uses the last and first variables to add the appropriate categories to the article.
The template should appear at the top of all The Mailer Review articles.
Parameters
List of all parameters:
{{byline
| align = left|right (right is default)
| type = Written|Edited (Written is default)
| last = writer/editor’s last name
| first = writer/editor's first name and any middle initial
| last2 = second writer/editor’s last name (if applicable)
| first2 = second writer/editor's first name and any middle initial (if applicable)
| last3 = third writer/editor’s last name (if applicable)
| first3 = third writer/editor's first name and any middle initial (if applicable)
| abstract = the article abstract (if applicable)
| notes = publication or editor's notes (if applicable)
| url = the short link to the article using prmlr.us (this link will be filled in by the editor)
}}
| The above documentation is transcluded from Template:Byline/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |