Difference between revisions of "Template:Bs in2 header"
Jump to navigation
Jump to search
Template documentation
imported>Vasconia |
imported>Andiii |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{| class="wikitable sortable" style="text-align: center;" | {| class="wikitable sortable" style="text-align: center;" | ||
|- | |- | ||
| − | {{#ifeq:{{{no}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|No.|Squad Number}}}} | + | {{#ifeq:{{{no}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|No.|Squad Number}}}}<!-- |
| − | {{#ifeq:{{{pos}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Pos.|Position}}}} | + | -->{{#ifeq:{{{pos}}}|n||{{#ifeq:{{{no|}}}|n||!}}!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Pos.|Position}}}}<!-- |
| − | {{#ifeq:{{{nat}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width= | + | -->{{#ifeq:{{{nat}}}|n||{{#ifeq:{{{no|}}}|n|{{#ifeq:{{{pos|}}}|n||!}}|!}}!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=50{{!}}{{Abbr|Nat.|Nationality}}}}<!-- |
| − | {{#ifeq:{{{ | + | -->{{#ifeq:{{{no|}}}|n|{{#ifeq:{{{pos|}}}|n|{{#ifeq:{{{nat|}}}|n||!}}|!}}|!}}!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Name<!-- |
| − | {{#ifeq:{{{age}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=35{{!}}Age}} | + | -->{{#ifeq:{{{age}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=35{{!}}Age}}<!-- |
| − | {{#ifeq:{{{lic}}}|y|!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Lic.|Player license}}}} | + | -->{{#ifeq:{{{lic}}}|y|!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}width=30{{!}}{{Abbr|Lic.|Player license}}}}<!-- |
| − | {{#ifeq:{{{fc}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}colspan=2{{!}}Moving from}} | + | -->{{#ifeq:{{{fc}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}colspan=2{{!}}Moving from}}<!-- |
| − | {{#ifeq:{{{type}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Type}} | + | -->{{#ifeq:{{{type}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Type}}<!-- |
| − | {{#ifeq:{{{contract}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Ends}} | + | -->{{#ifeq:{{{contract}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Ends}}<!-- |
| − | {{#ifeq:{{{fee}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Transfer fee}} | + | -->{{#ifeq:{{{fee}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Transfer fee}}<!-- |
| − | {{#ifeq:{{{date}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Date}} | + | -->{{#ifeq:{{{date}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" {{!}}}}Date}}<!-- |
| − | {{#ifeq:{{{ref}}}|n||!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}class="unsortable"{{!}}Source}}<!-- | + | -->{{#ifeq:{{{ref}}}|n||!!{{#if:{{{club|{{{team|}}}}}}| style="{{Basketball color cell|{{{club|{{{team|}}}}}}}}" }}class="unsortable"{{!}}Source}}<!-- |
--><noinclude> | --><noinclude> | ||
|} | |} | ||
{{documentation|content= | {{documentation|content= | ||
Template:Bs in2 header (Basketball - in - header) | Template:Bs in2 header (Basketball - in - header) | ||
| + | |||
| + | == Usage == | ||
| + | <pre style="overflow:auto;"> | ||
| + | {{bs in2 header | ||
| + | | club = <!-- The name of the club that adds the colours --> | ||
| + | | no = n <!-- For hide the Number column --> | ||
| + | | pos = n <!-- For hide the Position column --> | ||
| + | | nat = n <!-- For hide the Nationality column --> | ||
| + | | age = n <!-- For hide the Age column --> | ||
| + | | fc = n <!-- For hide the 'Moving from' column --> | ||
| + | | type = n <!-- For hide the Type column --> | ||
| + | | contract = n <!-- For hide the Ends column --> | ||
| + | | fee = n <!-- For hide the 'Transfer fee' column --> | ||
| + | | date = n <!-- For hide the Date column --> | ||
| + | | ref = n <!-- For hide the Source column --> | ||
| + | }} | ||
| + | </pre> | ||
== See also == | == See also == | ||
Latest revision as of 13:25, 8 October 2019
| No. | Pos. | Nat. | Name | Age | Moving from | Type | Ends | Transfer fee | Date | Source | |
|---|---|---|---|---|---|---|---|---|---|---|---|
Template:Bs in2 header (Basketball - in - header)
Usage
{{bs in2 header
| club = <!-- The name of the club that adds the colours -->
| no = n <!-- For hide the Number column -->
| pos = n <!-- For hide the Position column -->
| nat = n <!-- For hide the Nationality column -->
| age = n <!-- For hide the Age column -->
| fc = n <!-- For hide the 'Moving from' column -->
| type = n <!-- For hide the Type column -->
| contract = n <!-- For hide the Ends column -->
| fee = n <!-- For hide the 'Transfer fee' column -->
| date = n <!-- For hide the Date column -->
| ref = n <!-- For hide the Source column -->
}}
See also
- {{bs in2 player}}
- {{bs out2 header}}
- {{bs out2 player}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |