User:PHansen/Fteam
<includeonly>{{#invoke:Sandbox/PHansen/Fteam|main|{{{1|}}}|{{{2|}}}|{{{3|}}} }}</includeonly> <includeonly>{{#invoke:Sandbox/PHansen/Fteam|main|1={{{1|}}}|2={{{2|}}}|3={{{3|}}} }}</includeonly> <includeonly>{{#invoke:Sandbox/PHansen/Fteam|main|country={{{1|}}}|sex={{{2|}}}|age={{{3|}}} }}</includeonly> NEG
- Feb-2015
- en:Module:Sandbox/PHansen/Fteam --- User:PHansen/Fteam ---
- 'Fteam' : F for Football (soccer) --- team: national teams for adults and youths (21, 19, 17) - men and women
- Intention : to replace separate templates with one 'Fm/k/u' via Lua-module - short form : 'Fmku' (men/women/youth)
Examples
[edit]- m: men - k: women - U: Youth
Some possible errors
[edit]- No parameters
{{User:PHansen/Fteam}} The format is {{Fteam|country|sex|age}} - `country` must be first parameter
- No country
{{User:PHansen/Fteam||m}} The format is {{Fteam|country|sex|age}} - `country` must be first parameter
{{User:PHansen/Fteam|||21}} The format is {{Fteam|country|sex|age}} - `country` must be first parameter
- Wrong order
{{User:PHansen/Fteam|21|Danmark|m}}
{{User:PHansen/Fteam|m|21|Danmark}}
The format is {{Fteam|country|sex|age}} - `country` must be first parameter
- Prefix
{{User:PHansen/Fteam|country=Danmark|sex=m}} The format is {{Fteam|country|sex|age}} - `country` must be first parameter
- Too many parameters is no problem
{{User:PHansen/Fteam|Danmark|m|21|Lorem}} Danmark U/21
Adult
[edit]- Men
{{User:PHansen/Fteam|Danmark}}
{{User:PHansen/Fteam|Danmark|m}}
Danmark
{{User:PHansen/Fteam|1=Danmark|2=m}} Danmark
- Women
{{User:PHansen/Fteam|Danmark|k}} Danmark
{{User:PHansen/Fteam|1=Danmark|2=k}} Danmark
Youth
[edit]- Men
{{User:PHansen/Fteam|Danmark|m|21}} Danmark U/21
{{User:PHansen/Fteam|1=Danmark|2=m|3=21}} Danmark U/21
- Women
{{User:PHansen/Fteam|Danmark|k|21}} Danmark U/21
{{User:PHansen/Fteam|1=Danmark|2=k|3=21}} Danmark U/21