Template:Team: Difference between revisions
Refresh infobox stylesheet transclusion |
Restore encyclopedia team infobox styling |
||
| Line 22: | Line 22: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude><includeonly>{{#default_form:Team}}<templatestyles src="Template:Infobox/styles.css" / | </noinclude><includeonly>{{#default_form:Team}}<templatestyles src="Template:Infobox/styles.css" /><templatestyles src="Template:Team/styles.css" /><!-- -->{{#cargo_store:_table=Teams | ||
|Name={{{Name|}}} | |Name={{{Name|}}} | ||
|PlayerA={{{PlayerA|}}} | |PlayerA={{{PlayerA|}}} | ||
| Line 30: | Line 30: | ||
|ActiveToYear={{{ActiveToYear|}}} | |ActiveToYear={{{ActiveToYear|}}} | ||
|Logo={{{Logo|}}} | |Logo={{{Logo|}}} | ||
}}<table class="infobox infobox-team"> | }}<!-- --><table class="infobox infobox-team"> | ||
<tr><th class="infobox-title" colspan="2">{{#if:{{{Name|}}}|{{{Name}}}|{{{PlayerA}}} & {{{PlayerB}}}}}</th></tr> | |||
{{#if:{{{Logo|}}}|<tr><td class="infobox-image" colspan="2">[[File:{{{Logo}}}|frameless|250px]]</td></tr>}} | |||
<tr><th>Players</th><td>[[{{{PlayerA}}}]] · [[{{{PlayerB}}}]]</td></tr> | |||
{{#if:{{{TournamentCount|}}}|<tr><th>Tournaments</th><td>{{{TournamentCount}}}</td></tr>}} | |||
{{#if:{{{ActiveFromYear|}}}|<tr><th>Active</th><td>{{{ActiveFromYear}}}{{#if:{{{ActiveToYear|}}}|–{{{ActiveToYear}}}|–present}}</td></tr>}} | |||
</table>[[Category:Teams]]</includeonly> | </table>[[Category:Teams]]</includeonly> | ||