Difference between revisions of "Template:Fb cm match/doc"

From blackwiki
Jump to navigation Jump to search
imported>AnomieBOT
imported>Frietjes
Line 5: Line 5:
 
<br />
 
<br />
 
Parameters:<br />
 
Parameters:<br />
t  : team that the table is about<br />
 
 
tc  : country of the team t<br />
 
tc  : country of the team t<br />
s  : season that the table is about (style: 20xx-xx)<br />
 
 
m  : match sequence number<br />
 
m  : match sequence number<br />
 
d  : match's date<br />
 
d  : match's date<br />
: match's competition<br />
+
cn  : match's competition<br />
r  : competition's round (use when a link to the round is wanted)<br />
+
rn  : competition's round (linked if appropriate)<br />
rn  : competition's round (use when there is no link)<br />
+
ground : ground (H=home|A=away|N=neutral) with link<br />
: ground (H=home|A=away|N=neutral)<br />
 
a_flag: Away place flag, use if g==A, the match is on other country than the tc team and ol is being used
 
 
ol  : opponent team wikilink<br />
 
ol  : opponent team wikilink<br />
o  : opponent team<br />
 
 
gf  : goals for<br />
 
gf  : goals for<br />
 
ga  : goals against<br />
 
ga  : goals against<br />
Line 28: Line 23:
 
motm : team's man of the match<br />
 
motm : team's man of the match<br />
 
f1..f10 : fact 1 to 10<br />
 
f1..f10 : fact 1 to 10<br />
<br />
+
 
If TEAM shows as an unknown template, please create the template copying from this:<br />
+
== Tracking category ==
<code><nowiki>{{fb team |t=EnterHereTheNameToBeShown |tan=EnterHereTheTeamArticlesTitle |tc=EnterHereThe3LettersCountryDefinedIn_List_of_FIFA_country_codes_Article |oc={{#if:{{{oc|}}}|{{{oc}}} }} }}<!--</nowiki></code><br />
+
* {{clc|Pages using fb cm match with deprecated parameters}}
<code><nowiki>--><noinclude>[[Category:Fb_team_templates]]</noinclude></nowiki></code><br />
 
If GROUND is away (A):<br />
 
If shows an unknown template, please create the template copying from this:<br />
 
<code><nowiki>{{fb team ground |s=EnterHereTheGroundArticlesTitle |sc=EnterHereThe3LettersCountryDefinedIn_ISO_3166-1_alpha-3_Article |g={{{g}}} |tc={{{tc}}} }}</nowiki></code><br />
 
<code><<nowiki>noinclude>[[Category:Fb_team_ground_templates]]</noinclude</nowiki>></code><br />
 
<br />
 
If GROUND is neutral (N):<br />
 
If shows {{fb ground {{{gn}}}}}, please add the gn= parameter with the name of the ground or empty<br />
 
If shows an unknown template, please create the template copying from this:<br />
 
<code><nowiki>{{fb ground |s=EnterHereTheGroundArticlesTitle |sc=EnterHereThe3LettersCountryDefinedIn_ISO_3166-1_alpha-3_Article |g={{{g}}} |tc={{{tc}}} }}</nowiki></code><br />
 
<code><nowiki><noinclude>[[Category:Fb_ground_templates]]</noinclude></nowiki></code><br />
 
<br />
 
If COMPETITION shows as an unknown template, create the template copying from this:<br />
 
<code><nowiki>[[EnterHereCompetitionsArticleTitle|EnterHereCompetitionNameToBeShown]]</nowiki></code><br />
 
<code><nowiki><noinclude>[[Category:Fb_competition_templates]]</noinclude></nowiki></code><br />
 
<br />
 
If ROUND shows as an unknown template, create the template copying from this:<br />
 
<code><nowiki>[[EnterHereRoundArticleTitle|{{#if:{{{fp|}}}|{{{fp}}}|EnterHereRoundNameToBeShown}}]]</nowiki></code>
 
<code><<nowiki>noinclude>[[Category:Fb_round_templates]]</noinclude</nowiki>></code>
 
  
 
<!-- END OF TEMPLATE DOCUMENTATION -->
 
<!-- END OF TEMPLATE DOCUMENTATION -->
 
<includeonly>
 
<includeonly>
 
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Fb_templates|{{PAGENAME}}]]
+
[[Category:Fb_templates]]
 
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
  
 
</includeonly>
 
</includeonly>

Revision as of 00:39, 2 May 2018

Template:fb cm match (Football - competitive match - match)

Parameters:
tc : country of the team t
m : match sequence number
d : match's date
cn : match's competition
rn : competition's round (linked if appropriate)
ground : ground (H=home|A=away|N=neutral) with link
ol : opponent team wikilink
gf : goals for
ga : goals against
pen : penalty shoot-out score (if match decided this way)
sc : scorers (use when enabled in Template:Fb cm header; when using, if there is no scorers leave empty "sc=")
gn : ground name (if g=N)
ml : match link (if exist)
ko : kick-off time
att : attendance
ref : referee
motm : team's man of the match
f1..f10 : fact 1 to 10

Tracking category