Jump to content

Template:Infobox article: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><table class="infobox vevent" style="width: 20em;">
{{<includeonly>safesubst:</includeonly>#invoke:Unsubst-infobox||$params=publication,author,published,format,image,caption,alt,title,sub_title,interviewer,interviewee,associated_album,associated_concert,link,references,interviews,wma|$extra=wma|$aliases=Publication>publication,Author>author,Date>published,Published>published,Format>format,Image>image,Cover>image,cover>image,Alt>alt,Caption>caption,Title>title,Sub-title>sub_title,Interviewer>interviewer,Interviewee>interviewee,Associated album>associated_album,Associated concert>associated_concert,Link>link,References>references,Interviews>interviews,Weezer Media Archive>wma|$flags=override|$B=<!--
  <tr>
 
    <th colspan="3" scope="col" class="summary" style="text-align: center; background: {{#ifeq:{{Template:Infobox Album/color|{{{Format|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Format|}}}}}}};">{{Template:Infobox Album/link|{{{Format}}}}}{{#if:{{{Publication|}}}|''{{{Publication}}}'' article, {{{Date}}}}}
--><div style="font-size: 0.9em;>
  </tr>
{{Infobox
{{#ifeq:{{{Cover size|}}}|0||
| bodyclass  = vevent
  <tr>
| abovestyle  = color: inherit; background-color: #ccccff;
    <td colspan="3" style="text-align: center;">{{#if:{{{Cover|}}}|[[Image:{{{Cover}}}|{{min|200|{{{Cover size|}}}}}px|{{#ifeq:{{{Border|}}}|yes|border{{!}}}}{{{Name}}} cover]]
| above      = {{#if:{{{publication|}}}|{{{format}}} {{{publication|}}} article, {{{published|}}}}}
}}
 
{{#if:{{{Caption|}}}|<div style="font-size: 0.8em; line-height: 1.4em;">{{{Caption}}}</div>
| headerstyle = color: #202122;background-color: #ccccff;
}}
| headerclass = description
     </td>
| autoheaders = y
  </tr>
 
}}
| image      = {{#invoke:InfoboxImage|InfoboxImage
{{#if:{{{Publication|}}}|
| image={{{image|}}}
  <tr>
| size=220px
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Publication
| maxsize=300px
    <td colspan="2" style="width: 14em; font-size:0.9em;">''{{{Publication}}}'' {{#if:{{{publink|}}}|({{{publink}}})||}}</td>
| sizedefault=frameless
  </tr>
| title={{{alt|{{{caption|}}}}}}
}}
| alt={{{alt|}}}
{{#if:{{{Interviewee|}}}|
| suppressplaceholder=yes}}
  <tr>
| caption     = {{{caption|}}}
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Interviewee
 
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Interviewee}}}</td>
|label1 = Publication
   </tr>
|data1  = {{#if:{{{publication|}}}|''{{{publication}}}''}}
}}
|label2 = Published
{{#if:{{{Author|}}}|
|data2  = {{{published|}}}
   <tr>
|class2 = published
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Author
|label3 = Author
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Author}}}</td>
|data3  = {{{author|}}}
   </tr>
|label4  = Interviewer
}}
|data4   = {{{interviewer|}}}
{{#if:{{{Date|}}}|
|label5  = Interviewee
  <tr>
|data5   = {{{interviewee|}}}
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Date
|label6  = Title
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Date}}}</td>
|data6   = {{{title|}}}
  </tr>
|label7  = Sub-title
}}
|data7  = {{#if:{{{sub_title|}}}|''{{{sub_title}}}''}}
{{#if:{{{Title|}}}|
|label8  = Format
  <tr>
|data8  = {{{format|}}}
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Title
|label9  = Associated album
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Title}}}</td>
|data9   = {{{associated_album|}}}
  </tr>
|class9  = plainlist
}}
|label10 = Associated concert
{{#if:{{{Sub-title|}}}|
|data10  = {{{associated_concert|}}}
   <tr>
|class10 = plainlist
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Sub-title
 
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Sub-title}}}</td>
| header11    = <nowiki />
  </tr>
 
}}
|label12  = External link
{{#if:{{{Format|}}}|
|data12  = {{{link|}}}
  <tr>
|label13 = References
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Format
|data13  = {{#ifeq:{{lc:{{{references|}}}}}|yes|[[Special:WhatLinksHere/{{FULLPAGENAME}}|''See where this article is referenced on Weezerpedia'']]}}
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Format}}}</td>
 
  </tr>
| header14 = {{#ifeq:{{lc:{{{interviews|}}}}}|yes|More {{{interviewee}}} interviews}}
}}
 
{{#if:{{{Link|}}}|
| label15  = See:
  <tr>
| data15   = {{#if:{{{interviews|}}}|<div style="text-align:left">{{#if:{{{interviews|}}}|[[:Category:{{delink|{{{interviewee}}}}} Interviews|{{delink|{{{interviewee}}}}} interviews]]</div>}}}}
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">External link
 
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Link}}}</td>
| header16   = <nowiki />
  </tr>
 
}}
| data17    = {{#ifeq:{{lc:{{{wma|}}}}}|yes|[[File:Infopage wma.jpg|50px|link=Weezer Media Archive|right]] '''''This material was initially documented in the [[Weezer Media Archive]].'''''}}
{{#if:{{{Associated album|}}}|
}}</div>
  <tr>
{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox article with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox article]] with unknown parameter "_VALUE_"|ignoreblank=y|format |image |caption |alt |border |publication |author |published |title |sub_title |interviewer |interviewee |associated_album |associated_concert |link |references |interviews |wma}}}}<noinclude>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Associated album
{{Documentation}}
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Associated album}}}</td>
<!-- Add categories to the /doc subpage, not here. -->
  </tr>
}}
{{#if:{{{Associated concert|}}}|
  <tr>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">Associated concert
    <td colspan="2" style="width: 14em; font-size:0.9em;">{{{Associated concert}}}</td>
  </tr>
}}
{{{References|}}}
  <tr>
    <th scope="row" style="width: 5.2em; text-align: left; font-size:0.9em;">References
    <td colspan="2" style="width: 14em; font-size:0.9em;">
[[Special:WhatLinksHere/{{FULLPAGENAME}}|See where this article is referenced on Weezerpedia]]</td>
   </tr>
{{#if:{{{Interviews|}}}|
  <tr>
    <th colspan="3" scope="col" style="text-align: center; background: {{#ifeq:{{Template:Infobox Album/color|{{{Type|}}}}}|khaki|{{Template:Infobox Album/color}}|{{Template:Infobox Album/color|{{{Format|}}}}}}};">More {{{Interviewee}}} interviews
  </tr>
  <tr>
    <td colspan="3">
{{{Interviews}}}
    </td>
   </tr>
}}
{{#if:{{{Weezer Media Archive|}}}|
  <tr>
    <th colspan="3" scope="col" style="text-align: center; background:b968e7;">
----[[File:Infopage wma.jpg|50px|link=Weezer Media Archive|right]] ''This material was initially documented in the [[Weezer Media Archive]].''
----
  </tr>
}}
{{{Misc|}}}
</table></includeonly>
<noinclude>[[Category:Infoboxes]]
{{#ifeq:{{FULLPAGENAME}}|Template:Infobox article/sandbox|{{Template sandbox notice}}|{{documentation}}}}
</noinclude>
</noinclude>