Template:Infobox Wrestling event

From Iwe

(Difference between revisions)
 
(46 intermediate revisions not shown)
Line 1: Line 1:
-
{{Infobox
+
{| class="infobox" cellpadding=1 cellspacing=1 width=300px style="float:right; font-family: Arial; padding: 4px; margin: 0 0 1em 1em; font-size: 11px; background-color: white; border:1px solid lightgrey; font-size: 95%;"
-
|above        = {{{name}}}
+
! colspan="3" style="text-align: center; font-size: 120%;" | {{{name}}}
-
|image        = {{#if:{{{image|}}} |[[File:{{{image}}}|{{#if:{{{image_size|}}} |{{{image_size}}}|200px}}|{{#if:{{{caption|}}} |{{{caption}}}|A poster or logo for {{{name}}}.}}|alt={{{alt|}}}]]}}
+
|- class{{{image|}}}="hiddenStructure"
-
|caption      = {{{caption|}}}
+
| colspan="3" style="text-align: center;" | [[Image:{{{image}}}|200px]]
-
|headerstyle  = background:#d0d0d0
+
|- class{{{caption|}}}="hiddenStructure"
-
|labelstyle  = white-space: nowrap
+
| colspan="3" style="text-align: center" |{{{caption}}}
-
|label1  = [[Tagline]](s)
+
|- class{{{tagline|}}}="hiddenStructure"
-
|data1    = {{#if:{{{tagline|}}} |''{{{tagline}}}''}}
+
! style="padding-right: 1.2em; width: 20%;" align=left | Tagline(s)
-
|label2  = [[Theme music|Theme<br />song]](s)
+
| colspan="3" style="text-align: left;" |{{{tagline}}}
-
|data2    = {{{theme|}}}
+
|- class{{{theme|}}}="hiddenStructure"
-
|header3  = Information
+
! style="padding-right: 1.2em; width: 20%;" align=left | Theme song(s)
-
|label4  = [[Professional wrestling promotion|Promotion]]
+
| colspan="3" style="text-align: left;" |{{{theme}}}
-
|data4    = {{{promotion}}}
+
|-
-
|label5  = [[WWE Brand Extension|Brand]] (s)
+
! colspan="3" style="background-color: #d0d0d0; text-align: center;" | Information
-
|data5    = {{{brand|}}}
+
|-
-
|label6  = Date
+
! style="white-space: nowrap; padding-right: 1.2em; width: 33%;" align=left | [[Professional Wrestling Promotion|Promotion]]
-
|data6    = {{#if:{{{date|}}}|{{{date}}}}}{{#if:{{{date_aired|}}}|<br/>({{#switch:{{{future}}}|Y=to be aired|y=to be aired|#default=aired}} {{{date_aired}}})}}
+
| colspan="2" style="width: 66%;" align=left |{{{promotion}}}
-
|label7  = Attendance
+
|- class{{{sponsor|}}}="hiddenStructure"
-
|data7    = {{{attendance|}}}
+
! style="padding-right: 1.2em; width: 33%;" align=left | [[Sponsor (Commercial)|Sponsor]]
-
|label8  = Venue
+
| colspan="2" style="width: 66%;" align=left |{{{sponsor|}}}
-
|data8    = {{{venue}}}
+
|- class{{{brand|}}}="hiddenStructure"
-
|label9  = City
+
! style="padding-right: 1.2em; width: 33%;" align=left | Brand
-
|data9    = {{{city}}}
+
| colspan="2" style="width: 66%;" align=left |{{{brand|}}}
-
|header10 = {{#if: {{{lastevent|}}}{{{nextevent|}}}|{{#switch:{{{liveevent}}}|Y=Event|y=Event|#default=Pay-per-view}} chronology}}
+
|-
-
|data11  = {{#if: {{{lastevent|}}}{{{nextevent|}}}|<span />
+
! style="padding-right: 1.2em;; width: 33%;" align=left | Date
-
{{{!}} style="width:100%; background: transparent; text-align: center; font-size: smaller; line-height: 1.4em; vertical-align: top"
+
| colspan="2" style="width: 66%;" align=left |{{{date}}}
-
{{!}} style="width: 33%; padding: 0.2em 0.1em 0.2em 0" {{!}} {{{lastevent|}}}
+
|- class{{{date_aired|}}}="hiddenStructure"
-
{{!}} style="width: 33%; padding: 0.2em 0.1em 0.2em 0.1em; font-size:8pt;" {{!}} '''{{{name|}}}'''
+
! style="padding-right: 1.2em;; width: 33%;" align=left | Date aired
-
{{!}} style="width: 33%; padding: 0.2em 0 0.2em 0.1em" {{!}} {{{nextevent|}}}
+
| colspan="2" style="width: 66%;" align=left |{{{date_aired}}}
-
{{!}}} }}
+
|- class{{{attendance|}}}="hiddenStructure"
-
|header12 = {{#if: {{{lastevent2|}}}{{{nextevent2|}}}|{{{event}}} chronology}}
+
! style="padding-right: 1.2em;; width: 33%;" align=left | Attendance
-
|data13  = {{#if: {{{lastevent2|}}}{{{nextevent2|}}}|<span />
+
| colspan="2" style="width: 66%;" align=left |{{{attendance}}}
-
{{{!}} style="width:100%; background: transparent; text-align: center; font-size: smaller; line-height: 1.4em; vertical-align: top"
+
|-
-
{{!}} style="width: 33%; padding: 0.2em 0.1em 0.2em 0" {{!}} {{{lastevent2|}}}
+
! style="padding-right: 1.2em; width: 33%;" align=left | Venue
-
{{!}} style="width: 33%; padding: 0.2em 0.1em 0.2em 0.1em; font-size:8pt;" {{!}} '''{{{name|}}}'''
+
| colspan="2" style="width: 66%;" align=left |{{{venue}}}
-
{{!}} style="width: 33%; padding: 0.2em 0 0.2em 0.1em" {{!}} {{{nextevent2|}}}
+
|-
-
{{!}}} }}
+
! style="padding-right: 1.2em; width: 33%;" align=left | City
-
|header14 = {{#if: {{{lastevent3|}}}{{{nextevent3|}}}|{{{event2}}} chronology}}
+
| colspan="2" style="width: 66%;" align=left |{{{city}}}
-
|data15  = {{#if: {{{lastevent3|}}}{{{nextevent3|}}}|<span />
+
|- class{{{lastevent|}}}{{{nextevent||}}}="hiddenStructure"
-
{{{!}} style="width:100%; background: transparent; text-align: center; font-size: smaller; line-height: 1.4em; vertical-align: top"
+
! colspan="3" style="background-color: #d0d0d0; text-align: center;" | Pay-per-view chronology
-
{{!}} style="width: 33%; padding: 0.2em 0.1em 0.2em 0" {{!}} {{{lastevent3|}}}
+
|- class{{{lastevent|}}}{{{nextevent|}}}="hiddenStructure" style="text-align: center; font-size: 88%;"
-
{{!}} style="width: 33%; padding: 0.2em 0.1em 0.2em 0.1em; font-size:8pt;" {{!}} '''{{{name|}}}'''
+
|style="width: 35%;" valign=top|{{{iwelast}}}
-
{{!}} style="width: 33%; padding: 0.2em 0 0.2em 0.1em" {{!}} {{{nextevent3|}}}
+
|style="width: 35%;" valign=top|'''{{{name}}}'''
-
{{!}}} }}
+
|style="width: 35%;" valign=top|{{{nextevent}}}
-
}}
+
|- class{{{lastevent2|}}}{{{nextevent2||}}}="hiddenStructure"
 +
! colspan="3" style="background-color: #d0d0d0; text-align: center;" | {{{event}}} chronology
 +
|- class{{{lastevent2|}}}{{{nextevent2|}}}="hiddenStructure" style="text-align: center; font-size: 88%;"
 +
|style="width: 35%;" valign=top|{{{lastevent2}}}
 +
|style="width: 35%;" valign=top|'''{{{name}}}'''
 +
|style="width: 35%;" valign=top|{{{iwenext}}}
 +
|}<noinclude>
 +
 
 +
<br style="clear: both;" />
 +
 
 +
{{TOCright}}
 +
 
 +
==Introduction==
 +
This template produces a standardized box which concisely presents the main statistics info about a professional wrestling event without interfering with the article flow.
 +
Its only mandatory parameters are '''promotion''', '''date''', '''venue''', and '''city'''.
 +
 
 +
==Suggested usage==
 +
An easy and error-proof way to use the template is to copy the code below to the top of the article source text, then add the relevant parameter values.
 +
 
 +
===Empty syntax===
 +
''provided for copy-and-paste usage''
 +
<pre>
 +
{{Infobox Wrestling event
 +
|name      =
 +
|image      =
 +
|caption    =
 +
|alt        =
 +
|tagline    =
 +
|theme      =
 +
|promotion  =
 +
|brand      =
 +
|sponsor    =
 +
|date      =
 +
|date_aired =
 +
|attendance =
 +
|venue      =
 +
|city      =
 +
|liveevent  =
 +
|lastevent  =
 +
|nextevent  =
 +
|event      =
 +
|lastevent2 =
 +
|nextevent2 =
 +
|event2     =
 +
|iwelast =
 +
|iernext =
 +
|future    =
 +
|current    =
 +
}}</pre>
 +
 
 +
==Description of fields==
 +
* '''name'''. The name of the event held (preferably without the promotion's initials).
 +
* '''image'''. The image filename &mdash;do not add modifiers, such as ''thumb'' or size specifications, such as ''150px''.
 +
* '''theme'''. Is the music provided for the event.
 +
* '''tagline'''. Is the motto for this event.
 +
* '''promotion'''. The name of the professional wrestling promotion holding this event.
 +
* '''brand'''. For World Wrestling Entertainment related events, the brand(s) holding this event (''WWE RAW'', ''WWE Friday Night SmackDown!'' and ''Extreme Championship Wrestling'').
 +
* '''date'''. Date of the event.
 +
* '''venue'''. The venue(s) of where the event is held
 +
* '''city'''. The location of the venue.
 +
* '''attendance'''. The number of people in attendance.
 +
* '''buyrate'''. The buyrate, if the show is a pay-per-view, example: 300,000 buys.
 +
* '''lastevent'''. The previous pay-per-view event, if the show is a pay-per-view.
 +
* '''nextevent'''. The next pay-per-view event, if the show is a pay-per-view.
 +
* '''lastevent2'''. The previous pay-per-view event under that name.
 +
* '''nextevent2'''. The next pay-per-view event under that name.
 +
 
 +
[[Category:Event Templates|Wrestling Event]]
 +
[[Category:Templates|Wrestling Event]]
 +
</noinclude>

Current revision as of 07:36, 6 October 2015

{{{name}}}
[[Image:{{{image}}}|200px]]
{{{caption}}}
Tagline(s) {{{tagline}}}
Theme song(s) {{{theme}}}
Information
Promotion {{{promotion}}}
Sponsor
Brand
Date {{{date}}}
Date aired {{{date_aired}}}
Attendance {{{attendance}}}
Venue {{{venue}}}
City {{{city}}}
Pay-per-view chronology
{{{iwelast}}} {{{name}}} {{{nextevent}}}
{{{event}}} chronology
{{{lastevent2}}} {{{name}}} {{{iwenext}}}


Contents

[edit] Introduction

This template produces a standardized box which concisely presents the main statistics info about a professional wrestling event without interfering with the article flow. Its only mandatory parameters are promotion, date, venue, and city.

[edit] Suggested usage

An easy and error-proof way to use the template is to copy the code below to the top of the article source text, then add the relevant parameter values.

[edit] Empty syntax

provided for copy-and-paste usage

{{Infobox Wrestling event
|name       =
|image      =
|caption    =
|alt        =
|tagline    =
|theme      =
|promotion  =
|brand      =
|sponsor    =
|date       =
|date_aired = 
|attendance =
|venue      =
|city       =
|liveevent  =
|lastevent  =
|nextevent  =
|event      = 
|lastevent2 =
|nextevent2 =
|event2     = 
|iwelast =
|iernext =
|future     =
|current    = 
}}

[edit] Description of fields

  • name. The name of the event held (preferably without the promotion's initials).
  • image. The image filename —do not add modifiers, such as thumb or size specifications, such as 150px.
  • theme. Is the music provided for the event.
  • tagline. Is the motto for this event.
  • promotion. The name of the professional wrestling promotion holding this event.
  • brand. For World Wrestling Entertainment related events, the brand(s) holding this event (WWE RAW, WWE Friday Night SmackDown! and Extreme Championship Wrestling).
  • date. Date of the event.
  • venue. The venue(s) of where the event is held
  • city. The location of the venue.
  • attendance. The number of people in attendance.
  • buyrate. The buyrate, if the show is a pay-per-view, example: 300,000 buys.
  • lastevent. The previous pay-per-view event, if the show is a pay-per-view.
  • nextevent. The next pay-per-view event, if the show is a pay-per-view.
  • lastevent2. The previous pay-per-view event under that name.
  • nextevent2. The next pay-per-view event under that name.
Personal tools