Template:Footballbox: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
|||
| Line 1: | Line 1: | ||
{| | {| style="width:{{{size|100%}}}; background: {{{bg|transparent}}};" cellspacing="0" | ||
{{#if:{{{ | |- | ||
|width=15% valign=top align=right rowspan=3|{{ #if: {{{date|}}} | {{{date}}} | }} {{ #if: {{{time|}}} |<br /> {{{time}}} | }}{{ #if: {{{round|}}} |<br /> {{{round}}} | }} | |||
{{ | |width=24% valign=top align=right|'''{{{team1}}}''' | ||
|width=13% valign=top align=center|'''{{{score}}}''' | |||
|width=24% valign=top|'''{{{team2}}}''' | |||
|style=font-size:85% rowspan=2 valign=top|{{ #if: {{{stadium|}}} | {{{stadium}}} | }} {{ #if: {{{attendance|}}} |<br /> Attendance: {{{attendance}}} | }}{{ #if: {{{referee|}}} |<br /> Referee: {{{referee}}} | }} | |||
|- style=font-size:85% | |||
|valign=top align=right|{{ #if: {{{goals1|}}} | {{{goals1}}} | }} | |||
|valign=top align=center|{{ #if: {{{report|}}} | {{{report}}} | }} | |||
|valign=top|{{ #if: {{{goals2|}}} | {{{goals2}}} | }} | |||
|}<noinclude> | |||
== Usage == | |||
<pre>{{footballbox | |||
|date = | |||
|time = | |||
|team1 = | |||
|score = | |||
|report = | |||
|team2 = | |||
|goals1 = | |||
|goals2 = | |||
|stadium = | |||
|attendance = | |||
|referee = | |||
}} | }} | ||
{{penshootoutbox | |||
|penalties1 = | |||
|penaltyscore = | |||
|penalties2 = | |||
}}</pre> | |||
[[Category:Football templates]] | |||
</noinclude> | |||
Revision as of 17:49, 2 October 2012
| {{{team1}}} | {{{score}}} | {{{team2}}} | ||
Usage
{{footballbox
|date =
|time =
|team1 =
|score =
|report =
|team2 =
|goals1 =
|goals2 =
|stadium =
|attendance =
|referee =
}}
{{penshootoutbox
|penalties1 =
|penaltyscore =
|penalties2 =
}}