Template:Byline: Difference between revisions

Permanently protected template
From Project Mailer
m (Tweak.)
m (Changed "permalink" to "URL.")
Line 2: Line 2:
  |align={{{align|right}}}
  |align={{{align|right}}}
  |width=25%
  |width=25%
  |<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 />'''Abstract''': {{{abstract}}}| }}{{#if:{{{note|}}}|<hr />'''Note''': {{{note}}}| }}{{#if:{{{url|}}}|<hr />'''Permalink''': {{{url}}}| }} }}<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>
  |<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 />'''Abstract''': {{{abstract}}}| }}{{#if:{{{note|}}}|<hr />'''Note''': {{{note}}}| }}{{#if:{{{url|}}}|<hr />'''URL''': {{{url}}}| }} }}<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 07:36, 11 June 2021

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