Template:Team: Difference between revisions
Appearance
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> | ||
Revision as of 21:33, 16 April 2026
This template defines the table "Teams". View table.
Team infobox (stores to Cargo).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name | no description | String | optional |
| Player A (player page name) | PlayerA | Enter the exact Player page name (no brackets). Example: 'Jane Doe' or 'Player:Jane Doe' depending on your naming convention. | String | required |
| Player B (player page name) | PlayerB | Enter the exact Player page name (no brackets). | String | required |
| Tournaments played | TournamentCount | no description | Number | optional |
| Active from (year) | ActiveFromYear | no description | Number | optional |
| Active to (year) | ActiveToYear | no description | Number | optional |
| Logo file | Logo | no description | File | optional |