Difference between revisions of "Template:Handball All-Star team"

From blackwiki
Jump to navigation Jump to search
imported>Malo95
(Create template)
 
imported>Malo95
Line 1: Line 1:
{| style="text-align:center; width:{{{width|800px}}};"  
+
<includeonly>{| style="text-align:center; width:{{{width|800px}}};"  
 
|-
 
|-
 
|colspan="2"| ||'''Pivot'''
 
|colspan="2"| ||'''Pivot'''
 
|-
 
|-
 
|colspan="2"| ||{{{p-name|}}}
 
|colspan="2"| ||{{{p-name|}}}
|-
+
{{#if: {{{p-team|}}}|
|colspan="2"| ||{{{p-team|}}}
+
{{!}}-
|-
+
{{!}}colspan="2"{{!}} {{!}}{{!}}{{{p-team|}}}
|colspan="2"| ||{{{p-award|}}}
+
}}
|-
+
{{#if: {{{p-award|}}}|
|colspan="2"| ||{{{p-misc|}}}
+
{{!}}-
 +
{{!}}colspan="2"{{!}} {{!}}{{!}}{{{p-award|}}}
 +
}}
 +
{{#if: {{{p-misc|}}}|
 +
{{!}}-
 +
{{!}}colspan="2"{{!}} {{!}}{{!}}{{{p-misc|}}}
 +
}}
 
|-
 
|-
 
|colspan="5"| &emsp;
 
|colspan="5"| &emsp;
Line 18: Line 24:
 
|-
 
|-
 
| ||{{{lb-name|}}}||{{{cb-team|}}}||{{{rb-name|}}}
 
| ||{{{lb-name|}}}||{{{cb-team|}}}||{{{rb-name|}}}
|-
+
{{#if: {{{lb-team|}}}{{{cb-award|}}}{{{rb-team|}}}|
| ||{{{lb-team|}}}||{{{cb-award|}}}||{{{rb-team|}}}
+
{{!}}-
|-
+
{{!}} {{!}}{{!}}{{{lb-team|}}}{{!}}{{!}}{{{cb-award|}}}{{!}}{{!}}{{{rb-team|}}}
| ||{{{lb-award|}}}||{{{cb-misc|}}}||{{{rb-award|}}}
+
}}
|-
+
{{#if: {{{lb-award|}}}{{{cb-misc|}}}{{{rb-award|}}}|
| ||{{{lb-misc|}}}|| ||{{{rb-misc|}}}
+
{{!}}-
 +
{{!}} {{!}}{{{lb-award|}}}{{!}}{{{cb-misc|}}}{{!}}{{{rb-award|}}}
 +
}}
 +
{{#if: {{{lb-misc|}}}{{{rb-misc|}}}|
 +
{{!}}-
 +
{{!}} {{!}}{{!}}{{{lb-misc|}}}{{!}}{{!}} {{!}}{{{rb-misc|}}}
 +
}}
 
|-
 
|-
 
|colspan="5"| &emsp;
 
|colspan="5"| &emsp;
Line 30: Line 42:
 
|-
 
|-
 
|{{{lw-name|}}}|| ||{{{gk-name|}}}|| ||{{{rw-name|}}}
 
|{{{lw-name|}}}|| ||{{{gk-name|}}}|| ||{{{rw-name|}}}
|-
+
{{#if: {{{lw-team|}}}{{{gk-team|}}}{{{rw-team|}}}|
|{{{lw-team|}}}|| ||{{{gk-team|}}}|| ||{{{rw-team|}}}
+
{{!}}-
|-
+
{{!}}{{{lw-team|}}}{{!}}{{!}} {{!}}{{!}}{{{gk-team|}}}{{!}}{{!}} {{!}}{{!}}{{{rw-team|}}}
|{{{lw-award|}}}|| ||{{{gk-award|}}}|| ||{{{rw-award|}}}
+
}}
|-
+
{{#if: {{{lw-award|}}}{{{gk-award|}}}{{{rw-award|}}}|
|{{{lw-misc|}}}|| ||{{{gk-misc|}}}|| ||{{{rw-misc|}}}
+
{{!}}-
|}
+
{{!}}{{{lw-award|}}}{{!}}{{!}} {{!}}{{!}}{{{gk-award|}}}{{!}}{{!}} {{!}}{{!}}{{{rw-award|}}}
 +
}}
 +
{{#if: {{{lw-misc|}}}{{{gk-misc|}}}{{{rw-misc|}}}|
 +
{{!}}-
 +
{{!}}{{{lw-misc|}}}{{!}}{{!}} {{!}}{{!}}{{{gk-misc|}}}{{!}}{{!}} {{!}}{{!}}{{{rw-misc|}}}
 +
}}
 +
|}</includeonly><noinclude>
 +
{{documentation}}
 +
</noinclude>

Revision as of 13:42, 4 February 2018

Template documentation[view] [edit] [history] [purge]

Usage

Template:Parameter names example

{{Handball All-Star team
|width   = 
|p-name  = 
|p-team  = 
|p-award = 
|p-misc  = 
|gk-name = 
|gk-team = 
|gk-award= 
|gk-misc = 
|lw-name = 
|lw-team = 
|lw-award= 
|lw-misc = 
|rw-name = 
|rw-team = 
|rw-award= 
|rw-misc = 
|lb-name = 
|lb-team = 
|lb-award= 
|lb-misc = 
|rb-name = 
|rb-team = 
|rb-award= 
|rb-misc = 
|cb-name = 
|cb-team = 
|cb-award= 
|cb-misc = 
}}

Create a All-Star team

Template parameters

ParameterDescriptionTypeStatus
Widthwidth

width of the box

Default
800px
Stringoptional
P-namep-name

Name of the Pivot

Stringsuggested
P-teamp-team

Team from the Piort

Stringoptional
P-awardp-award

Award from the Pivot

Stringoptional
P-miscp-misc

miscellaneous to the Pivot

Stringoptional
Gk-namegk-name

Name of the Goalkeeper

Stringsuggested
Gk-teamgk-team

Team from the Goalkeeper

Stringoptional
Gk-awardgk-award

Award from the Goalkeeper

Stringoptional
Gk-miscgk-misc

miscellaneous to the Goalkeeper

Stringoptional
Lw-namelw-name

Name of the Left wing

Stringsuggested
Lw-teamlw-team

Team from the Right wing

Stringoptional
Lw-awardlw-award

Award from the Left wing

Stringoptional
Lw-misclw-misc

miscellaneous to the Left wing

Stringoptional
Rw-namerw-name

Name of the Right wing

Stringsuggested
Rw-teamrw-team

Team from the Right wing

Stringoptional
Rw-awardrw-award

Award from the Right wing

Stringoptional
Rw-miscrw-misc

miscellaneous to the Right wing

Stringoptional
Lb-namelb-name

Name of the Left back

Stringsuggested
Lb-teamlb-team

Team from the Left back

Stringoptional
Lb-awardlb-award

Award from the Left back

Stringoptional
Lb-misclb-misc

miscellaneous to the Left back

Stringoptional
Rb-namerb-name

Name of the Right back

Stringsuggested
Rb-teamrb-team

Team from the Right back

Stringoptional
Rb-awardrb-award

Award from the Right back

Stringoptional
Rb-miscrb-misc

miscellaneous to the Right back

Stringoptional
Cb-namecb-name

Name of the Center back

Stringsuggested
Cb-teamcb-team

Team from the Center back

Stringoptional
Cb-awardcb-award

Award from the Center back

Stringoptional
Cb-misccb-misc

miscellaneous to the Center back

Stringoptional