Difference between revisions of "Template:International goals header"

From blackwiki
Jump to navigation Jump to search
imported>Skyblueshaun
imported>6ii9
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="wikitable collapsible" style="font-size:85%;"
+
{| class="wikitable {{#ifeq:{{{sort|}}}|no|plainrowheaders|plainrowheaders sortable}}"
|-
+
|+{{#if:{{{above|}}}|{{{above}}}|}}
!colspan=7|International goals
+
!scope=col|Goal
|-
+
!scope=col|Date
! Goal !! Date !! Venue !! Opponent !! Score !! Result !! Competition !! Ref.<noinclude>
+
!scope=col|Venue
[[Category:Association football templates]]
+
!scope=col|Opponent
</noinclude>
+
!scope=col|Score
 +
!scope=col|Result
 +
!scope=col|Competition{{#ifeq:{{{ref|}}}|no||!! scope{{=}}col class{{=}}unsortable{{!}}{{Abbr|Ref|Reference}}}}<noinclude>
 +
|}
 +
{{Documentation}}</noinclude>

Latest revision as of 10:01, 14 September 2019

Goal Date Venue Opponent Score Result Competition Ref

Usage

The purpose of the {{International goals header}} template is to easily add the header row to tables for international goals scored by an association football player.


The headers are automatically made sortable (apart from Ref). To make them not sortable use the following:

{{International goals header|sort=no}}


The Ref header can be removed using the following:

{{International goals header|ref=no}}


Text can be added above the table using the following:

{{International goals header|above=List of international goals scored by a player}}

Which produces:

List of international goals scored by a player
Goal Date Venue Opponent Score Result Competition Ref