The logo competition for the 2025 4chan Winter Cup is now taking submissions. | ||
The deadline is January 6th, 23:59 UTC. Logos will be placed in this gallery to facilitate discussion. This will be followed by a polling period to determine which logo will be used. Please send all submissions to Potatotron. You must supply a high-res PNG file (5000x5000 limit) and the original multi-layer source file. | ||
Cloverleaf logo: .png .svg |
|
Cloverball logo: .ai .png .svg |
Difference between revisions of "Template:Sq start"
m (Showed a hex example for colour) |
m (Adding a bit of documentation. You can actually use {{sq player}} to color every instance. Whether it's a starter, a gold, silver or a bronze medal without having to use a different template. Don't worry, visually, it changes nothing.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{| border="0" | {| border="0" | ||
|- | |- | ||
| | |valign="top" width="48%"| | ||
{| border="0" cellspacing="0" cellpadding="2" | {| border="0" cellspacing="0" cellpadding="2" | ||
|- style="color:{{{fg|black}}}; background:{{{bg|#F0F0F0}}};" | |- style="color:{{{fg|black}}}; background:{{{bg|#F0F0F0}}};" | ||
Line 16: | Line 16: | ||
<nowiki>{{sq start}}</nowiki> | <nowiki>{{sq start}}</nowiki> | ||
'''<nowiki>{{sq player|no=#SHIRT_NUMBER|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}</nowiki>''' | '''<nowiki>{{sq player|bg=STATUS|no=#SHIRT_NUMBER|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}</nowiki>''' | ||
'''<nowiki>{{sq player|no=#SHIRT_NUMBER|pos=#POS_OR_ROLE|name=#PLAYER_NAME|other=#OTHER_RELATED_INFO}}</nowiki>''' | '''<nowiki>{{sq player|bg=STATUS|no=#SHIRT_NUMBER|pos=#POS_OR_ROLE|name=#PLAYER_NAME|other=#OTHER_RELATED_INFO}}</nowiki>''' | ||
'''...''' | '''...''' | ||
<nowiki>{{sq mid}}</nowiki> | <nowiki>{{sq mid}}</nowiki> | ||
'''<nowiki>{{sq player|no=#SHIRT_NUMBER|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}</nowiki>''' | '''<nowiki>{{sq player|bg=STATUS|no=#SHIRT_NUMBER|pos=#POS_OR_ROLE|name=#PLAYER_NAME}}</nowiki>''' | ||
'''...''' | '''...''' | ||
<nowiki>{{sq end}}</nowiki> | <nowiki>{{sq end}}</nowiki> | ||
Line 71: | Line 71: | ||
* '''other''': This is an optional parameter. You can add any related info to this parameter, like specifying captain, vice-captain, whether the player is on loan, etc. It will show additional info in the brackets after the player name. You do not have to specify it if neither applies. | * '''other''': This is an optional parameter. You can add any related info to this parameter, like specifying captain, vice-captain, whether the player is on loan, etc. It will show additional info in the brackets after the player name. You do not have to specify it if neither applies. | ||
=== Special Players === | === Special Players (<nowiki>{{sq player}}</nowiki>)=== | ||
For gold, silver or bronze players, | For gold, silver or bronze players, within '''<nowiki>{{sq player}}</nowiki>''', '''bg=gold''', '''bg=silver''', '''bg=bronze''' can be used respectively to indicate whether the player is a medal or not. | ||
For players in the starting lineup that are ''not'' bronze, silver or gold, | For players in the starting lineup that are ''not'' bronze, silver or gold, set '''bg''' to '''bg=start''' in <nowiki>{{sq player}}</nowiki>. | ||
Entering: | Entering: | ||
Line 81: | Line 81: | ||
<nowiki>{{sq start}}</nowiki> | <nowiki>{{sq start}}</nowiki> | ||
<nowiki>{{sq player |no=1 |pos=GK |name=EVA-01 }}</nowiki> | <nowiki>{{sq player |no=1 |pos=GK |name=EVA-01 }}</nowiki> | ||
<nowiki>{{sq start | <nowiki>{{sq player |bg=start |no=2 |pos=DMF |name=Mazinger Z }}</nowiki> | ||
<nowiki>{{sq gold | <nowiki>{{sq player |bg=gold |no=3 |pos=RWF |name=Alteisen |other=Captain }}</nowiki> | ||
<nowiki>{{sq mid|bg=red|fg=#e2f1bb}}</nowiki> | <nowiki>{{sq mid|bg=red|fg=#e2f1bb}}</nowiki> | ||
<nowiki>{{sq bronze | <nowiki>{{sq player |bg=bronze |no=20 |pos=CMF |name=Strike Freedom }}</nowiki> | ||
<nowiki>{{sq silver | <nowiki>{{sq player |bg=silver |no=26 |pos=DMF |name=Megas XLR }}</nowiki> | ||
<nowiki>{{sq bronze | <nowiki>{{sq player |bg=bronze |no=31 |pos=RMF |name=Daizengar }}</nowiki> | ||
<nowiki>{{sq end}}</nowiki> | <nowiki>{{sq end}}</nowiki> | ||
<nowiki></nowiki> | <nowiki></nowiki> | ||
Line 93: | Line 93: | ||
{{sq start}} | {{sq start}} | ||
{{sq player |no=1 |pos=GK |name=EVA-01 }} | {{sq player |no=1 |pos=GK |name=EVA-01 }} | ||
{{sq start | {{sq player |bg=start |no=2 |pos=DMF |name=Mazinger Z }} | ||
{{sq gold | {{sq player |bg=gold |no=3 |pos=RWF |name=Alteisen |other=Captain }} | ||
{{sq mid|bg=red|fg=#e2f1bb}} | {{sq mid|bg=red|fg=#e2f1bb}} | ||
{{sq bronze | {{sq player |bg=bronze |no=20 |pos=CMF |name=Strike Freedom }} | ||
{{sq silver | {{sq player |bg=silver |no=26 |pos=DMF |name=Megas XLR }} | ||
{{sq bronze | {{sq player |bg=bronze |no=31 |pos=RMF |name=Daizengar }} | ||
{{sq end}} | {{sq end}} | ||
</noinclude> | </noinclude> |
Latest revision as of 01:59, 29 March 2019
|
Usage
This template is used to display a squad in a standard format. This is a small format for a team's main page, with the full roster to be shown on a separate page. This shows the 'bare bones' information, i.e. squad number, position and player name.
Most squads are split into two vertical columns. For these, you can use the {{sq start}}, {{sq mid}} and {{sq end}} templates to help with the layouting, and then use this template repeatedly within them:
{{sq start}} {{sq player|bg=STATUS|no=#SHIRT_NUMBER|pos=#POS_OR_ROLE|name=#PLAYER_NAME}} {{sq player|bg=STATUS|no=#SHIRT_NUMBER|pos=#POS_OR_ROLE|name=#PLAYER_NAME|other=#OTHER_RELATED_INFO}} ... {{sq mid}} {{sq player|bg=STATUS|no=#SHIRT_NUMBER|pos=#POS_OR_ROLE|name=#PLAYER_NAME}} ... {{sq end}}
Example
For example, the following code:
{{sq start}} {{sq player |no=1 |pos=GK |name=EVA-01 }} {{sq player |no=2 |pos=CB |name=Mazinger Z }} {{sq player |no=3 |pos=RWF |name=Alteisen |other=Captain }} {{sq mid}} {{sq player |no=20 |pos=CMF |name=Strike Freedom }} {{sq player |no=26 |pos=DMF |name=Megas XLR }} {{sq player |no=31 |pos=RMF |name=Daizengar }} {{sq end}}
Produces this table:
|
|
Parameters
- bg: For sq start and mid only, the background color of the headers, default is #EEE gray
- fg: For sq start and mid only, the text color of the headers, default is black
- no: The shirt number for the player, if they have one. If the player's number is not known, or unassigned, then you can use the
–
character instead. - pos: The position in which the player plays. You can use any of the options below:
- GK Goalkeeper;
- CB for Centre Back;
- RB for Right Back;
- LB for Left Back;
- SW for Sweeper;
- DMF for Defensive Midfielder;
- CMF for Centre Midfielder;
- RMF for Right Midfielder;
- LMF for Left Midfielder;
- AMF for Attacking Midfielder;
- RWF for Right-Wing Forward;
- LWF for Left-Wing Forward;
- SS for Second Striker;
- CF for Centre Forward.
- name: The player's name. Simple enough.
- other: This is an optional parameter. You can add any related info to this parameter, like specifying captain, vice-captain, whether the player is on loan, etc. It will show additional info in the brackets after the player name. You do not have to specify it if neither applies.
Special Players ({{sq player}})
For gold, silver or bronze players, within {{sq player}}, bg=gold, bg=silver, bg=bronze can be used respectively to indicate whether the player is a medal or not.
For players in the starting lineup that are not bronze, silver or gold, set bg to bg=start in {{sq player}}.
Entering:
{{sq start}} {{sq player |no=1 |pos=GK |name=EVA-01 }} {{sq player |bg=start |no=2 |pos=DMF |name=Mazinger Z }} {{sq player |bg=gold |no=3 |pos=RWF |name=Alteisen |other=Captain }} {{sq mid|bg=red|fg=#e2f1bb}} {{sq player |bg=bronze |no=20 |pos=CMF |name=Strike Freedom }} {{sq player |bg=silver |no=26 |pos=DMF |name=Megas XLR }} {{sq player |bg=bronze |no=31 |pos=RMF |name=Daizengar }} {{sq end}}
Produces:
|
|