Template:Byline: Difference between revisions

m Protected "Template:Byline" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
Trying a alternate template to fix the alignment issue.
Line 1: Line 1:
{{quote box
<div style="float: right; width: 25%; text-align: right;">
|align={{{align|right}}}
  <small>{{{type|Written}}} by</small><br />
|width=25%
  <big>
|<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>
    '''[[{{{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}}}|}}
</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}}
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
</noinclude>