Template:Byline: Difference between revisions

Permanently protected template
From Project Mailer
No edit summary
m (Protected "Template:Byline" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="margin-bottom: 5px; padding: 0 0 20px 0;"
{{quote box
|-
|align={{{align|right}}}
| style="font-size: small;" | {{{type|Written}}} by
|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 />'''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>
| style="font-size: large;" | '''[[{{{first}}} {{{last}}}]]'''{{#if:{{{first1|}}}|; '''[[{{{first1|}}{{#if:{{{last1|}}}| {{{last1}}}]]''|}}
|}
 
[[Category:{{{type|Written}}} by {{{first}}} {{{last}}}]]<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>

Latest revision as of 07:25, 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)
}}