Difference between revisions of "Template:Fb gd"

From blackwiki
Jump to navigation Jump to search
imported>ClaudioMB
(Created page with '<!-- Template:Fb gd (Football - goal difference) Parameters gf : goal for ga : goal against -->{{#if:{{{gf}}}>{{{ga}}}|+|{{Unicode| }}}}{{#expr:{{{gf}}}-{{{ga}}...')
 
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)))
 
(25 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<!--  
+
<!-- Football goal difference
 
+
{{{1}}} : goal for
Template:Fb gd (Football - goal difference)
+
{{{2}}} : goal against
 
+
Parameters
+
-->&nbsp;{{#ifexpr:{{{1|0}}}>{{{2|0}}}|+{{#expr:{{{1|0}}}-{{{2|0}}}}}|{{#ifexpr:{{{1|0}}}<{{{2|0}}}|−{{#expr:{{{2}}}-{{{1}}}}}|0}}}}<!--
gf : goal for
+
--><noinclude>
ga : goal against
+
{{documentation}}
 
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
-->{{#if:{{{gf}}}>{{{ga}}}|+|{{Unicode| }}}}{{#expr:{{{gf}}}-{{{ga}}}}}<!--
+
</noinclude>
--><noinclude>[[Category:Fb_templates]]</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:თარგი:ფბ სხვაობა