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)
(Screen potential parser function errors due to missing parameters)
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}}}}<!--
+
-->{{Unicode| }}{{#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>

Revision as of 20:11, 10 September 2010

Template:Unicode0

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:თარგი:ფბ სხვაობა