Template:Byline: Difference between revisions

Permanently protected template
From Project Mailer
m (Trying URL.)
m (Forgot pipe?)
Line 1: Line 1:
{{quote box|align=left|<small>{{{type|Written}}} by</small><br /><big>'''[[{{{first}}} {{{last}}}]]{{#if:{{{first1|}}}{{{last1|}}}|&#59; [[{{{first1}}} {{{last1}}}]]| }}{{#if:{{{first2|}}}{{{last2|}}}|&#59; [[{{{first2}}} {{{last2}}}]]| }}{{#if:{{{first3|}}}{{{last3|}}}|&#59; [[{{{first3}}} {{{last3}}}]]| }}'''</big><br /><small>{{#if:'''Short URL''': {{{url}}} }}</small> }}
{{quote box|align=left|<small>{{{type|Written}}} by</small><br /><big>'''[[{{{first}}} {{{last}}}]]{{#if:{{{first1|}}}{{{last1|}}}|&#59; [[{{{first1}}} {{{last1}}}]]| }}{{#if:{{{first2|}}}{{{last2|}}}|&#59; [[{{{first2}}} {{{last2}}}]]| }}{{#if:{{{first3|}}}{{{last3|}}}|&#59; [[{{{first3}}} {{{last3}}}]]| }}'''</big><br /><small>{{#if:'''Short URL''': {{{url|}}} }}</small> }}
<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>
<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}}
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
</noinclude>

Revision as of 13:37, 23 May 2019

Written by
[[{{{first}}} {{{last}}}]]
Template documentation[view] [edit] [history] [purge]

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)
}}