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"

From Rigged Wiki
Jump to navigation Jump to search
m (1 revision)
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.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| border="0"  
{| border="0"  
|-
|-
|bgcolor="#FFFFFF" valign="top" width="48%"|
|valign="top" width="48%"|
{| border="0" cellspacing="0" cellpadding="2"
{| border="0" cellspacing="0" cellpadding="2"
|- bgcolor=#EEEEEE
|- style="color:{{{fg|black}}}; background:{{{bg|#F0F0F0}}};"
!width=1%|No.
!width=1%|No.
!width=1%|Position
!width=1%|Position
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 50: Line 50:


=== Parameters ===
=== 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 <code>&ndash;</code> character instead.
* '''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 <code>&ndash;</code> character instead.
* '''pos''': The position in which the player plays. You can use any of the options below:
* '''pos''': The position in which the player plays. You can use any of the options below:
Line 69: 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, the tags <nowiki>{{sq gold player}}</nowiki>, <nowiki>{{sq silver player}}</nowiki> and <nowiki>{{sq bronze player}}</nowiki> can be used respectively.
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, use the tag <nowiki>{{sq start player}}</nowiki>.
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 79: 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 player |no=2  |pos=DMF |name=Mazinger Z }}</nowiki>
  <nowiki>{{sq player |bg=start |no=2  |pos=DMF |name=Mazinger Z }}</nowiki>
  <nowiki>{{sq gold player |no=3  |pos=RWF |name=Alteisen |other=Captain  }}</nowiki>
  <nowiki>{{sq player |bg=gold |no=3  |pos=RWF |name=Alteisen |other=Captain  }}</nowiki>
  <nowiki>{{sq mid}}</nowiki>
  <nowiki>{{sq mid|bg=red|fg=#e2f1bb}}</nowiki>
  <nowiki>{{sq bronze player |no=20 |pos=CMF |name=Strike Freedom }}</nowiki>
  <nowiki>{{sq player |bg=bronze |no=20 |pos=CMF |name=Strike Freedom }}</nowiki>
  <nowiki>{{sq silver player |no=26 |pos=DMF |name=Megas XLR }}</nowiki>
  <nowiki>{{sq player |bg=silver |no=26 |pos=DMF |name=Megas XLR }}</nowiki>
  <nowiki>{{sq bronze player |no=31 |pos=RMF |name=Daizengar }}</nowiki>
  <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 91: 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 player |no=2  |pos=DMF |name=Mazinger Z }}
  {{sq player |bg=start |no=2  |pos=DMF |name=Mazinger Z }}
  {{sq gold player |no=3  |pos=RWF |name=Alteisen |other=Captain  }}
  {{sq player |bg=gold |no=3  |pos=RWF |name=Alteisen |other=Captain  }}
  {{sq mid}}
  {{sq mid|bg=red|fg=#e2f1bb}}
  {{sq bronze player |no=20 |pos=CMF |name=Strike Freedom }}
  {{sq player |bg=bronze |no=20 |pos=CMF |name=Strike Freedom }}
  {{sq silver player |no=26 |pos=DMF |name=Megas XLR }}
  {{sq player |bg=silver |no=26 |pos=DMF |name=Megas XLR }}
  {{sq bronze player |no=31 |pos=RMF |name=Daizengar }}
  {{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

No. Position Player

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:

No. Position Player
1
  GK
EVA-01
2
  CB
Mazinger Z
3
  RWF
Alteisen (Captain)
No. Position Player
20
  CMF
Strike Freedom
26
  DMF
Megas XLR
31
  RMF
Daizengar

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:
    1. GK Goalkeeper;
    2. CB for Centre Back;
    3. RB for Right Back;
    4. LB for Left Back;
    5. SW for Sweeper;
    6. DMF for Defensive Midfielder;
    7. CMF for Centre Midfielder;
    8. RMF for Right Midfielder;
    9. LMF for Left Midfielder;
    10. AMF for Attacking Midfielder;
    11. RWF for Right-Wing Forward;
    12. LWF for Left-Wing Forward;
    13. SS for Second Striker;
    14. 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:

No. Position Player
1
  GK
EVA-01
2
  DMF
Mazinger Z
3
  RWF
Alteisen (Captain)
No. Position Player
20
  CMF
Strike Freedom
26
  DMF
Megas XLR
31
  RMF
Daizengar