User:Phanto1999/Templates/DFBTeam/doc
This is a documentation subpage for User:Phanto1999/Templates/DFBTeam. It may contain usage information, categories and other content that is not part of the original user template page. |
Blank Template Code
[edit]The code below contains the most important parameters for the template. Elements in ALL CAPS and cursive should be replaced with the corresponding values.
{{User:Phanto1999/Templates/DFBTeam|DE-XX|TEAM|LEAGUE|EASTLEAGUE|CUP|EASTCUP|sort=CITYNAME|c=LEAGUE|mvmt=MOVEMENT}}
Examples
[edit]± | Team | League | Code | |
---|---|---|---|---|
0 | FC Bayern Munich (L) (C) ×26 / ×18 | 1st | {{User:…DFBTeam|DE-BY|FCB|26|0|18|0|L|C|c=1|mvmt=0}}
| |
0 | Borussia Dortmund / | 1st | {{User:…DFBTeam|DE-NW|BVB|8|0|3|0|c=1|mvmt=0}}
| |
1 | Bayer 04 Leverkusen | 1st | {{User:…DFBTeam|DE-NW|B04|0|0|1|0|c=1|mvmt=1}}
| |
1 | Borussia Mönchengladbach / | 1st | {{User:…DFBTeam|DE-NW|BMG|5|0|3|0|c=1|mvmt=-1}}
| |
1 | FC Augsburg | 1st | {{User:…DFBTeam|DE-BY|FCA|0|0|0|0|c=1|mvmt=1|share=yes}}
| |
3 | SC Freiburg | 1st | {{User:…DFBTeam|DE-BW|SCF|0|0|0|0|c=1|mvmt=3|share=yes}}
| |
1 | Hertha BSC | 1st | {{User:…DFBTeam|DE-BE|BSC|2|0|0|0|c=1|mvmt=1}}
| |
0 | Hamburger SV ()[nb HSV] / | 1st | {{User:…DFBTeam|DE-HH|HSV|6|0|3|0|c=1|mvmt=0|note=hsv}} [a]
| |
3 | FC Erzgebirge Aue / [nb AUE] | 2nd | {{User:…DFBTeam|DE-SN|AUE|0|3|0|1|sort=Aue|note=yes|c=2|mvmt=-3}}
| |
3 | FC Rot-Weiß Erfurt | 3rd | {{User:…DFBTeam|DE-TH|ERF|0|2|0|0|sort=Erfurt|c=3|mvmt=3}}
| |
TSV Havelse | 3rd | {{User:…DFBTeam|DE-NI|HAV|0|0|0|0|sort=Havelse|mvmt=new|c=3}}
| ||
4 | Hallescher FC | 3rd | {{User:…DFBTeam|DE-ST|HFC|0|0|0|2|c=3|mvmt=4}}
| |
5 | 1. FC Saarbrücken | 4th SW | {{User:…DFBTeam|DE-SL|SAA|0|0|0|0|sort=Saarbrücken|c=4SW|mvmt=-5}}
| |
Dresdner SC / / | 7th Saxony E | ||{{User:…DFBTeam|DE-SN|DRE|2|0|2|1|c=7SNE}}
| ||
SK Rapid Wien / [nb RAP] | 1st (AUT) | ||{{User:…DFBTeam|AUT|RAP|1|0|1|0|sort=Vienna Rapid|note=yes|c=1A}}
|
Point deductions:
Other notes:
- ^ FC Erzgebirge Aue (AUE): as Wismut Karl-Marx-Stadt
- ^ Hamburger SV (HSV): Team declined the title in 1922; therefore, it is displayed in brackets
- ^ SK Rapid Wien (RAP): titles won during the annexation of Austria
Template note:
- ^ star in brackets is added if team name is
Hamburger SV
orHSV
; can be removed by setting|hsv=no
TemplateData
[edit]TemplateData for DFBTeam
Generates team names and won titles for the European Football Ranking.
Parameter | Description | Type | Status | |
---|---|---|---|---|
State | 1 | State or state code for the team; displays linked flag icon. For German ISO 3166-2 codes, the DE- prefix can be left out.
| String | required |
Team | 2 | Full team name or code as given in TeamList template; will be automatically wikilinked.
| String | required |
Championships | 3 | No. of championships.
| Number | required |
East German championships | 4 | No. of (now defunct) East German championships.
| Number | required |
Cups | 5 | No. of cups.
| Number | required |
East German cups | 6 | No. of (now defunct) East German cups.
| Number | required |
Title holders | 7 | Signifies titles holders; enter L for league championship, C for cup.
| String | optional |
2nd title holders | 8 | Same as title holders; use if one team wins both titles.
| String | optional |
Flag variant | variant | Changes the flag variant for the flag icon; defaults to football-specific flag if one exists, regular flag else.
| String | optional |
Display text | display | Displays the team code if set to code, the team's short name as used in league tables if set to short, and the entered string otherwise.
| String | optional |
Link team name | link | Set to no or a variant thereof to unlink the team name.
| Boolean | optional |
Sort value | sort | Name by which the team is sorted; enter city name.
| String | optional |
Shared | share | Set to yes or a variant thereof for teams sharing a spot; use with multiple adjacent teams only.
| Boolean | optional |
Note | note | Adds a footnote to the team.
| Boolean | optional |
Competition | c | League in the current season.
| String | optional |
Competition sort | csort | Sort value for custom league entries.
| Number | optional |
Movement | mvmt | Position change; can be a number or 'new'.
| String | optional |
Display extra HSV title | hsv | Set to no or a variant thereof to hide the additional Hamburger SV title in brackets.
| Boolean | optional |