Difference between revisions of "Template:Fb gd"

From blackwiki
Jump to navigation Jump to search
imported>WiJG?
(It has to be proper minus sign, not hyphen-minus and a zero without plus or minus)
imported>Primefac
m (Changed protection level for "Template:Fb gd": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<!--  
+
<!-- Football goal difference
 
 
Template:Fb gd (Football - goal difference)
 
 
 
Parameters
 
 
{{{1}}} : goal for
 
{{{1}}} : goal for
 
{{{2}}} : goal against
 
{{{2}}} : goal against
 
+
-->{{Unicode| }}{{#ifexpr:{{{1}}}>{{{2}}}|+{{#expr:{{{1}}}-{{{2}}}}}|{{#ifexpr:{{{1}}}<{{{2}}}|−{{#expr:{{{2}}}-{{{1}}}}}|0}}}}<!--
+
-->&nbsp;{{#ifexpr:{{{1|0}}}>{{{2|0}}}|+{{#expr:{{{1|0}}}-{{{2|0}}}}}|{{#ifexpr:{{{1|0}}}<{{{2|0}}}|−{{#expr:{{{2}}}-{{{1}}}}}|0}}}}<!--
 
 
 
--><noinclude>
 
--><noinclude>
{{template doc}}
+
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 17:02, 23 February 2018

 0

Template documentation[view] [edit] [history] [purge]

This template is used to display goal differences, given the number of goals for and goals against. The template is used as such:

{{fb gd|number of goals for|number of goals against}}

fr:Modèle:Fb diff ka:თარგი:ფბ სხვაობა